summaryrefslogtreecommitdiff
path: root/cli/lsp
AgeCommit message (Collapse)Author
2022-04-18feat(test): skip internal stack frames for errors (#14302)Bartek Iwańczuk
This commit changes "deno test" to filter out stack frames if it is beneficial to the user. This is the case when there are stack frames coming from "internal" code below frames coming from user code. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2022-04-16feat(test): use structured data for JavaScript errors in tests (#14287)Bartek Iwańczuk
This commit rewrites test runner to send structured error data from JavaScript to Rust instead of passing strings. This will allow to customize display of errors in test report (which will be addressed in follow up commits).
2022-04-15feat(test): format user code output (#14271)Bartek Iwańczuk
This commit changes "deno test" to better denote user output coming from test cases. This is done by printing "---- output ----" and "---- output end ----" markers if an output is produced. The output from "console" and "Deno.core.print" is captured, as well as direct writes to "Deno.stdout" and "Deno.stderr". To achieve that new APIs were added to "deno_core" crate, that allow to replace an existing resource with a different one (while keeping resource ids intact). Resources for stdout and stderr are replaced by pipes. Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-08fix: upgrade to swc_ecmascript 0.143 (#14238)David Sherret
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-30feat(lsp): add experimental testing API (#13798)Kitson Kelly
Ref: denoland/vscode_deno#629
2022-03-29chore(ci): fix lsp bench due to notification that was accidentally added ↵David Sherret
(#14148)
2022-03-29chore: upgrade dprint-core to 0.54.1 (#14146)David Sherret
2022-03-29feat(lsp): support API for config file (#14139)Kitson Kelly
Closes: #13910
2022-03-28fix(lsp): watch .jsonc files (#14135)Kitson Kelly
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-03-21feat(lsp): support deno.enablePaths setting (#13978)Kitson Kelly
Ref: denoland/vscode_deno#633
2022-03-14feat(ops): custom arity (#13949)Aaron O'Mullan
Also cleanup & drop ignored wildcard op-args
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-03chore(lsp): log more for "unexpected positions" lsp error (#13815)David Sherret
Ref #13657
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-24refactor: remove dead code from lsp (#13743)Kitson Kelly
2022-02-23feat: allow specification of import map in config file (#13739)Kitson Kelly
Closes: #12800
2022-02-11refactor: use `Arc` instead of making copies of `Flags` struct (#13610)Maxim
2022-02-10feat(lsp): support linking to symbols in JSDoc on hover (#13631)Kitson Kelly
Closes #13198
2022-02-10feat(lsp): provide completions from import map if available (#13624)Kitson Kelly
Closes #13619
2022-02-07fix(lsp): op_exists handles bad specifiers (#13612)Kitson Kelly
Fixes: #13611
2022-02-05fix(lsp): do not panic getting root_uri to auto discover configuration file ↵David Sherret
(#13603)
2022-02-04feat(lsp): add redirect diagnostic and quick fix (#13580)Kitson Kelly
Ref: #12864
2022-02-02refactor(lsp): remove circular dependency between `LanguageServer` and ↵David Sherret
`DiagnosticsServer` (#13577)
2022-02-02perf(lsp): cancellable TS diagnostics (#13565)David Sherret
2022-02-02fix(lsp): properly display x-deno-warning with redirects (#13554)Kitson Kelly
Fixes: #13472
2022-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-01-29fix(lsp): regression where certain diagnostics were showing for disabled ↵David Sherret
files (#13530)
2022-01-25refactor(lsp): remove RwLock on `Config` (#13485)David Sherret
2022-01-25refactor(lsp): Documents - combine duplicate exists methods (#13479)David Sherret
2022-01-24fix(lsp): independent diagnostic publishing should include all diagnostic ↵David Sherret
sources on each publish (#13483)
2022-01-24perf(lsp): independent diagnostic source publishes (#13427)David Sherret
2022-01-24perf(lsp): improve some tsc op hot paths (#13473)Kitson Kelly
2022-01-24fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467)Kitson Kelly
Fixes #13437
2022-01-19refactor(lsp): reduce data stored in `StateSnapshot` (#13426)David Sherret
2022-01-20fix(lsp): better handling of registry config errors (#13418)Kitson Kelly
Fixes: #13383 Fixes: denoland/vscode_deno#609
2022-01-19refactor(lsp): store the `LspUrlMap`'s state inside a mutex (#13416)David Sherret
2022-01-18refactor(lsp): store assets behind a mutex (#13414)David Sherret
2022-01-17feat: auto-discover config file (#13313)Ryan Dahl
2022-01-17refactor(lsp): remove `performance` from `StateSnapshot` (#13403)David Sherret
2022-01-17refactor: simplify how LSP deals with config file specifier (#13401)Ryan Dahl
2022-01-15chore: upgrade to rust 1.58 (#13377)David Sherret
2022-01-13refactor: upgrade to import_map v0.6 (#13368)David Sherret
2022-01-13refactor: move transpiling to deno_ast (#13332)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07feat(lsp): provide registry details on hover if present (#13294)Kitson Kelly
Closes: #13272
2022-01-04fix: upgrade swc_ecmascript to 0.103 (#13284)David Sherret
2022-01-04fix(lsp): handle repeating patterns in registry correctly (#13275)Kitson Kelly