deno
deno copied to clipboard
Deno LSP ignoring completeFunctionCalls setting
It appears that the Deno Language Server Protocol (LSP) is not respecting the typescript.suggest.completeFunctionCalls and javascript.suggest.completeFunctionCalls settings in the .vscode/settings.json
file. Despite setting these options to false, the imports are always being completed with the full function call, which is not the desired behavior.
Steps to Reproduce
- Open a Deno project in Visual Studio Code.
- Set the following options in the
.vscode/settings.json
file:
{
"deno.enable": true,
"deno.lint": true,
"editor.formatOnSave": true,
"deno.codeLens.references": false,
"deno.codeLens.implementations": false,
"editor.defaultFormatter": "denoland.vscode-deno",
"javascript.suggest.completeFunctionCalls": false,
"typescript.suggest.completeFunctionCalls": false,
"editor.indentSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[html]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
}
- Attempt to import a function from a module.
Expected Behavior
The import should be added without the full function call, respecting the settings specified in the .vscode/settings.json
file.
Actual Behavior
The import is always completed with the full function call, ignoring the typescript.suggest.completeFunctionCalls
and javascript.suggest.completeFunctionCalls
settings.
Environment
Deno: 2.0.2