summaryrefslogtreecommitdiff
path: root/cli/lsp/language_server.rs
AgeCommit message (Collapse)Author
2022-07-12fix(lsp): enable auto imports (#15145)Kitson Kelly
Fixes: #15111
2022-07-11refactor: rename run_basic to run_local (#15068)cuobiezi
2022-07-01refactor: extract `deno_graph::create_graph` use to common function (#15009)David Sherret
2022-07-01chore: use Rust 1.62.0 (#15028)Bartek Iwańczuk
2022-06-28refactor: add `RootConfig` (#14985)David Sherret
2022-06-27refactor: create `args` folder (#14982)David Sherret
2022-06-27fix(lsp): restart TS language service when caching dependencies (#14979)Bartek Iwańczuk
2022-06-15fix(check): use "moduleDetection": "force" (#14875)Nayeem Rahman
2022-06-09fix(lsp): change glob to watch json and jsonc files (#14828)Bartek Iwańczuk
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-04-25refactor(lsp): store all the assets in Rust when initializing (#14367)David Sherret
2022-04-19perf(fmt/lint): incremental formatting and linting (#14314)David Sherret
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
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-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-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-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-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-25refactor(lsp): remove RwLock on `Config` (#13485)David Sherret
2022-01-24perf(lsp): independent diagnostic source publishes (#13427)David Sherret
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-13refactor: upgrade to import_map v0.6 (#13368)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
2021-12-16fix(lsp): provide diagnostics for import assertions (#13105)Kitson Kelly
Fixes: #13099
2021-12-15feat: REPL import specifier auto-completions (#13078)David Sherret
2021-12-15feat: Add support for import assertions and JSON modules (#12866)Bartek Iwańczuk
This commit adds proper support for import assertions and JSON modules. Implementation of "core/modules.rs" was changed to account for multiple possible module types, instead of always assuming that the code is an "ES module". In effect "ModuleMap" now has knowledge about each modules' type (stored via "ModuleType" enum). Module loading pipeline now stores information about expected module type for each request and validates that expected type matches discovered module type based on file's "MediaType". Relevant tests were added to "core/modules.rs" and integration tests, additionally multiple WPT tests were enabled. There are still some rough edges in the implementation and not all WPT were enabled, due to: a) unclear BOM handling in source code by "FileFetcher" b) design limitation of Deno's "FileFetcher" that doesn't download the same module multiple times in a single run Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-12-14feat(lsp): improve registry completion suggestions (#13023)Kitson Kelly
Resolves #10051
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>