JetBrains/IntelliJ Plugin - Manage your feature flags from JetBrains/IntelliJ IDEs
ConfigCat's JetBrains/IntelliJ IDE plugin to manage feature flags from IDEs.
Connect your ConfigCat Product and Config to your JetBrains/IntelliJ IDE. Find your Feature Flag's usages in your code easily.
This guide will help you install the JetBrains/IntelliJ IDE Plugin and familiarize you with its usage.
Feature overview
- View your Feature Flags within the IDE.
- Create Feature Flags within the IDE.
- Open a Feature Flag on the ConfigCat Dashboard.
- Find Feature Flag usages in your code.
- Copy a Feature Flag's key to the clipboard.
- View your Products & Configs.
- Create Configs within the IDE.
- Open a Config on ConfigCat Dashboard.
Install plugin
Install within the IDE from Marketplace
- In your IDE, open the
File
>Settings/Preferences
menu. - Go to the
Plugin
page and select theMarketplace
tab. - Search for
ConfigCat Feature Flags
. Install
the plugin.- Configure the plugin (see below).
Install manually within the IDE
- Download the latest release from GitHub or from JetBrains Marketplace
- In your IDE, open the
File
>Settings/Preferences
menu. - Go to the
Plugin
page and open theGear Icon
menu. - Select the
Install plugin from disk...
option. - Configure the plugin (see below).
Compatible IDEs
The plugin is compatible with the following IDEs. Check the plugin JetBrains Marketplace page for the full, detailed compatibility list.
- Android Studio
- Aqua
- CLion
- Code With Me
- DataGrip
- DataSpell
- GoLand
- IntelliJ IDEA (Community & Ultimate)
- MPS
- PhpStorm
- PyCharm (Community & Professional)
- Rider
- RubyMine
- RustRover
- WebStorm
- Writerside
Configure extension
Authentication
- Get your ConfigCat Public API credentials from ConfigCat Dashboard/Public Management API credentials.
- In your IDE, open the
File
>Settings/Preferences
menu. - Search for
ConfigCat Feature Flags
page. - Fill out the
Basic auth user name
andBasic auth password
inputs.
Advanced
This section is for you if you use a dedicated hosted
/on-premise ConfigCat instance. In that case, you can specify your custom ConfigCat URLs in the IDE.
- In your IDE, open the
File
>Settings/Preferences
menu. - Search for
ConfigCat Feature Flags
page. - Fill out the
Public Api Base URL
andDashboard Base URL
inputs.
Public Api Base URL
: the base URL for the ConfigCat Public Management API. Defaults to: https://api.configcat.com.Dashboard Base URL
: the base URL for ConfigCat Dashboard. Defaults to: https://app.configcat.com.
Usage of ConfigCat Feature Flags Plugin
The ConfigCat Feature Flags Tool Window can be opened by clicking the ConfigCat Feature Flags icon on the side of the IDE main window.
Feature Flags & Settings Tab
After you successfully configured your ConfigCat account in the Settings
, you can use the Feature Flags & Settings Tab and:
- View all of your Products, Configs and Feature Flags.
- Create new Configs and Feature Flags.
- Open your Configs and Feature Flags on the ConfigCat Dashboard.
- Copy a Feature Flag's key to the clipboard.
- Find your Feature Flag's usages in your code.
Create a new Feature Flag
- Select the Config in the tree where you want to create your new flag.
- Click the
+
button on the action bar to open the create dialog. - Select the setting type.
- Enter the new Feature Flag name.
- Enter the new Feature Flag key.
- Add a hint to your Feature Flag (optional).
- Select 'OK' to confirm the Flag creation.
Copy a Feature Flag's key to the clipboard
- Select the Feature Flag in the tree whose key you want to copy.
- Click the
Copy
button on the action bar to copy the key to the clipboard.
Open your Flags on the ConfigCat Dashboard
- Select the Flag you want to open in the Dashboard.
- Click the
Open Config in ConfigCat Dashboard
button on the action bar.
Find your Feature Flag's usages in your code
- Select the Feature Flag in the tree you want to search.
- Click the
Find Usage
button on the action bar. - See the search results in the opened dialog.
Create a new Config under a product
- Select the Products in the tree where you want to create your new config.
- Click the
+
button on the action bar to open the create dialog. - Enter a name for the new config.
- Add a hint to your config (optional).
- Select
OK
to confirm the Config creation.
Open your Configs on the ConfigCat Dashboard
- Select the Config which you want to open in the Dashboard.
- Click the
Open Config in ConfigCat Dashboard
button on the action bar.
The actions are available by right click menu as well.
Help & Feedback Tab
The Help & Feedback tab provides quick links to open ConfigCat's Documentation and Dashboard and allows you to report issues.