summaryrefslogtreecommitdiff
path: root/cli/lsp/language_server.rs
AgeCommit message (Collapse)Author
2021-05-29fix(#10765): lsp import fixes include extensions (#10778)Kitson Kelly
Fixes #10765
2021-05-20fix(lsp): re-enable the per resource configuration without a deadlock (#10625)Kitson Kelly
Fixes #10603
2021-05-18fix(lsp): make failed to load config error descriptive (#10685)Satya Rohith
2021-05-18feat(lsp): support formatting json and markdown files (#10180)Satya Rohith
Resolves #9447 Resolves #9415
2021-05-18refactor: share test harness for lsp between bench and integration (#10659)Kitson Kelly
2021-05-15docs(cli/dts): fix link from master to main (#10633)Yusuke Tanaka
2021-05-13fix(lsp): remove duplicate cwd in config path (#10620)Niclas Overby
2021-05-12fix(#10603): revert minimal changes to resolve deadlock bug (#10605)Kitson Kelly
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-11feat(lsp): add internal debugging logging (#10438)Kitson Kelly
Ref: #10368
2021-05-10fix(cli): typings for `Deno.os.arch` (#10541)Elias Sjögreen
2021-05-10refactor(cli): replace loading file for --config flag with generic structure ↵Bartek Iwańczuk
(#10481) Currently file passed to --config file is parsed using TsConfig structure that does multiple things when loading the file. Instead of relying on that structure I've introduced ConfigFile structure that can be updated to sniff out more fields from the config file in the future.
2021-05-10feat: support workspace folders configuration (#10488)Kitson Kelly
Ref #8643
2021-04-23Use ubuntu-latest-xl on more CI jobs (#10322)Ryan Dahl
2021-04-21fix(lsp): document symbol performance mark (#10264)Jean Pierre
2021-04-20feat(lsp): Implement textDocument/documentSymbol (#9981)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-20feat(lsp): Implement textDocument/semanticTokens/full (#10233)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-20fix(#10125): remove documents when closed in the lsp (#10254)Kitson Kelly
Fixes #10125
2021-04-20feat(lsp): improve diagnostic status page (#10253)Kitson Kelly
2021-04-19feat(lsp): implement textDocument/prepareCallHierarchy (#10061)Jean Pierre
2021-04-11feat: set useDefineForClassFields to true (#10119)Nayeem Rahman
Fixes: #9773
2021-04-09feat(lsp): add registry import auto-complete (#9934)Kitson Kelly
2021-04-07fix(lsp): don't error on tsc debug failures for code actions (#10047)Kitson Kelly
Resolves: #9913
2021-04-06fix(lsp): properly handle encoding URLs from lsp client (#10033)Kitson Kelly
Fixes #9741
2021-04-02feat(lsp): implement textDocument/foldingRange (#9900)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01fix(lsp): ensure insert_text is passed back on completions (#9951)Kitson Kelly
Fixes #9920
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-03-25feat(lsp): add import completions (#9821)Kitson Kelly
2021-03-24feat(lsp): implement textDocument/selectionRange (#9845)Jean Pierre
Ref: #8643
2021-03-16refactor(lsp): refactor completions and add tests (#9789)Kitson Kelly
2021-03-15Revert "fix(cli/module_graph): Set useDefineForClassFields to true" (#9792)Ryan Dahl
Backwards incompatible change cannot be made in-between patch releases. This commit broke std tests https://github.com/denoland/deno_std/runs/2112369372 This reverts commit c4709834b37640fd3c9d492123e6add904546573.
2021-03-15fix(cli/module_graph): Set useDefineForClassFields to true (#9774)Nayeem Rahman
Fixes #9773
2021-03-10fix(lsp): diagnostics use own thread and debounce (#9572)Kitson Kelly
2021-02-25feat(runtime): stabilise permissions and add event target capabilities (#9573)Kitson Kelly
2021-02-25reafactor(lsp): use generics with JSON values (#9587)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-18fix(lsp): document spans use original range (#9525)Kitson Kelly
Fixes: #9444 Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-16feat(lsp): Implement `textDocument/signatureHelp` (#9330)Yuki Tanaka
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-15fix(lsp): handle cached type dependencies properly (#9500)Kitson Kelly
2021-02-12fix(lsp): properly handle static assets (#9476)Kitson Kelly
2021-02-12chore: Update to Rust 1.50.0 (#9479)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-09fix(lsp): handle code lenses for non-documents (#9454)Kitson Kelly
2021-02-08fix(lsp): prepare diagnostics when the config changes (#9438)Kitson Kelly
2021-02-08feat(lsp): add implementations code lens (#9441)Kitson Kelly
2021-02-08feat(lsp): add asset cache regression testKitson Kelly
When we migrated away from all the locks, there was a regression that was not caught immediately. The tsc::get_asset() would attempt to modify the snapshot, but the problem was that the snapshot was a .clone() of the inner language server's assets, which meant that modifications to that where lost. When we then attempted to do a hover on those assets, the inner language servers assets didn't have the retrieved asset, and therefore would throw an error.
2021-02-08fix(lsp): DRY asset cache lookup logicBen Noordhuis
2021-02-08fix(lsp): fix asset cache lookup regressionBen Noordhuis
Commit 2828690fc ("fix(lsp): fix deadlocks, use one big mutex") from last month introduced a regression in asset cache lookups where results of lazy caching were lost due to operating on a copy of the asset cache. This commit fixes that by copying the asset from the copy to the real cache.