GrowthBook Visual Studio Code extensionAboutThe GrowthBook Visual Studio Code extension allows you to see your available feature definitions right in VS Code. It can be configured to work with your project in under a minute and makes it easier for developers who use VS Code to work with the GrowthBook SDK by making features browsable and conveniently surfacing common actions. Features ListOnce the GrowthBook extension is installed and configured, you will be able to see all of the features for your project in a view panel at the bottom left. Viewing feature detailsYou should be able to see the value type of the feature inline beside the feature name. When you hover over the feature, you should see all of the criteria specified in order for this feature to evaluate. In the below example, hovering over Copying a feature keyWhen hovering over a feature item, some action icons will appear on the right. One of them will allow you to copy the feature key to the clipboard so you can easily copy and paste into your project. Once it's been successfully copied, you should see a message pop up temporarily in the bottom right. Editing a featureWhen hovering over a feature item, some action icons will appear on the right. One of them will allow you to open the feature edit screen in your browser on the GrowthBook dashboard, allowing you to view additional details and edit your feature. ConfigurationIn order to use the extension, your project will need to have a You can create this configuration in one of the following ways:
❗️ Note: We recommend that you omit this file from your project's version control and provide a sample CommandsSome commands have been surfaced to help with configuring GrowthBook. You can access these commands from the command palette (by pressing Command + Shift + P on macOS or Control + Shift + P on Windows and Linux) and typing
ContributingSee the Contributing Guide to help out with the project. |