Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-24 | perf(lsp): independent diagnostic source publishes (#13427) | David Sherret | |
2022-01-19 | refactor(lsp): reduce data stored in `StateSnapshot` (#13426) | David Sherret | |
2022-01-17 | refactor(lsp): remove `performance` from `StateSnapshot` (#13403) | David Sherret | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-16 | fix(lsp): provide diagnostics for import assertions (#13105) | Kitson Kelly | |
Fixes: #13099 | |||
2021-12-15 | feat: REPL import specifier auto-completions (#13078) | David Sherret | |
2021-11-25 | chore: upgrade lspower to 1.4.0 (#12894) | Bartek Iwańczuk | |
2021-11-24 | fix(lsp): lsp should respect include/exclude files in format config (#12876) | David Sherret | |
2021-11-23 | chore(lsp): fix possible race condition with tests expecting 3 ↵ | David Sherret | |
publishDiagnostics messages (#12868) The tests expect 3 publish notifications. It was possible for less than 3 to occur if two or more tasks set the diagnostics in the collection, exited the lock at the same time, then called `publish_diagnostics` | |||
2021-11-23 | fix(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-22 | fix(lsp): use lint exclude files list from the config file (#12825) | igorsaux | |
2021-11-18 | refactor(lsp): remove `Documents` mutex and require `Documents` to be ↵ | David Sherret | |
mutated to change it (#12747) | |||
2021-11-18 | fix(lsp): tag deprecated diagnostics properly (#12801) | Kitson Kelly | |
2021-11-17 | fix(lsp): retain module dependencies when parse is invalid (#12782) | Kitson Kelly | |
Fixes #12753 | |||
2021-11-16 | refactor: re-export anyhow from deno_core (#12777) | Ryan Dahl | |
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 | |