Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-09 | fix(lsp): respect configured exclusions for testing APIs (#20427) | Nayeem Rahman | |
LSP testing APIs now obey the various file inclusion settings: - Modules shown in the text explorer now respect the `exclude`, `test.exclude` and `test.include` fields in `deno.json`, as well as `deno.enablePaths` in VSCode settings. - Modules with testing code lens now respect the `"exclude"`, `test.exclude` and `test.include` fields in `deno.json`. Code lens already respects `deno.enablePaths`. | |||
2023-09-09 | Reland "refactor(lsp): clean up "enablePaths" handling (#20388)" (#20423) | Nayeem Rahman | |
2023-09-08 | Revert "refactor(lsp): clean up "enablePaths" handling (#20388)" (#20419) | Nayeem Rahman | |
This reverts commit 4a11603c76b13ecf92ce3141ec317a42ae9f8d1d. | |||
2023-09-08 | chore(lsp): remove TestingSettings::enable (#20407) | Nayeem Rahman | |
2023-09-08 | refactor(lsp): clean up "enablePaths" handling (#20388) | Nayeem Rahman | |
Previously we pre-computed enabled paths into `Config::enabled_paths`, and had to keep updating it. Now we determine enabled paths directly from `Config::settings` on demand as a single source of truth. Removes `Config::root_uri`. If `InitializeParams::rootUri` is given, and it doesn't correspond to a folder in `InitializeParams::workspaceFolders`, prepend it to `Config::workspace_folders` as a mocked folder. Includes groundwork for https://github.com/denoland/vscode_deno/issues/908. In a minor version cycle or two we can fix that in vscode_deno, and it won't break for Deno versions post this patch due to the corrected deserialization logic for `enablePaths`. | |||
2023-09-02 | fix(lsp): properly handle disabled configuration requests (#20358) | Nayeem Rahman | |
Fixes #19802. Properly respect when clients do not have the `workspace/configuration` capability, a.k.a. when an editor cannot provide scoped settings on request from the LSP. - Fix one spot where we weren't checking for the capability before sending this request. - For `enablePaths`, fall back to the settings passed in the initialization options in more cases. - Respect the `workspace/configuration` capability in the test harness client. See: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_configuration. | |||
2023-09-01 | Reland "feat(lsp): enable via config file detection (#20334)" (#20349) | Nayeem Rahman | |
2023-09-01 | Revert "feat(lsp): enable via config file detection (#20334)" (#20347) | Bartek Iwańczuk | |
This reverts commit c0dcf6a3571ee04b4826c52d1329804e7c2b02c4. CC @nayeemrmn | |||
2023-08-31 | feat(lsp): enable via config file detection (#20334) | Nayeem Rahman | |
With https://github.com/denoland/vscode_deno/pull/902 for https://github.com/denoland/vscode_deno/issues/880. For multi-folder workspaces, note that this only scans the first one and applies the result to all. That means users would have to still have to specify `"deno.enable": true/false` for their secondary folders if the preference is different for those. | |||
2023-08-26 | feat(lsp): update imports on file rename (#20245) | Nayeem Rahman | |
Closes https://github.com/denoland/vscode_deno/issues/410. | |||
2023-08-06 | feat(unstable): rename `deno_modules` to `vendor` (#20065) | David Sherret | |
Renames the unstable `deno_modules` directory and corresponding settings to `vendor` after feedback. Also causes the vendoring of the `node_modules` directory which can be disabled via `--node-modules-dir=false` or `"nodeModulesDir": false`. | |||
2023-08-02 | feat(unstable): optional `deno_modules` directory (#19977) | David Sherret | |
Closes #15633 | |||
2023-07-21 | fix(lsp): handle watched files events from symlinked config files (#19898) | David Sherret | |
Related to https://github.com/denoland/vscode_deno/issues/784 | |||
2023-07-20 | fix(lsp): auto-discover deno.json in more cases (#19894) | David Sherret | |
We weren't auto-discovering the deno.json in two cases: 1. A project that didn't have a deno.json and just added one. 2. After a syntax error in the deno.json. This now rediscovers it in both these cases. Closes https://github.com/denoland/vscode_deno/issues/867 | |||
2023-07-10 | fix(lsp): exclude files in deno.json "exclude" (#19791) | David Sherret | |
Closes #19788 | |||
2023-07-10 | refactor(lsp): move config file related code to config.rs (#19790) | David Sherret | |
Will make #19788 easier. | |||
2023-05-11 | feat(lsp): ability to configure document pre-load limit (#19097) | David Sherret | |
Adds a `deno.preloadLimit` option (ex. `"deno.preloadLimit": 2000`) which specifies how many file entries to traverse on the file system when the lsp loads or its configuration changes. Closes #18955 | |||
2023-04-01 | fix(lsp): add a document preload file system entry limit (#18553) | David Sherret | |
I was testing this out and it's badly needed. For now, it's not configurable and limited to 1,000 file system entries. Related to #18538 | |||
2023-03-30 | fix(lsp): include all diagnosable documents on initialize (#17979) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/797 Closes https://github.com/denoland/deno/issues/11190 Closes https://github.com/denoland/vscode_deno/issues/811 Closes https://github.com/denoland/vscode_deno/issues/761 Closes https://github.com/denoland/vscode_deno/issues/585 Closes https://github.com/denoland/vscode_deno/issues/561 Closes https://github.com/denoland/vscode_deno/issues/410 | |||
2023-03-15 | fix(lsp): avoid calling client while holding lock (#18197) | David Sherret | |
2023-01-26 | refactor(lsp): fewer clones (#17551) | Geert-Jan Zwiers | |
2023-01-03 | fix(lsp): treat empty string config value as None (#17227) | Leo Kettmeir | |
Fixes #14630 | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-11-28 | refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵ | David Sherret | |
cache folder (#16857) | |||
2022-10-28 | fix(lsp): correct `parameterNames.suppressWhenArgumentMatchesName` and ↵ | David Sherret | |
`variableTypes.suppressWhenTypeMatchesName` (#16469) Closes #16468 | |||
2022-10-16 | feat: support inlay hints (#16287) | Kitson Kelly | |
Closes: #11853 | |||
2022-10-14 | fix(lsp): properly handle snippets on completions (#16274) | Kitson Kelly | |
Fixes #15367 | |||
2022-05-16 | feat(lsp): enable linting by default (#14583) | Bartek Iwańczuk | |
2022-04-03 | refactor(lsp): migrate from lspower back to tower-lsp (#14163) | Jason | |
2022-03-30 | feat(lsp): add experimental testing API (#13798) | Kitson Kelly | |
Ref: denoland/vscode_deno#629 | |||
2022-03-21 | feat(lsp): support deno.enablePaths setting (#13978) | Kitson Kelly | |
Ref: denoland/vscode_deno#633 | |||
2022-02-24 | refactor: remove dead code from lsp (#13743) | Kitson Kelly | |
2022-01-25 | refactor(lsp): remove RwLock on `Config` (#13485) | David Sherret | |
2022-01-24 | fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467) | Kitson Kelly | |
Fixes #13437 | |||
2022-01-19 | refactor(lsp): reduce data stored in `StateSnapshot` (#13426) | David Sherret | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-15 | feat: REPL import specifier auto-completions (#13078) | David Sherret | |
2021-11-16 | refactor: re-export anyhow from deno_core (#12777) | Ryan Dahl | |
2021-11-08 | refactor: move `mod tokio_util` to runtime (#12332) | Bert Belder | |
This avoids a bunch of duplicated code. | |||
2021-08-10 | feat(lsp): support clients which do not support disabled code actions (#11612) | Kitson Kelly | |
Closes: #11610 | |||
2021-07-28 | feat(lsp): ability to set DENO_DIR via settings (#11527) | Kitson Kelly | |
Ref: denoland/vscode_deno#287 | |||
2021-07-21 | feat(lsp): add workspace config to status page (#11459) | Kitson Kelly | |
2021-07-06 | chore: use parking_lot for synchronization primitives to align with tokio ↵ | David Sherret | |
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature | |||
2021-06-22 | feat(cli): support "types" when type checking (#10999) | Kitson Kelly | |
Fixes #10677 | |||
2021-06-15 | Remove various unnecessary allow(clippy) declarations (#10971) | Ryan Dahl | |
2021-06-07 | feat(lsp): add test code lens (#10874) | Kitson Kelly | |
Ref #8643 | |||
2021-06-01 | feat(lsp): registry auto discovery (#10813) | Kitson Kelly | |
Closes: #10194 Fixes: #10468 | |||
2021-06-01 | fix(lsp): updates to workspace config are processed sync (#10812) | Kitson Kelly | |
2021-05-20 | fix(lsp): re-enable the per resource configuration without a deadlock (#10625) | Kitson Kelly | |
Fixes #10603 | |||
2021-05-12 | fix(#10603): revert minimal changes to resolve deadlock bug (#10605) | Kitson Kelly | |