Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-12 | refactor(lsp): prefer using document instead of documents collection (#12720) | David Sherret | |
2021-11-08 | refactor: move `mod tokio_util` to runtime (#12332) | Bert Belder | |
This avoids a bunch of duplicated code. | |||
2021-10-29 | refactor(lsp): use deno_graph and single document struct (#12535) | Kitson Kelly | |
Closes #12473 | |||
2021-10-12 | fix(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-09-07 | refactor(lsp): use deno_ast and cache swc ASTs (#11780) | David Sherret | |
2021-07-30 | chore: upgrade Rust to 1.54.0 (#11554) | Yusuke Tanaka | |
2021-07-25 | fix(lsp): handle importmaps properly (#11496) | Kitson Kelly | |
Fixes: #11146 Fixes: #11456 Fixes: #10439 | |||
2021-06-03 | fix(#10775): diagnostics update on dependency changes (#10817) | Kitson Kelly | |
Fixes #10775 | |||
2021-06-02 | fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816) | Kitson Kelly | |
Fixes #10815 | |||
2021-05-25 | feat(lsp): diagnostics for deno types and triple-slash refs (#10699) | Kitson Kelly | |
Fixes #9823 | |||
2021-05-20 | fix(lsp): re-enable the per resource configuration without a deadlock (#10625) | Kitson Kelly | |
Fixes #10603 | |||
2021-05-19 | fix(#10695): deps diagnostics include data property (#10696) | Kitson Kelly | |
Fixes #10695 | |||
2021-05-18 | feat(lsp): provide X-Deno-Warning as a diagnostic (#10680) | Kitson Kelly | |
Closes #9932 | |||
2021-05-18 | feat(lsp): support formatting json and markdown files (#10180) | Satya Rohith | |
Resolves #9447 Resolves #9415 | |||
2021-05-11 | fix(lsp): remove code_action/diagnostics deadlock (#10555) | Kitson Kelly | |
Landed without test to meet 1.10.0 deadline. See #10587. | |||
2021-05-11 | feat(lsp): add internal debugging logging (#10438) | Kitson Kelly | |
Ref: #10368 | |||
2021-05-10 | feat: support workspace folders configuration (#10488) | Kitson Kelly | |
Ref #8643 | |||
2021-05-07 | refactor(lsp): publish diagnostics independently (#10525) | Kitson Kelly | |
Resolves #10518 | |||
2021-03-26 | remove macro_use (#9884) | Ryan Dahl | |
2021-03-25 | upgrade: Rust 1.51.0 (#9895) | Yusuke Tanaka | |
2021-03-18 | refactor(lsp): slightly reorganize diagnostics debounce logic (#9796) | Bert Belder | |
This patch doesn't actually fix the bug I was hoping to fix, which is that `update_diagnostics()` sometimes gets called even when there are more updates that should be processed first. I did eventually figure out that this issue is caused by Tokio's cooperative yielding, which currently can't be disabled. However overall it makes the debounce code somewhat more readable IMO, which is why I'm suggesting to land it anyway. | |||
2021-03-10 | fix(lsp): diagnostics use own thread and debounce (#9572) | Kitson Kelly | |
2021-02-18 | fix(lsp): handle data URLs properly (#9522) | Kitson Kelly | |
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-17 | Make ModuleSpecifier a type alias, not wrapper struct (#9531) | Ryan Dahl | |
2021-02-12 | fix(lsp): properly handle static assets (#9476) | Kitson Kelly | |
2021-02-12 | feat(lsp): add deno cache code actions (#9471) | Kitson Kelly | |
2021-02-10 | fix(lsp): handle type deps properly (#9436) | Kitson Kelly | |
Fixes #9425 | |||
2021-01-29 | Update lspower dependency (#9179) | hvithrafn | |
2021-01-26 | fix(lsp): complete list of unused diagnostics (#9274) | Kitson Kelly | |
2021-01-26 | fix(lsp): fix deadlocks, use one big mutex (#9271) | Ben Noordhuis | |
The LSP code had numerous places where competing threads could take out out locks in different orders, making it very prone to deadlocks. This commit sidesteps the entire issue by switching to a single lock. The above is a little white lie: the Sources struct still uses a mutex internally to avoid having to boil the ocean (because being honest about what it does involves changing all its methods to `&mut self` but that ripples out extensively...) I'll save that one for another day. | |||
2021-01-26 | fix(lsp): reduce deadlocks with in memory documents (#9259) | Kitson Kelly | |
2021-01-22 | fix(lsp): handle mbc documents properly (#9151) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2020-12-31 | feat(lsp): support specifying a tsconfig file (#8926) | Kitson Kelly | |
2020-12-30 | feat(lsp): add cache command (#8911) | Kitson Kelly | |
2020-12-30 | fix(lsp): handle ts debug errors better (#8914) | Kitson Kelly | |
Fixes #8864 | |||
2020-12-24 | fix(lsp): provide diagnostics for unresolved modules (#8872) | Kitson Kelly | |
2020-12-21 | refactor: rewrite lsp to be async (#8727) | Luca Casonato | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2020-12-07 | feat: add mvp language server (#8515) | Kitson Kelly | |
Resolves #8400 |