feat: add languageServerWebIDE feature flag to config
Issue: Add "LanguageServer" feature flag to Web IDE (#387 - closed)
What does this MR do and why?
This MR adds the languageServerWebIDE feature flag in the Web IDE config. We also introduce the option to enable this flag in the Example App, where the default is enabled.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
| GDK | Example App |
|---|---|
|
New checkbox in the config form: Language server enabled by default: |
How to set up and validate locally
GDK:
- Install local version of web IDE in GDK by running
./scripts/pack-web-ide-package.sh - In the main project, add
yarn add <path to the packaged web ide>
Example App:
- Run the Example App in the
gitlab-web-ideproject:yarn start:example - Should see new option to enable language server in the config form, checked by default.
Check flag value in Workflow extension:
- Open the Web IDE, and go to user settings in command palette.
- Search
gitlab.featureFlags.LanguageServerWebIDE. Should match withfeatureFlags.languageServerWebIDEvalue passed to Web IDE config.


