summaryrefslogtreecommitdiff
path: root/cli/lsp/analysis.rs
AgeCommit message (Collapse)Author
2022-04-25refactor(lsp): store all the assets in Rust when initializing (#14367)David Sherret
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-02-24refactor: remove dead code from lsp (#13743)Kitson Kelly
2022-02-04feat(lsp): add redirect diagnostic and quick fix (#13580)Kitson Kelly
Ref: #12864
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-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-18refactor: use `once_cell` instead of `lazy_static` (#13135)Divy Srivastava
2021-12-16fix(lsp): provide diagnostics for import assertions (#13105)Kitson Kelly
Fixes: #13099
2021-11-25chore: upgrade lspower to 1.4.0 (#12894)Bartek Iwańczuk
2021-11-16refactor: re-export anyhow from deno_core (#12777)Ryan Dahl
2021-11-04fix(lint): use recommended tag if there is no tags in config file or flags ↵Zheyu Zhang
(#12644)
2021-10-29refactor(lsp): use deno_graph and single document struct (#12535)Kitson Kelly
Closes #12473
2021-10-12chore: upgrade crates based on deno ast 0.3 (#12403)David Sherret
2021-10-12fix(lsp): lint diagnostics respect config file (#12338)Bartek Iwańczuk
This commit fixes problem with LSP where diagnostics coming from "deno lint" don't respect configuration file. LSP was changed to store "Option<ConfigFile>", "Option<LintConfig>" and "Option<FmtConfig>" on "Inner"; as well as storing "Option<LintConfig>" and "Option<FmtConfig>" on "StateSnapshot". Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-10-11refactor: integrate deno_graph into CLI (#12369)Kitson Kelly
2021-09-14feat(lsp): ignore specific lint for entire file (#12023)Satya Rohith
2021-09-12chore(lsp): temporarily reparse AST for linting (#11988)David Sherret
2021-09-11refactor: use import_map crate (#11974)Bartek Iwańczuk
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-09-02chore: upgrade crates (#11894)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-06refactor: make `ParsedModule` implement `Sync` (#11581)David Sherret
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-07-22fix(lsp): do not populate maybe_type slot with import type dep (#11477)Kitson Kelly
Fixes: #11458 Fixes: #11461 Closes: denoland/vscode_deno#414
2021-07-14chore: upgrade to swc 0.46 (#11402)David Sherret
2021-06-25feat(lsp): dependency hover information (#11090)Kitson Kelly
2021-06-21feat(lsp): quick fix actions to ignore lint errors (#10627)Satya Rohith
Closes #10122
2021-06-05fix(lsp): refactor, fix issues and add benchmark for code lens (#10841)Kitson Kelly
2021-05-31fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618)Nayeem Rahman
Fixes #10168 Fixes #10615 Fixes #10616
2021-05-29fix(#10765): lsp import fixes include extensions (#10778)Kitson Kelly
Fixes #10765
2021-05-26feat(lsp): show hints from `deno_lint` in addition to messages (#10739)Yusuke Tanaka
2021-05-25feat(lsp): diagnostics for deno types and triple-slash refs (#10699)Kitson Kelly
Fixes #9823
2021-05-11fix(lsp): remove code_action/diagnostics deadlock (#10555)Kitson Kelly
Landed without test to meet 1.10.0 deadline. See #10587.
2021-05-10chore: upgrade crates (#10559)Bartek Iwańczuk
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-03-25upgrade: Rust 1.51.0 (#9895)Yusuke Tanaka
2021-03-25feat(lsp): add import completions (#9821)Kitson Kelly
2021-02-18fix(lsp): handle data URLs properly (#9522)Kitson Kelly
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-12fix(lsp): properly handle static assets (#9476)Kitson Kelly
2021-02-12feat(lsp): add deno cache code actions (#9471)Kitson Kelly
2021-02-10fix(lsp): handle type deps properly (#9436)Kitson Kelly
Fixes #9425
2021-02-08feat(lsp): add implementations code lens (#9441)Kitson Kelly
2021-02-08fix(lsp): remove Sources mutexBen Noordhuis
The mutex was used to hide the fact that the Sources object mutates itself when it's queried. Be honest about that and mark everything that directly or indirectly mutates it as `mut`. This is a follow-up to commit 2828690fc7bb510c3248dda7b1cda8793e789ca6 from last month ("fix(lsp): fix deadlocks, use one big mutex (#9271)")
2021-02-06fix(lsp): support codeAction/resolve (#9405)Kitson Kelly
2021-02-05feat(lsp): add TS quick fix code actions (#9396)Kitson Kelly
2021-02-01feat(lsp): add references code lens (#9316)Kitson Kelly
2021-01-29Update lspower dependency (#9179)hvithrafn
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka