summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
AgeCommit message (Collapse)Author
2021-03-01fix(lsp): improve exception handling on tsc snapshots (#9628)Kitson Kelly
Refs #9348
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-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-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-26fix(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-26fix(lsp): reduce deadlocks with in memory documents (#9259)Kitson Kelly
2021-01-22fix(lsp): handle mbc documents properly (#9151)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-16refactor(lsp): don't duplicate fields present in DocumentSpan (#9131)Hirochika Matsumoto
2021-01-13feat(lsp): Add textDocument/implementation (#9071)Hirochika Matsumoto
Ref #8643
2021-01-11upgrade: tokio 1.0 (#8779)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06refactor(cli): remove 'js' module, simplify compiler snapshot (#9020)Bartek Iwańczuk
This commit removes "js" module from "cli". It contained stuff related to TypeScript compiler (snapshot, declaration files) and thus it was moved to "tsc" module.
2020-12-31feat(lsp): support specifying a tsconfig file (#8926)Kitson Kelly
2020-12-30fix(lsp): handle ts debug errors better (#8914)Kitson Kelly
Fixes #8864
2020-12-30feat(lsp): Implement textDocument/rename (#8910)hrsh7th
2020-12-24fix(lsp): provide diagnostics for unresolved modules (#8872)Kitson Kelly
2020-12-21refactor: rewrite lsp to be async (#8727)Luca Casonato
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-12-16refactor(lsp): optimise static assets (#8771)Kitson Kelly
Fixes #8158
2020-12-10feat(lsp): support import maps (#8683)Kitson Kelly
2020-12-08fix: pull .d.ts files from js mod (#8671)Bartek Iwańczuk
2020-12-08feat(lsp): basic support for textDocument/completion (#8651)Luca Casonato
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400