Skip to content

lets-cli/intellij-lets

Repository files navigation

intellij-lets

Build

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 and lets.*.yaml configs
  • autocomplete for config

Installation

  • 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

Releases flow:

  • add new features to CHANGELOG.md to [Unreleased] section

  • when ready to update version, go to gradle.properties and bump pluginVersion

  • merge to master

  • gitlab action will create a draft release with:

    • version from gradle.properties
    • changelog from [Unreleased] section
  • when ready - publish draft release

  • add new section to CHANGELOG.md with new published version

Issue new IDE compatible version

When new IDE version is released we need to release new lets plugin version.

  1. Open gradle.properties
  • change pluginUntilBuild to new ide version (for example from 211.* to 212.*)
  • increment pluginVersion
  • maybe change platformVersion
  • maybe change pluginVerifierIdeVersions
  1. Open CHANGELOG.md
  • Add info to Unreleased section.
  1. Create new branch, merge into main.
  2. GitHub will run tests and verification on master, and create new draft tag with version from pluginVersion
  3. Open new draft tag and publish it.
  4. GitHub will run an action for that published tag and:
  • will publish lets plugin to JetBrains Marketplace
  • update CHANGELOG.md

Linting

Project uses several tools to maintain code quality

See https://detekt.github.io/detekt/ Rule Sets to get more info about detekt failed rules.

Todo