Kitson Kelly
534531e4dd
feat(lsp): add references code lens ( #9316 )
2021-02-01 14:30:41 +11:00
hvithrafn
013b8fe606
Update lspower dependency ( #9179 )
2021-01-29 14:34:33 -05:00
Kitson Kelly
e7323002d9
feat(lsp): add performance measurements ( #9209 )
2021-01-27 11:32:49 +11:00
Kitson Kelly
ada43cc56a
fix(lsp): handle mbc properly when formatting ( #9273 )
2021-01-27 07:50:13 +11:00
Luca Casonato
40fc5f55ea
chore: update crates ( #9251 )
...
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0).
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-26 17:00:40 +01:00
Ben Noordhuis
2828690fc7
fix(lsp): fix deadlocks, use one big mutex ( #9271 )
...
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 10:55:04 +01:00
Kitson Kelly
2b4e0be43c
fix(lsp): reduce deadlocks with in memory documents ( #9259 )
2021-01-26 10:47:12 +11:00
Kitson Kelly
1a9209d1e3
fix(lsp): handle mbc documents properly ( #9151 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-22 21:03:16 +11:00
Hirochika Matsumoto
4b2df87c54
refactor(lsp): don't duplicate fields present in DocumentSpan ( #9131 )
2021-01-16 13:00:42 +01:00
Hirochika Matsumoto
8d5af6ca52
feat(lsp): Add textDocument/implementation ( #9071 )
...
Ref #8643
2021-01-13 08:53:27 +11:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Valentin Anger
444eca80a9
fix(lsp): Respect client capabilities for config and dynamic registration ( #8865 )
2021-01-05 08:52:20 +11:00
Kitson Kelly
587155f86d
feat(lsp): support specifying a tsconfig file ( #8926 )
2020-12-31 14:33:44 +11:00
Kitson Kelly
8011eced14
feat(lsp): add cache command ( #8911 )
2020-12-30 15:17:17 +11:00
Kitson Kelly
e8a81724bb
fix(lsp): handle ts debug errors better ( #8914 )
...
Fixes #8864
2020-12-30 12:46:58 +11:00
hrsh7th
57b0562957
feat(lsp): Implement textDocument/rename ( #8910 )
2020-12-30 11:58:20 +11:00
Kitson Kelly
a4d557126e
fix(lsp): provide diagnostics for unresolved modules ( #8872 )
2020-12-24 21:53:03 +11:00
Kitson Kelly
097c3379ba
feat(lsp): support the unstable setting ( #8851 )
2020-12-22 21:21:18 +11:00
Kitson Kelly
b091c6c8c9
fix(lsp): respect enable flag for requests ( #8850 )
2020-12-22 16:42:32 +11:00
Luca Casonato
bd85d0ed42
refactor: rewrite lsp to be async ( #8727 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-12-21 08:44:26 -05:00