This IntelliJ plugin provides support for https://github.com/lets-cli/lets task runner.
Plugin on JetBrains Marketplace
Is supports:
- file type recognition for
lets.yaml
andlets.*.yaml
configs - autocomplete for config
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "lets" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.
Releases flow:
-
add new features to CHANGELOG.md to
[Unreleased]
section -
when ready to update version, go to
gradle.properties
and bumppluginVersion
-
merge to master
-
gitlab action will create a draft release with:
- version from
gradle.properties
- changelog from
[Unreleased]
section
- version from
-
when ready - publish draft release
-
add new section to CHANGELOG.md with new published version
When new IDE version is released we need to release new lets
plugin version.
- Open
gradle.properties
- change
pluginUntilBuild
to new ide version (for example from211.*
to212.*
) - increment
pluginVersion
- maybe change
platformVersion
- maybe change
pluginVerifierIdeVersions
- Open
CHANGELOG.md
- Add info to
Unreleased
section.
- Create new branch, merge into main.
- GitHub will run tests and verification on master, and create new draft tag with version from
pluginVersion
- Open new draft tag and publish it.
- GitHub will run an action for that published tag and:
- will publish lets plugin to JetBrains Marketplace
- update CHANGELOG.md
Project uses several tools to maintain code quality
See https://detekt.github.io/detekt/ Rule Sets to get more info about detekt
failed rules.
- add highlighting for shell script in cmd - https://plugins.jetbrains.com/docs/intellij/file-view-providers.html
- read mixins - https://plugins.jetbrains.com/docs/intellij/psi-cookbook.html#how-do-i-find-a-file-if-i-know-its-name-but-don-t-know-the-path
- insert not padded strings, but yaml elements