1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli/lsp
Nayeem Rahman 37292e74e1
fix(lsp): implement deno.suggest.completeFunctionCalls (#20214)
Fixes https://github.com/denoland/vscode_deno/issues/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.
2023-08-26 02:53:44 +02:00
..
testing fix(lsp): test explorer panic on step result (#20289) 2023-08-25 23:32:22 +02:00
analysis.rs refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
cache.rs feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
capabilities.rs chore: upgrade to Rust 1.70.0 (#19345) 2023-06-06 00:35:39 +00:00
client.rs fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
code_lens.rs refactor(lsp): make RequestMethod private (#19114) 2023-05-12 19:07:40 -04:00
completions.rs refactor: use deno_cache_dir crate (#20092) 2023-08-08 14:23:02 +00:00
config.rs feat(lsp): update imports on file rename (#20245) 2023-08-26 02:50:47 +02:00
diagnostics.rs fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
documents.rs refactor: use "deno_config" crate (#20260) 2023-08-24 11:21:34 +02:00
language_server.rs feat(lsp): update imports on file rename (#20245) 2023-08-26 02:50:47 +02:00
logging.rs fix(repl): improve package.json support (#18497) 2023-03-30 10:43:16 -04:00
lsp_custom.rs chore(lsp/tests): diagnostic synchronization (reland) (#19270) 2023-05-26 08:10:18 +02:00
mod.rs chore(lsp/tests): diagnostic synchronization (reland) (#19270) 2023-05-26 08:10:18 +02:00
parent_process_checker.rs fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
path_to_regex.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
performance.rs refactor(lsp): fewer clones (#17551) 2023-01-26 23:24:03 +01:00
README.md feat(lsp): improve registry completion suggestions (#13023) 2021-12-14 06:24:11 +11:00
refactor.rs refactor(lsp): fewer clones (#17551) 2023-01-26 23:24:03 +01:00
registries.rs refactor: use deno_cache_dir crate (#20092) 2023-08-08 14:23:02 +00:00
repl.rs feat(lsp): ability to configure document pre-load limit (#19097) 2023-05-11 17:17:14 -04:00
semantic_tokens.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
text.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
tsc.rs fix(lsp): implement deno.suggest.completeFunctionCalls (#20214) 2023-08-26 02:53:44 +02:00
urls.rs feat(unstable/lsp): support navigating to deno_modules folder (#20030) 2023-08-02 16:57:25 -04:00

Deno Language Server

The Deno Language Server provides a server implementation of the Language Server Protocol which is specifically tailored to provide a Deno view of code. It is integrated into the command line and can be started via the lsp sub-command.

This documentation has been moved to the Deno manual.