-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
We will remove this code so duplicates will be shown by default if someone installs both Docker and Red Hat's extension. We will also review our FAQ to make sure the case is documented clearly and explains to the reader how to use Docker or Red Hat's Compose support.
vscode-extension/src/extension.ts
Lines 146 to 157 in 6cc1a9a
| async function toggleComposeLanguageServerSetting(): Promise<string> { | |
| const setting = inspectExtensionSetting('enableComposeLanguageServer'); | |
| if (vscode.extensions.getExtension('redhat.vscode-yaml') !== undefined) { | |
| // if Red Hat's YAML extension is installed, we will auto-disable | |
| // the Compose language server features to prevent duplicates | |
| if (setting !== undefined && setting.globalValue === undefined) { | |
| await disableEnableComposeLanguageServer(); | |
| return 'false'; | |
| } | |
| } | |
| return setting === undefined ? 'undefined' : String(setting.globalValue); | |
| } |
Reactions are currently unavailable