- install a JDK into the path specified in
.snyk.env.darwin
. Else the snyk scan may fail
Build process happens through Gradle (as well as all dependency's connection). Managed in build.gradle.kts
root file, parametrised by gradle.properties
file.
Release happens automatically every Tuesday at 9am UTC. Also, could be run manually through GitHub's Actions/Release
workflow run. Specified in release.yml
file.
Should be mostly done trough IntelliJ Platform Testing Framework and placed into integTest
source root except simple independent Unit tests (test
source root).
Mocks are not recommended by Jetbrains, but we heavily (and successfully) use Mockk framework. Just be careful not to mock whole world and make sure you're testing real functionality and not mocked one.
- From the toolbar click
Run
->Run
- Click
Edit Configuration
->Add new configuration
- Select
Gradle
from the configuration list - Type
runIde
in theRun
textbox to select therunIde
run command - Click
Apply
andRun
to run the extension`
If you want to run the plugin in other IDE distribution (e.g. Rider), you should pass set IDE Contents
directory as a localIdeDirectory
property in gradle.properties
.
Here's an example for local Rider installation:
localIdeDirectory=/Users/michel/Library/Application Support/JetBrains/Toolbox/apps/Rider/ch-0/221.5787.36/Rider.app/Contents
You can copy the full path from IDE Settings in the JetBrains Toolbox.
- IntelliJ Platform Plugin SDK - that's your "Holy book" :)
- Gradle IntelliJ Plugin - needed for plugin development. See it's usage documentations
- IntelliJ Platform Explorer - here you can find examples of any(?) Extension Point usage. Imho better look into IntelliJ Idea sources for implementation.
- Forum/FAQ for IntelliJ IDEA Open API and Plugin Development
- Slack channel for Plugin development for IntelliJ Platform
- IntelliJ Platform UI Guidelines
- Icons search in IntelliJ platform built-in list