File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
kotlin/com/github/patou/gitmoji Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ dependencies {
5454
5555// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
5656intellijPlatform {
57+ instrumentCode = false
58+
5759 pluginConfiguration {
5860 name = providers.gradleProperty(" pluginName" )
5961 version = providers.gradleProperty(" pluginVersion" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ platformVersion = 2024.2.5
2020# Note: Bundled plugins are now defined separately from plugins of other sources (like JetBrains Marketplace).
2121# Example: platformBundledPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
2222platformPlugins =
23- platformBundledPlugins =
23+ platformBundledPlugins = Git4Idea
2424
2525# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
2626javaVersion = 21
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.intellij.ide.util.PropertiesComponent
55import com.intellij.openapi.actionSystem.ActionUpdateThread
66import com.intellij.openapi.actionSystem.AnAction
77import com.intellij.openapi.actionSystem.AnActionEvent
8+ import com.intellij.openapi.actionSystem.PlatformCoreDataKeys
89import com.intellij.openapi.actionSystem.PlatformDataKeys
910import com.intellij.openapi.application.ApplicationManager.getApplication
1011import com.intellij.openapi.command.CommandProcessor
@@ -132,14 +133,6 @@ class GitCommitAction : AnAction() {
132133 .setNamerForFiltering { " ${it.code} ${it.localeDescription} ${it.description} " }
133134 .setAutoPackHeightOnFiltering(false )
134135 .createPopup()
135- .apply {
136- setUiDataProvider { sink ->
137- sink[COPY_PROVIDER ] = object : TextCopyProvider () {
138- override fun getActionUpdateThread (): ActionUpdateThread = ActionUpdateThread .EDT
139- override fun getTextLinesToCopy () = listOfNotNull(selectedMessage).nullize()
140- }
141- }
142- }
143136 }
144137
145138 private fun preview (
Original file line number Diff line number Diff line change 3434
3535 <depends >com.intellij.modules.lang</depends >
3636 <depends >com.intellij.modules.platform</depends >
37+ <depends >com.intellij.modules.vcs</depends >
38+ <depends >Git4Idea</depends >
3739
3840 <resource-bundle >messages.GitmojiBundle</resource-bundle >
3941
You can’t perform that action at this time.
0 commit comments