Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion extensions/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ kotlin { jvmToolchain(17) }
// https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
pluginName = properties("pluginName")
version = properties("platformVersion")
// version = properties("platformVersion")
version = "2023.2"
type = properties("platformType")

// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file.
Expand Down
5 changes: 3 additions & 2 deletions extensions/intellij/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ pluginRepositoryUrl=https://github.com/continuedev/continue
# SemVer format -> https://semver.org
pluginVersion=1.0.14
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=223
pluginSinceBuild=232
pluginUntilBuild=243.*
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType=IC
platformVersion=2022.3.3
platformVersion=2023.2
#org.gradle.java.home=/opt/homebrew/opt/openjdk@17
#platformVersion = LATEST-EAP-SNAPSHOT
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import com.intellij.openapi.vfs.newvfs.events.VFileDeleteEvent
import com.intellij.openapi.vfs.newvfs.events.VFileContentChangeEvent
import com.intellij.openapi.vfs.newvfs.events.VFileCreateEvent
import com.intellij.ide.ui.LafManagerListener
import com.intellij.openapi.startup.ProjectActivity
import com.intellij.openapi.vfs.VirtualFile

fun showTutorial(project: Project) {
Expand Down Expand Up @@ -83,15 +84,7 @@ private fun getTutorialFileName(): String {
}
}

class ContinuePluginStartupActivity : StartupActivity, DumbAware {

override fun runActivity(project: Project) {
removeShortcutFromAction(getPlatformSpecificKeyStroke("J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("shift J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("I"))
initializePlugin(project)
}

class ContinuePluginStartupActivity : ProjectActivity, DumbAware {
private fun getPlatformSpecificKeyStroke(key: String): String {
val osName = System.getProperty("os.name").toLowerCase()
val modifier = if (osName.contains("mac")) "meta" else "control"
Expand Down Expand Up @@ -280,4 +273,11 @@ class ContinuePluginStartupActivity : StartupActivity, DumbAware {
continuePluginService.coreMessengerManager = coreMessengerManager
}
}

override suspend fun execute(project: Project) {
removeShortcutFromAction(getPlatformSpecificKeyStroke("J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("shift J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("I"))
initializePlugin(project)
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading