Mathias Lafeldt
4b01ef5c23
chore: use Rust 1.64.0 ( #16035 )
2022-09-26 21:52:16 +02:00
David Sherret
e1c90963fb
refactor: create args
folder ( #14982 )
2022-06-27 16:54:09 -04:00
David Sherret
1fcecb6789
refactor: upgrade to deno_ast 0.15 ( #14680 )
2022-05-20 16:40:55 -04:00
David Sherret
c0e3b6096d
refactor(lsp): store all the assets in Rust when initializing ( #14367 )
2022-04-25 11:23:24 -04:00
Jason
a6e4b4297d
refactor(lsp): migrate from lspower back to tower-lsp ( #14163 )
2022-04-03 14:17:30 +10:00
David Sherret
53dac7451b
chore: remove all pub(crate)
s from the cli crate ( #14083 )
2022-03-23 09:54:22 -04:00
Kitson Kelly
973fe6dd3a
refactor: remove dead code from lsp ( #13743 )
2022-02-24 08:01:20 +11:00
Kitson Kelly
af5a373e00
feat(lsp): add redirect diagnostic and quick fix ( #13580 )
...
Ref: #12864
2022-02-04 18:14:57 +11:00
David Sherret
f73a5fbc89
refactor(lsp): reduce data stored in StateSnapshot
( #13426 )
2022-01-19 17:10:14 -05:00
David Sherret
1cece36fa5
refactor(lsp): store the LspUrlMap
's state inside a mutex ( #13416 )
2022-01-19 11:38:40 -05:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Divy Srivastava
6de53b631f
refactor: use once_cell
instead of lazy_static
( #13135 )
2021-12-18 16:14:42 -05:00
Kitson Kelly
e28fb70aee
fix(lsp): provide diagnostics for import assertions ( #13105 )
...
Fixes: #13099
2021-12-16 14:53:17 +11:00
Bartek Iwańczuk
e68a241946
chore: upgrade lspower to 1.4.0 ( #12894 )
2021-11-25 12:10:12 +11:00
Ryan Dahl
b2036a4db7
refactor: re-export anyhow from deno_core ( #12777 )
2021-11-16 09:02:28 -05:00
Zheyu Zhang
efe956b4fd
fix(lint): use recommended tag if there is no tags in config file or flags ( #12644 )
2021-11-04 11:12:12 -04:00
Kitson Kelly
34a9ddff09
refactor(lsp): use deno_graph and single document struct ( #12535 )
...
Closes #12473
2021-10-29 10:56:01 +11:00
David Sherret
9b1f0c8ba3
chore: upgrade crates based on deno ast 0.3 ( #12403 )
2021-10-12 09:58:04 -04:00
Bartek Iwańczuk
f332d72f16
fix(lsp): lint diagnostics respect config file ( #12338 )
...
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-10-12 00:02:33 +02:00
Kitson Kelly
a7baf5f2bb
refactor: integrate deno_graph into CLI ( #12369 )
2021-10-11 08:26:22 +11:00
Satya Rohith
bb7ee4f445
feat(lsp): ignore specific lint for entire file ( #12023 )
2021-09-14 17:46:51 +05:30
David Sherret
00d62e64bf
chore(lsp): temporarily reparse AST for linting ( #11988 )
2021-09-12 09:42:11 -04:00
Bartek Iwańczuk
d236f432b8
refactor: use import_map crate ( #11974 )
...
Removes ImportMap implementation from "cli/" and instead
uses "import_map" crate
2021-09-11 03:38:24 +02:00
David Sherret
2c2e3ec1ca
refactor(lsp): use deno_ast and cache swc ASTs ( #11780 )
2021-09-07 10:39:32 -04:00
Bartek Iwańczuk
c84532b6d5
chore: upgrade crates ( #11894 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-09-02 17:38:19 +02:00
David Sherret
466d3df9d1
refactor: make ParsedModule
implement Sync
( #11581 )
2021-08-06 10:36:16 -04:00
Yusuke Tanaka
8f00b5542c
chore: upgrade Rust to 1.54.0 ( #11554 )
2021-07-30 15:03:41 +02:00
Kitson Kelly
bdc53b45b7
fix(lsp): do not populate maybe_type slot with import type dep ( #11477 )
...
Fixes: #11458
Fixes: #11461
Closes: denoland/vscode_deno#414
2021-07-22 15:00:45 +10:00
David Sherret
79ac050d29
chore: upgrade to swc 0.46 ( #11402 )
2021-07-14 21:28:01 -04:00
Kitson Kelly
9e51766f3e
feat(lsp): dependency hover information ( #11090 )
2021-06-25 09:06:51 +10:00
Satya Rohith
952caa79b3
feat(lsp): quick fix actions to ignore lint errors ( #10627 )
...
Closes #10122
2021-06-21 16:43:35 +10:00
Kitson Kelly
e8be116ab6
fix(lsp): refactor, fix issues and add benchmark for code lens ( #10841 )
2021-06-05 07:31:44 +10:00
Nayeem Rahman
3a33510bd4
fix(cli): Don't statically error on dynamic unmapped bare specifiers ( #10618 )
...
Fixes #10168
Fixes #10615
Fixes #10616
2021-05-31 10:20:34 +10:00
Kitson Kelly
bbefceddb9
fix( #10765 ): lsp import fixes include extensions ( #10778 )
...
Fixes #10765
2021-05-29 21:21:11 +10:00
Yusuke Tanaka
02a4e7dc7c
feat(lsp): show hints from deno_lint
in addition to messages ( #10739 )
2021-05-26 08:15:09 +10:00
Kitson Kelly
cd4194a5e4
feat(lsp): diagnostics for deno types and triple-slash refs ( #10699 )
...
Fixes #9823
2021-05-25 12:34:01 +10:00
Kitson Kelly
41a3b17de4
fix(lsp): remove code_action/diagnostics deadlock ( #10555 )
...
Landed without test to meet 1.10.0 deadline. See #10587 .
2021-05-11 10:43:00 -04:00
Bartek Iwańczuk
c44e53a5b6
chore: upgrade crates ( #10559 )
2021-05-10 22:39:16 +02:00
Ryan Dahl
f46e39c5c5
remove macro_use ( #9884 )
2021-03-26 12:34:25 -04:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Kitson Kelly
5ebb401703
feat(lsp): add import completions ( #9821 )
2021-03-25 11:13:37 +11:00
Kitson Kelly
2225e83da2
fix(lsp): handle data URLs properly ( #9522 )
...
Fixes #9514
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-18 15:37:05 +11:00
Ryan Dahl
c7dabc99ee
Make ModuleSpecifier a type alias, not wrapper struct ( #9531 )
2021-02-17 13:47:18 -05:00
Kitson Kelly
79916226b7
fix(lsp): properly handle static assets ( #9476 )
2021-02-12 22:49:42 +11:00
Kitson Kelly
d6c05b09dd
feat(lsp): add deno cache code actions ( #9471 )
2021-02-12 15:17:48 +11:00
Kitson Kelly
6752be05cd
fix(lsp): handle type deps properly ( #9436 )
...
Fixes #9425
2021-02-10 09:46:12 +11:00
Kitson Kelly
e368c5d0f9
feat(lsp): add implementations code lens ( #9441 )
2021-02-08 21:45:10 +11:00
Ben Noordhuis
be10db10fd
fix(lsp): remove Sources mutex
...
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 2828690fc7
from last month ("fix(lsp): fix deadlocks, use one big mutex (#9271 )")
2021-02-08 10:47:32 +01:00
Kitson Kelly
b6353672f8
fix(lsp): support codeAction/resolve ( #9405 )
2021-02-06 07:10:53 +11:00
Kitson Kelly
b77fcbc518
feat(lsp): add TS quick fix code actions ( #9396 )
2021-02-05 05:53:02 +11:00