Plugin IDs can be either searched by plugin name with the help of searchPluginId On the Scala plugin will automatically attach Java and other plugin dependencies)
Inter-plugin dependencies are also transitively resolved(e.g. Some specific version is given explicitly.
Plugins will be checked for compatibility against the intellijBuild you specified and updated to the latest version unless
Plugins from repo can be specified by the plugin's id, optional version and update channel. Bundled(internal) plugins are specified by their plugin ID. Note: minimum supported major IDEA version: 211.x (~ 2021.1.x) intellijPlatform in ThisBuild :: SettingKeyĮdition of IntelliJ IDE to use in project. Incomplete, so it is strongly recommended to verify it against You can find build number of your IntelliJ product in Help -> About dialog. Binaries and sources of this build will be downloaded from theĬompilation and testing. Please see name troubleshootingįor more info. IntelliJ Platform directories and artifact names depend on it. Better set this beforehand since several other settings such as SBT Related Settings and Tasks IntelliJ Platform and Plugin intellijPluginName in ThisBuild :: SettingKey Run SBT and the plugin will automatically download and attach IntelliJ Platform dependencies.
Manual Installation (adding to an already existing sbt build)įrom version 1.0.0, this plugin is published for sbt 0.13 and 1.0ĪddSbtPlugin( "org.jetbrains " % "sbt-idea-plugin " % "LATEST_VERSION ")Įnable the plugin for your desired projects (your main plugin project and all its dependencies) Create your own repo on GitHub from the JetBrains / sbt-idea-example template by clicking the green Use this template button.Ĭlone the sources and open the build.sbt via File | Open menu in IDEA by choosing Open as a project. To quickly create a Scala based IJ Plugin we provide a template project. Please see the Known Issues section if you come across a problem, and feel freeįile a bug on the Issues page of this repo if you find one. "org.jetbrains" % "sbt-declarative-packaging" % "LATEST_VERSION" "org.jetbrains" % "sbt-declarative-visualizer" % "LATEST_VERSION" or
if you only want to print project structure Note that some features of this plugin may be used independently, i.e.