Skip to content

LaunchDarkly IDE Plugin for IntelliJ based editors

License

Notifications You must be signed in to change notification settings

launchdarkly/ld-intellij

Repository files navigation

LaunchDarkly IntelliJ IDEA plugin

Build

Interact with your LaunchDarkly feature flags directly in your IDE.

  • Autocomplete feature flag keys
  • View a tooltip with feature flag details when you hover over a flag key in your source code
  • Open to specific feature flags in LaunchDarkly
  • View a list of feature flags and their settings in the LaunchDarkly tool window
  • Update a feature flag's targeting status and default rule and value when targeting is on or off

Available in the JetBrains Marketplace

Installation

  • Using IDE built-in plugin system:

    Preferences > Plugins > Marketplace > Search for LaunchDarkly > Install Plugin

  • Manually:

    Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...

Setup

[
  {
    "effect": "allow",
    "actions": ["viewProject"],
    "resources": ["proj/*"]
  },
  {
    "effect": "allow",
    "actions": [
      "updateOn",
      "updateFallthrough",
      "updateOffVariation"
    ],
    "resources": ["proj/*:env/*:flag/*"]
  }
]

  • Under Preferences > LaunchDarkly add the Access Token and then click Apply. A list of projects and environments will populate if the token has the correct permissions. The Environment list will automatically update based on the Project selected.