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
Matt Mastracci b6e44f91ad
fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611)
Some `deno_std` tests were failing to print output that was resolved
after the last test finished. In addition, output printed before tests
began would sometimes appear above the "running X tests ..." line, and
sometimes below it depending on timing.

We now guarantee that all output is flushed before and after tests run,
making the output consistent.

Pre-test and post-test output are captured in `------ pre-test output
------` and `------ post-test output ------` blocks to differentiate
them from the regular output blocks.

Here's an example of a test (that is much noisier than normal, but an
example of what the output will look like):

```
Check ./load_unload.ts
------- pre-test output -------
load
----- output end -----
running 1 test from ./load_unload.ts
test ...
------- output -------
test
----- output end -----
test ... ok ([WILDCARD])
------- post-test output -------
unload
----- output end -----
```
2024-02-28 22:12:21 +00:00
..
testing fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611) 2024-02-28 22:12:21 +00:00
analysis.rs feat(lsp): auto-import completions for jsr specifiers (#22462) 2024-02-21 02:45:00 +00:00
cache.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
capabilities.rs chore(lsp): rename client-side command invocations (#22140) 2024-01-28 21:56:45 +00:00
client.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
code_lens.rs fix: upgrade to deno_ast 0.33 (#22341) 2024-02-09 01:40:26 +00:00
completions.rs fix(lsp): complete npm specifier versions correctly (#22332) 2024-02-10 01:27:04 +00:00
config.rs fix(lsp): import map expansion (#22553) 2024-02-24 00:21:09 -05:00
diagnostics.rs fix(unstable): sloppy imports should resolve .d.ts files during types resolution (#22602) 2024-02-27 18:30:21 +00:00
documents.rs fix(unstable): sloppy imports should resolve .d.ts files during types resolution (#22602) 2024-02-27 18:30:21 +00:00
jsr_resolver.rs feat(lsp): auto-import completions for jsr specifiers (#22462) 2024-02-21 02:45:00 +00:00
language_server.rs feat(publish): discover jsr.json and jsr.jsonc files (#22587) 2024-02-27 08:27:21 +00:00
logging.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lsp_custom.rs fix(lsp): don't normalize urls in cache command params (#22182) 2024-01-30 17:17:34 +00:00
mod.rs feat(lsp): jsr support first pass (#22382) 2024-02-12 22:12:49 +00:00
npm.rs refactor: load bytes in deno_graph (#22212) 2024-02-01 03:15:22 +00:00
parent_process_checker.rs fix(lsp): use a dedicated thread for the parent process checker (#21869) 2024-01-09 11:36:03 -05:00
path_to_regex.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
performance.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md docs: fix broken deno manual link (#20667) 2023-09-25 14:09:27 +02:00
refactor.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
registries.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
repl.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
semantic_tokens.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
text.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tsc.rs feat(lsp): auto-import completions for jsr specifiers (#22462) 2024-02-21 02:45:00 +00:00
urls.rs refactor: load bytes in deno_graph (#22212) 2024-02-01 03:15:22 +00: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.