summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
AgeCommit message (Collapse)Author
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-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-10feat(lsp): support linking to symbols in JSDoc on hover (#13631)Kitson Kelly
Closes #13198
2022-02-07fix(lsp): op_exists handles bad specifiers (#13612)Kitson Kelly
Fixes: #13611
2022-02-02perf(lsp): cancellable TS diagnostics (#13565)David Sherret
2022-01-24perf(lsp): improve some tsc op hot paths (#13473)Kitson Kelly
2022-01-19refactor(lsp): reduce data stored in `StateSnapshot` (#13426)David Sherret
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-17refactor(lsp): remove `performance` from `StateSnapshot` (#13403)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-29cleanup(cli/lsp): use op Extensions (#13225)Aaron O'Mullan
2021-12-18refactor: use `once_cell` instead of `lazy_static` (#13135)Divy Srivastava
2021-11-25chore: upgrade lspower to 1.4.0 (#12894)Bartek Iwańczuk
2021-11-23fix(cli): config file should resolve paths relative to the config file (#12867)David Sherret
* Add `specifier_to_file_path` to support converting a ModuleSpecifier with a unix-style path to a PathBuf on Windows.
2021-11-23feat(lsp): add type definition provider (#12789)Kitson Kelly
2021-11-23feat(lsp): add workspace symbol provider (#12787)Kitson Kelly
2021-11-18refactor(lsp): remove `Documents` mutex and require `Documents` to be ↵David Sherret
mutated to change it (#12747)
2021-11-17fix(lsp): retain module dependencies when parse is invalid (#12782)Kitson Kelly
Fixes #12753
2021-11-16refactor: re-export anyhow from deno_core (#12777)Ryan Dahl
2021-11-12refactor(lsp): prefer using document instead of documents collection (#12720)David Sherret
2021-11-09chore(lsp): align ScriptElementKind to current versions of TypeScript/vscode ↵Kitson Kelly
(#12663)
2021-11-08refactor: move `mod tokio_util` to runtime (#12332)Bert Belder
This avoids a bunch of duplicated code.
2021-11-07fix(lsp): display signature docs as markdown (#12636)Luca Casonato
These were previously displayed as plain text. Now they are displayed as `MarkupContent` with type `Markdown`.
2021-10-29refactor(lsp): use deno_graph and single document struct (#12535)Kitson Kelly
Closes #12473
2021-10-11refactor: integrate deno_graph into CLI (#12369)Kitson Kelly
2021-09-16fix(lsp): align filter text to vscode logic (#12081)Kitson Kelly
Fixes #11861
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-08-27feat(cli): Update to TypeScript 4.4 (#11678)Kitson Kelly
2021-08-06feat(lsp): implement refactoring code actions (#11555)Jean Pierre
Closes: denoland/vscode_deno#433
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-07-25fix(lsp): handle importmaps properly (#11496)Kitson Kelly
Fixes: #11146 Fixes: #11456 Fixes: #10439
2021-07-08feat(core): return v8::Value from JsRuntime::execute_script (#11129)Bartek Iwańczuk
This commit changes return type of JsRuntime::execute_script to include v8::Value returned from evaluation. When embedding deno_core it is sometimes useful to be able to inspect script evaluation value without the hoops of adding ops to store the value on the OpState. v8::Global<v8::Value> is used so consumers don't have to pass scope themselves.
2021-06-25feat(lsp): dependency hover information (#11090)Kitson Kelly
2021-06-22refactor: unify JavaScript script execution method (#11043)Bartek Iwańczuk
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-06-19fix(lsp): do not rename in strings and comments (#11041)David Sherret
2021-06-15Remove various unnecessary allow(clippy) declarations (#10971)Ryan Dahl
2021-06-05fix(lsp): refactor, fix issues and add benchmark for code lens (#10841)Kitson Kelly
2021-06-02fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816)Kitson Kelly
Fixes #10815
2021-05-29fix(#10765): lsp import fixes include extensions (#10778)Kitson Kelly
Fixes #10765
2021-05-28feat(cli): upgrade to TypeScript 4.3 (#9960)Kitson Kelly
2021-05-11feat(lsp): add internal debugging logging (#10438)Kitson Kelly
Ref: #10368