Skip to content

Commit

Permalink
ideaplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Jan 25, 2025
1 parent 18fba74 commit 8dfa84a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions idea-plugin/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import org.jetbrains.sbtidea.Keys._


ThisBuild / intellijPluginName := "Chester Language Support"
ThisBuild / intellijBuild := "243.23654.117"
ThisBuild / intellijPlatform := IntelliJPlatform.IdeaCommunity

addCommandAlias("format", "scalafmtAll ; scalafmtSbt ; scalafixAll")
addCommandAlias("fmt", "scalafmtAll ; scalafmtSbt")
inThisBuild(
Expand All @@ -16,11 +21,8 @@ lazy val chesterPlugin =
name := "ChesterLanguageSupport",
version := "0.0.27",
scalaVersion := "3.7.0-RC1-bin-20250120-db23c08-NIGHTLY",
ThisBuild / intellijPluginName := "Chester Language Support",
ThisBuild / intellijBuild := "243.23654.117",
ThisBuild / intellijPlatform := IntelliJPlatform.IdeaCommunity,
Global / intellijAttachSources := true,
Compile / javacOptions ++= Seq("--release", "17"),
Compile / scalacOptions ++= Seq("--release", "17"),
intellijPlugins ++= Seq(
"com.intellij.properties".toPlugin,
"com.redhat.devtools.lsp4ij".toPlugin
Expand Down
2 changes: 1 addition & 1 deletion idea-plugin/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.26.2")
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "4.1.0")

// cli tools
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
Expand Down

0 comments on commit 8dfa84a

Please sign in to comment.