{"id":18478627,"url":"https://github.com/growthbook/growthbook-vsce","last_synced_at":"2025-07-21T08:32:24.130Z","repository":{"id":63006640,"uuid":"546338566","full_name":"growthbook/growthbook-vsce","owner":"growthbook","description":"Visual Studio Code extension for GrowthBook","archived":false,"fork":false,"pushed_at":"2023-02-17T18:28:53.000Z","size":192,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-09T08:47:51.643Z","etag":null,"topics":["extension","vsce","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=GrowthBook.growthbook","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/growthbook.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-05T23:36:31.000Z","updated_at":"2023-02-17T18:32:53.000Z","dependencies_parsed_at":"2024-11-06T12:21:02.375Z","dependency_job_id":null,"html_url":"https://github.com/growthbook/growthbook-vsce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/growthbook/growthbook-vsce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/growthbook%2Fgrowthbook-vsce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/growthbook%2Fgrowthbook-vsce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/growthbook%2Fgrowthbook-vsce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/growthbook%2Fgrowthbook-vsce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/growthbook","download_url":"https://codeload.github.com/growthbook/growthbook-vsce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/growthbook%2Fgrowthbook-vsce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266267288,"owners_count":23902334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","vsce","vscode"],"created_at":"2024-11-06T12:10:50.646Z","updated_at":"2025-07-21T08:32:24.114Z","avatar_url":"https://github.com/growthbook.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrowthBook Visual Studio Code extension\n\n- [About](#about)\n  - [Features List](#features-list)\n    - [Viewing feature details](#viewing-feature-details)\n    - [Copying a feature key](#copying-a-feature-key)\n    - [Editing a feature](#editing-a-feature)\n- [Configuration](#configuration)\n  - [Commands](#commands)\n- [Contributing](#contributing)\n\n\n## About\n\nThe GrowthBook Visual Studio Code extension allows you to see your available feature definitions right in VS Code.\n\nIt 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.\n\n![](https://user-images.githubusercontent.com/113377031/200070541-2084b707-4469-4521-aa5e-389de1245ff8.gif)\n\n### Features List\n\nOnce 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.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200067932-c67397d3-e5b4-4bf7-b895-2f568b23b137.png\" width=\"381\" /\u003e\n\n\n#### Viewing feature details\n\nYou 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 `dark_mode` shows that it has a default value of false and will evaluate to true for 50% of logged in users.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200067668-19fbfc74-8efc-4b1e-a608-166a46c3f5ae.png\" width=\"490\"\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200067764-1423ee86-9016-4207-bbb3-666d706a63e3.png\" width=\"492\"\u003e\n\n\n#### Copying a feature key\n\nWhen 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.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200067713-a7204eaa-ab7a-49d8-8954-7993bf69c138.png\" width=\"420\" /\u003e\n\nOnce it's been successfully copied, you should see a message pop up temporarily in the bottom right.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200067983-f4da1ba6-aed7-4cd5-8406-803a8e901afa.png\" width=\"377\"\u003e\n\n\n#### Editing a feature\n\nWhen 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.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200068168-46d9f5b7-f47d-4760-bc48-d6792656afb6.png\" width=\"377\"\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113377031/200068129-dcd73309-e389-4947-9a75-d1ee8ef1af9b.png\" width=\"323\"\u003e\n\n\n\n## Configuration\n\nIn order to use the extension, your project will need to have a `.growthbook.json` file. \n\nYou can create this configuration in one of the following ways:\n\n- Use the `\"Add Configuration\"` button that shows up in the Features panel\n- Use the command `GrowthBook: Create a .growthbook.json configuration file`.\n- Manually create it by copy pasting the below code and including your own key after `/features/`\n\n```json\n{\n  \"featuresEndpoint\": \"http://localhost:3100/api/features/key_dev_abc123xyz456\",\n  \"appHost\": \"http://localhost:3100\"  \n}\n```\n\n- **`featuresEndpoint`**: This is available on the [Environments \u0026rarr; SDK Endpoints](https://app.growthbook.io/environments) screen in GrowthBook\n- **`appHost`**: This is the URL for the running application instance of GrowthBook. If you registered at growthbook.com, use the one that is generated for you, otherwise specify the URL of your self-hosted instance.\n\n❗️ **Note**: We recommend that you omit this file from your project's version control and provide a sample `.growthbook.json.example` file that your team can copy locally, e.g. `cp .growthbook.json.example .growthbook.json`.\n\n\n### Commands\n\nSome commands have been surfaced to help with configuring GrowthBook. You can access these commands from the command palette (by pressing \u003ckbd\u003eCommand + Shift + P\u003c/kbd\u003e on macOS or \u003ckbd\u003eControl + Shift + P\u003c/kbd\u003e on Windows and Linux) and typing `GrowthBook`.\n\n- Refresh features\n- Create GrowthBook config\n\n\n## Contributing\n\nSee the [Contributing Guide](CONTRIBUTING.md) to help out with the project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrowthbook%2Fgrowthbook-vsce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrowthbook%2Fgrowthbook-vsce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrowthbook%2Fgrowthbook-vsce/lists"}