summaryrefslogtreecommitdiff
path: root/cli/lsp/language_server.rs
AgeCommit message (Collapse)Author
2021-11-09feat(cli): support React 17 JSX transforms (#12631)Kitson Kelly
Closes #8440
2021-11-08fix(lsp): display module types only dependencies on hover (#12683)Kitson Kelly
Fixes: #12675
2021-11-04Revert "feat(cli): enable `useUnknownInCatchVariables` by default" (#12643)Luca Casonato
This partially reverts commit a065604155991dbf4417b606d4562d275cd8955f. Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-11-01chore: upgrade deno_ast to 0.5.0 (#12595)David Sherret
2021-10-29refactor(lsp): use deno_graph and single document struct (#12535)Kitson Kelly
Closes #12473
2021-10-28feat(cli): enable `useUnknownInCatchVariables` by default (#12547)Kitson Kelly
Closes #11826 **BREAKING CHANGE** this behaviour was disable when introduced in Deno 1.14/TypeScript 4.4. It will highlight code that unsafely handles variables that are caught, and will cause type errors in unsafe code.
2021-10-21fix(lsp): formatting should error on certain additional swc diagnostics (#12491)David Sherret
2021-10-12fix(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-10-11refactor: integrate deno_graph into CLI (#12369)Kitson Kelly
2021-09-16fix(lsp): align filter text to vscode logic (#12081)Kitson Kelly
Fixes #11861
2021-09-13feat(fmt): add support for configuration file (#11944)Bartek Iwańczuk
This commit adds support for configuration file for "deno fmt" subcommand. It is also respected by LSP when formatting files. Example configuration: { "fmt": { "files": { "include": ["src/"], "exclude": ["src/testdata/"] }, "options": { "useTabs": true, "lineWidth": 80, "indentWidth": 4, "singleQuote": true, "textWrap": "preserve" } } }
2021-09-13fix(lsp): support data urls in `deno.importMap` option (#11397)Satya Rohith
2021-09-11refactor: use import_map crate (#11974)Bartek Iwańczuk
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-09-03feat(lint): add support for config file and CLI flags for rules (#11776)Bartek Iwańczuk
This commit adds support for following flags in deno lint subcommand: --config - allows to load configuration file and parses "lint" object --rules-tags=<tags> - allows specifying which set of tagged rules should be run --rules-include=<rules> - allow specifying which rules should be run --rules-exclude=<rules> - allow specifying which rules should not be run
2021-08-27feat(cli): Update to TypeScript 4.4 (#11678)Kitson Kelly
2021-08-19fix(lsp): better handling of languageId (#11755)Kitson Kelly
Fixes #11521 Fixes #11742
2021-08-10feat(lsp): support clients which do not support disabled code actions (#11612)Kitson Kelly
Closes: #11610
2021-08-06feat(lsp): implement refactoring code actions (#11555)Jean Pierre
Closes: denoland/vscode_deno#433
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-07-28feat(lsp): ability to set DENO_DIR via settings (#11527)Kitson Kelly
Ref: denoland/vscode_deno#287
2021-07-27refactor(lsp): minor improvements to handling closed documents (#11518)Kitson Kelly
Ref #10897
2021-07-25fix(lsp): handle importmaps properly (#11496)Kitson Kelly
Fixes: #11146 Fixes: #11456 Fixes: #10439
2021-07-21feat(lsp): add workspace config to status page (#11459)Kitson Kelly
2021-06-25fix(lsp): reload import registries should not error when the module ↵David Sherret
registries directory does not exist (#11123)
2021-06-25feat(lsp): dependency hover information (#11090)Kitson Kelly
2021-06-24fix(lsp): handle invalid config setting better (#11104)Kitson Kelly
Fixes #11100 Fixes #10808
2021-06-22chore: use lsp to get parent process id (#11083)David Sherret
Removes the previously added internal `--parent-pid` flag. This solution is better.
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-06-21feat(lsp): quick fix actions to ignore lint errors (#10627)Satya Rohith
Closes #10122
2021-06-19fix(lsp): do not rename in strings and comments (#11041)David Sherret
2021-06-17chore: upgrade Rust to 1.53.0 (#11021)Yusuke Tanaka
2021-06-09feat(lsp): add additional logging information (#10890)Kitson Kelly
2021-06-07feat(lsp): add test code lens (#10874)Kitson Kelly
Ref #8643
2021-06-06fix(#10747): cannot read config option in windows (#10791)jeiea
Fixes #10747
2021-06-05fix(lsp): refactor, fix issues and add benchmark for code lens (#10841)Kitson Kelly
2021-06-03fix(#10775): diagnostics update on dependency changes (#10817)Kitson Kelly
Fixes #10775
2021-06-02fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816)Kitson Kelly
Fixes #10815
2021-06-01feat(lsp): registry auto discovery (#10813)Kitson Kelly
Closes: #10194 Fixes: #10468
2021-06-01fix(lsp): updates to workspace config are processed sync (#10812)Kitson Kelly
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