IntelliJ Plugin
This topic describes how to enable the Optimizely IntelliJ plugin into any IntelliJ platform-based IDEs.
Optimizely IntelliJ Plugin
This plugin provides quick contextual access to the configuration of your Optimizely Project, and is available for IntelliJ Platform based IDEs. It is available for download on the Jetbrains Plugin Marketplace.
Based around the Optimizely Java SDK, the plugin provides a set of shortcuts and contextual links back to the relevant Optimizely entities for your development.
After installation, use the menu or keyboard shortcut to set your SDK key, which corresponds to a particular Environment in your Optimizely Full Stack Project and is available under the Settings tab.
Once the SDK key is in place, the active Experiments, Features, Attributes and Events from your Environment will be accessible both via the Dropdown menu under Tools and via keyboard shortcuts.
You can also use default autocomplete (Go, Java, Kotlin, or Python) for feature methods such as isFeatureEnabled
and getFeatureVariable
to return only a feature key list. The same holds true for experimental methods.
Menu Options
Set SDK Key
Set or update your SDK Key.
If the SDK key is set, it is displayed at the top level and the Jump To menu is available.
Jump To
Provide direct links to your Experiments and Features within the Optimizely application, opening within your default OS browser.
List Experiment Keys
Displays a dropdown of the Experiment Keys of all Experiments that are currently Running within your selected environment. Selecting a key will insert that key string at the current editor cursor location.
List Feature Keys
Displays a list of the Feature Keys of all non-archived Features within your selected environment. Selecting a key will insert that key string at the current editor cursor location.
List Variation Keys
Displays the Variation Key or Variable Key of the most recently selected Experiment or Feature. Selecting a key will insert that key string at the current editor cursor location.
List Attribute Keys
Displays all non-archived Attribute keys within the selected environment. Selecting a key will insert that key string at the current editor cursor location.
List Event Keys
Displays a list of all non-archived event keys within the selected environment. Selecting a key will insert that key string at the current editor cursor location.
Debug Dialog
Intuitive dialog that allows you to test and see log output from running your experiments or features.
Keyboard Shortcuts
Direct keyboard access can be achieved for in-place editing. All shortcuts can be initiated by entering option
or alt o
s
- set the SDK key.
f
- list of feature keys.
e
- list of experiment keys.
v
- list of variable or variation keys depending on which feature or experiment was chosen last.
t
- list of event keys
a
- list of attribute keys.
d
- open debug dialog.
For languages Go, Java, Kotlin, and Python, default autocomplete for feature methods such as isFeatureEnabled
and getFeatureVariable
to return only a feature key list. The same holds true for experiment methods.
Updated almost 3 years ago