You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This completes the function with parentheses and hints the parameters, along with tabbing to jump between them & the body.
However, once Deno is initialized, this stops working. I've also enabled: "deno.suggest.completeFunctionCalls": true in my settings, however this does not fix the issue. I am not sure if this setting is even relevant to the problem, might be?
Fixesdenoland/vscode_deno#743.
```ts
const items: string[] = ['foo', 'bar', 'baz'];
items.map
// ->
items.map(callbackfn) // auto-completes with argument placeholders.
```
---
We have our own setting for `suggest.completeFunctionCalls`, which must
be enabled:
```js
{
"deno.suggest.completeFunctionCalls": true,
// Re-implementation of:
// "javascript.suggest.completeFunctionCalls": true,
// "typescript.suggest.completeFunctionCalls": true,
}
```
But before this commit the actual implementation had been left as a TODO.
Fixesdenoland/vscode_deno#743.
```ts
const items: string[] = ['foo', 'bar', 'baz'];
items.map
// ->
items.map(callbackfn) // auto-completes with argument placeholders.
```
---
We have our own setting for `suggest.completeFunctionCalls`, which must
be enabled:
```js
{
"deno.suggest.completeFunctionCalls": true,
// Re-implementation of:
// "javascript.suggest.completeFunctionCalls": true,
// "typescript.suggest.completeFunctionCalls": true,
}
```
But before this commit the actual implementation had been left as a TODO.
VSC offers the following options for auto completing function calls:
This completes the function with parentheses and hints the parameters, along with tabbing to jump between them & the body.
However, once Deno is initialized, this stops working. I've also enabled:
"deno.suggest.completeFunctionCalls": true
in my settings, however this does not fix the issue. I am not sure if this setting is even relevant to the problem, might be?To Reproduce
settings.json
:(Alternatively un-comment one or the other, every combination does not work.)
.ts
file that works outside a Deno project, but not in a Deno project:Expected behavior
Expect
suggest.completeFunctionCalls
to work as expected.Screenshots
Screenshots not relevant, unless a GIF is wanted.
Versions
VS Code: 1.73 (commit: 8fa188b2b301d36553cbc9ce1b0a146ccb93351f) - Windows 11 (x64)
Deno: 1.27.0
Extension: 3.14.0
The text was updated successfully, but these errors were encountered: