feat: Add user-configured CS languages
Description
The code changes introduce a new feature that allows users to specify custom programming languages for which they want to receive AI-assisted code suggestions. Previously, the extension only supported a fixed set of languages.
Related Issues
Resolves #1318 (closed)
How to test
Should be tested together with the LS MR gitlab-org/editor-extensions/gitlab-lsp!303 (merged) if the languageServer
feature flag is enabled. It should work both with and without the LS enabled.
- in VS Code go to
Settings => Extensions => Gitlab Workflow => Extension Settings
⚙ - In the
AI assisted Code Suggestions : Languages
add a couple of unsupported language identifiers. Docs for the setting here - Open the file with previously unsupported languages and make sure that the code suggestion status icon changes to enabled and the code suggestions are provided.