Michael Gruenewald
291aa7a602
Don't add cargo to requiresServerReloadOpts
2025-10-26 13:22:52 +01:00
Michael Gruenewald
c5893b7c5e
Format fixes
2025-10-13 15:02:45 +02:00
Michael Gruenewald
ec45211823
Don't override users' settings
2025-10-13 15:02:45 +02:00
Michael Gruenewald
8355233a19
docs
2025-10-13 15:02:45 +02:00
Michael Gruenewald
c10226a8a1
Remember configuration overrides by extensions
2025-10-13 15:02:45 +02:00
Michael Gruenewald
d1bfff1e39
Allow other extensions to override the configuration
2025-10-13 15:02:45 +02:00
Michael Gruenewald
410cf5575d
Don't pretend to have a WorkspaceConfiguration if there isn't one
2025-10-13 15:02:45 +02:00
Lukas Wirth
2a577eb2f5
Unherit server extra env for runnables extra env
2025-07-27 14:09:21 +02:00
Lukas Wirth
92d56156a4
fix: Fix runnables extra env not substituting env vars
2025-07-27 14:07:10 +02:00
Lukas Wirth
24b0666d93
fix: Reload workspaces when cargo configs change
2025-06-17 11:13:56 +02:00
Lukas Wirth
05b374acd4
feat: Allow unsetting env vars in server.extraEnv config
2025-04-21 10:38:54 +02:00
Clouds Flowing
f66a3413db
add normalizeDriveLetter
2025-04-14 11:23:31 +08:00
Lukas Wirth
78f4146dc7
chore: Cleanup vscode extension output channels
2025-03-24 07:44:46 +01:00
Chayim Refael Friedman
0afa5e8096
Mark rust-analyzer.showSyntaxTree config option as requiring server restart
...
We register the provider when we start the server. It confused me why I set the option and it didn't work, so probably better to have it hint people.
2025-03-07 00:16:54 +02:00
BenjaminBrienen
00726cf697
Update Node.js, vscode, and ts deps
2025-02-27 20:53:48 +01:00
Giga Bowser
5ffe45d8cd
Add a new and improved syntax tree viewer
2025-01-09 13:20:06 -06:00
roife
edb61b10ab
feat: support UpdateTest in codelens
2024-12-26 19:50:32 +08:00
Mark Murphy
ed0df3094b
change config rust-analyzer.statusBar.documentSelector to showStatusBar
2024-12-20 16:41:41 -05:00
David Richey
cf80dddb59
Only show status bar item in relevant files
2024-12-03 14:40:26 +00:00
Lukas Wirth
d75f996722
Fix debug configuration querying not inheriting environment
2024-12-02 13:02:31 +01:00
Daan Sieben
928ea2e8fb
feat: support initializeStopped setting
2024-10-21 10:58:54 +02:00
Chayim Refael Friedman
4ea09dd9f6
Provide an config option to not set cfg(test)
2024-09-30 00:12:45 +03:00
bors
62649a57be
Auto merge of #17923 - basvandriel:feature/build-before-restart-debug, r=Veykril
...
Building before a debugging session was restarted
# Background
Resolves #17901 . It adds support for rebuilding after debugging a test was restarted. This means the test doesn't have to be aborted and manually re-ran again.
# How this is tested
First, all the Visual Studio Code extensions are loaded into an Extension Host window. Then, a sample test like below was ran and restarted to see if it was correctly rebuild.
```rust
#[test]
fn test_x() {
assert_eq!("1.1.1", "1.1.0");
}
```
2024-09-27 11:06:21 +00:00
Bas van Driel
b4f278b463
Changes for debug restarting
2024-09-25 15:02:36 +02:00
David Richey
ac6a3f82cd
Remove rust-analyzer.workspace.discoverProjectRunner
2024-08-16 09:50:45 -05:00
Josh McKinney
45a881313a
feat: use vscode log format for client logs
...
This change updates the log format to use the vscode log format instead
of the custom log format, by replacing the `OutputChannel` with a
`LogOutputChannel` and using the `debug`, `info`, `warn`, and `error`
methods on it. This has the following benefits:
- Each log level now has its own color and the timestamp is in a more
standard format
- Inspect output (e.g. the log of the config object) is now colored
- Error stack traces are now shown in the output
- The log level is now controlled on the output tab by clicking the gear
icon and selecting "Debug" or by passing the `--log` parameter to
vscode. The `trace.extension` setting has been marked as deprecated.
2024-07-27 21:43:35 -07:00
David Barsky
2783aa7312
internal: remove UnindexedProject notification
...
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
2024-07-23 13:34:04 -04:00
Lukas Wirth
bb9678ea3b
fix: Fix runnables being incorrectly constructed
2024-07-06 20:23:14 +02:00
Lukas Wirth
7733403056
Fix passing message-format after -- in debugging
2024-07-06 18:03:33 +02:00
Lukas Wirth
ff07caa9de
Tidy up vscode extension a bit
2024-06-19 09:42:06 +02:00
hkalbasi
34cde2cebc
Prompt the user to reload the window when enabling test explorer
2024-03-29 18:08:16 +03:30
Lukas Wirth
1c6d1b4f2a
fix: Add config and capability for test explorer
2024-03-06 19:20:58 +01:00
Lukas Wirth
3fc043ce9b
internal: Remove unnecessary Arc allocations in macro_expand
2024-01-03 15:21:18 +01:00
dfireBird
ab091b73d0
Add config for the default click action of extension status bar
2023-10-04 21:07:50 +05:30
David Barsky
b1b044f2d5
code: yeet rust-analyzer.discoverProjectCommand
2023-09-05 12:38:33 -04:00
Lukas Wirth
e76d20e072
Add status bar button to toggle check on save state
2023-08-15 11:39:53 +02:00
vsrs
3468b093bd
Platform specific runnables env
2023-07-18 17:51:57 +07:00
Tetsuharu Ohzeki
f7823f3106
editor/code: Re-apply code format
2023-07-13 22:44:29 +09:00
Tetsuharu Ohzeki
445b4fc27f
editor/code: Sort the style to import types
...
see:
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.md
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.md
2023-07-11 06:12:00 +09:00
bors
09f666b51b
Auto merge of #15227 - DropDemBits:indent-on-blank-line, r=lnicola
...
fix: Indent after pressing enter on a blank line
Regressed after https://github.com/rust-lang/rust-analyzer/pull/13975 (whoops).
2023-07-07 09:06:56 +00:00
DropDemBits
ebaf8c8135
fix: Indent after pressing enter on a blank line
2023-07-06 23:25:02 -04:00
Tetsuharu Ohzeki
f70845305f
editor/code: Enable noPropertyAccessFromIndexSignature ts option
2023-07-06 16:17:02 +09:00
Tetsuharu Ohzeki
72a3883a71
editor/code: Enable noUncheckedIndexedAccess ts option
...
https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAccess
2023-07-06 16:17:02 +09:00
Alex Kladov
832a64e290
feat: don't add panics to error jump list by default
...
To re-enable this, use
"rust-analyzer.runnables.problemMatcher": [
"$rustc",
"$rust-panic"
],
setting.
closes : #14977
2023-06-30 22:23:13 +01:00
Mohsen Alizadeh
3f70117d69
fallback to old key
2023-06-28 21:24:28 -07:00
Mohsen Alizadeh
6c3e15aaa0
13583 rename runnable env to runnables extra env
2023-06-25 17:26:04 -07:00
David Barsky
7dfef85be6
fix: add a toggle to disable the dependency explorer.
2023-05-26 11:50:07 -04:00
Lukas Wirth
cf8f13b531
fix: Fix restart server button trying to start instead of restart the server
2023-04-28 21:34:31 +02:00
David Barsky
bd545a1c10
Address review comments
2023-03-14 12:49:35 -04:00
David Barsky
8d9bff0c74
Add a workspace config-based approach to reloading discovered projects.
2023-03-13 13:30:19 -04:00