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
-
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...
- Generate a LaunchDarkly Personal Access Token with a writer role (if toggling flags). Example policy is below:
[
{
"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 theProject
selected.