Interact with your LaunchDarkly Feature Flags directly in your IDE.
- Ability to toggle a flag enabled status.
- Visualize Flag information.
-
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:
[
{
"resources": ["proj/*"],
"actions": ["viewProject"],
"effect": "allow"
},
{
"resources": ["proj/*:env/*:flag/*"],
"actions": ["updateOn", "updateFallthrough", "updateOffVariation"],
"effect": "allow"
}
]
- Under
Preferences
->LaunchDarkly Plugin
add the Access Token then click apply. A list of Projects and Environments should populate if the key has the correct permissions or an error show in the drop down. The environment list will auto update based on the Project selected.