How to enable vscode web IDE in gitlab 15.7

King Chun O
1 min readJan 4, 2023

--

In the release notes for 15.7.0, it suggests the following to Enable the Web IDE Beta:

To use the Web IDE Beta on a self-managed GitLab instance, ensure that the vscode_web_ide feature flag is enabled.

I have answered in https://github.com/sameersbn/docker-gitlab/issues/2682

If you are using sameersbn’s gitlab docker image, i tested it is working.

sameersbn provide a very good gitlab docker image with postgresql and redis.

You can use feature api to enable it

View if there is vscode_web_ide feature

curl — location — request GET ‘http://localhost:10080/api/v4/features/definitions' \
— header 'PRIVATE-TOKEN: <your token>'

Response:


{
"name": "vscode_web_ide",
"introduced_by_url": "https://gitlab.com/gitlab-org/gitlab/-/merge_requests/95169",
"rollout_issue_url": "https://gitlab.com/gitlab-org/gitlab/-/issues/371084",
"milestone": "15.4",
"log_state_changes": null,
"type": "development",
"group": "group::editor",
"default_enabled": false
},

Update the flag:

curl — location — request POST ‘http://localhost:10080/api/v4/features/vscode_web_ide' \
— header 'PRIVATE-TOKEN: <your token>' \
— form 'value="true"'

You did it!!!

--

--

No responses yet