Skip to content

Commit

Permalink
chore: log to the output window if disabled completely (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn authored Oct 7, 2024
1 parent f2fd0f0 commit 689bd8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export function startLanguageServer(
extensionContext.clientSubscriptions = [];

if (isDenoDisabledCompletely()) {
extensionContext.outputChannel.appendLine(
'Warning: The Deno language server is explicitly disabled for every directory. If this is not intentional, check your user and workspace settings for entries like `"deno.enable": false` and `"deno.enablePaths": []`.',
);
return;
}

Expand Down

0 comments on commit 689bd8a

Please sign in to comment.