Loading src/common/code_suggestions/constants.ts +4 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,10 @@ export const AI_ASSISTED_CODE_SUGGESTIONS_LANGUAGES = [ 'swift', 'typescript', 'typescriptreact', 'html', 'css', 'sql', 'shellscript', // Following languages are not explicitly supported by the model gateway but we add them // to have at least some autocomplete // See https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/issues/781 for details Loading src/common/code_suggestions/state_policy/supported_language_policy.test.ts +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ describe('SupportedLanguagePolicy', () => { let policy: SupportedLanguagePolicy; const triggerActiveTextEditorChange = createActiveTextEditorChangeTrigger(); const unsupportedLanguages = ['html', 'markdown', 'css']; const unsupportedLanguages = ['diff', 'haml', 'lua']; beforeEach(() => { policy = new SupportedLanguagePolicy(); jest Loading Loading
src/common/code_suggestions/constants.ts +4 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,10 @@ export const AI_ASSISTED_CODE_SUGGESTIONS_LANGUAGES = [ 'swift', 'typescript', 'typescriptreact', 'html', 'css', 'sql', 'shellscript', // Following languages are not explicitly supported by the model gateway but we add them // to have at least some autocomplete // See https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/issues/781 for details Loading
src/common/code_suggestions/state_policy/supported_language_policy.test.ts +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ describe('SupportedLanguagePolicy', () => { let policy: SupportedLanguagePolicy; const triggerActiveTextEditorChange = createActiveTextEditorChangeTrigger(); const unsupportedLanguages = ['html', 'markdown', 'css']; const unsupportedLanguages = ['diff', 'haml', 'lua']; beforeEach(() => { policy = new SupportedLanguagePolicy(); jest Loading