Andrei Listochkin
cb523fc88a
pass cargo extra args when debug
...
fixes #17128
2024-06-25 18:13:08 +01:00
Wilfred Hughes
e62bc2d1f5
fix: Improve hover text in unlinked file diagnostics
...
Use full sentences, and mention how to disable the diagnostic
if users are intentionally working on unowned files.
2024-06-20 09:32:48 -07:00
panicbit
792155e790
remove panicbit.cargo extension warning
2024-06-19 15:37:09 +02:00
bors
87ee18da54
Auto merge of #17438 - jjoeldaniel:toggle_lsp_logs, r=Veykril
...
feat: add `toggleLSPLogs` command
Implement client-side command to toggle LSP logs in VSCode.
The command replaces the need to add/remove the `"rust-analyzer.trace.server": "verbose"` setting each time one wants to display logs. I've also updated the docs/ instances that reference the now outdated manual method.
The command labeled `rust-analyzer: Toggle LSP Logs` enables the setting project-wide and opens the relevant trace output channel.
Closes #8233
2024-06-19 08:39:42 +00:00
Lukas Wirth
ff07caa9de
Tidy up vscode extension a bit
2024-06-19 09:42:06 +02:00
Lukas Wirth
8846b5cf4a
Fix and cleanup VSCode task building
2024-06-17 14:06:01 +02:00
Joel Daniel Rico
2ebcf55ece
feat: add toggleLSPLogs
command
...
add `toggleLSPLogs` command
update docs to reflect new command
2024-06-17 04:08:32 -07:00
David Barsky
b50fc06e0d
fix: avoid doubling cargo args in runnables
2024-06-13 11:08:58 -04:00
Wilfred Hughes
71a78a9cdc
feature: add build system info; runnables to rust-project.json
2024-06-11 11:55:17 -04:00
Lukas Wirth
0ee8a4f472
Add version info to status bar item
2024-06-07 14:39:50 +02:00
roife
4a4b13cbda
fix: incorrect formatting of hover actions
2024-06-06 21:07:59 +08:00
Jonas Rinke
2616b7e045
Removed return
2024-05-25 22:42:39 +02:00
Jonas Rinke
84ab0d83d5
Formatting
2024-05-25 17:08:17 +02:00
Jonas Rinke
cb28175d22
Semicolon
2024-05-25 17:04:48 +02:00
Jonas Rinke
aaa7e3a3c4
Use correct format for setting environment variables when debugging with cpptools
2024-05-25 16:53:01 +02:00
roife
f4d3547bc6
Use cwd from runnable.args for debugger
2024-05-24 03:51:05 +08:00
roife
89843ba083
Revert "Debug use cargo workspace root as cwd. fixes #13022 "
...
This reverts commit 4ca86edac9
.
2024-05-24 03:51:05 +08:00
Lukas Wirth
bd37e2790b
Allow sysroots to only consist of the source root dir
2024-05-23 20:12:31 +02:00
Lukas Wirth
18ca22a98e
Show workspace info in the status bar
2024-04-26 11:28:33 +02:00
Lukas Wirth
ff9ebc747d
Temporarily disable unlinked file popup
2024-04-13 22:45:22 +02:00
Wilfred Hughes
a758e349bc
Document CargoTaskDefinition and factor out converting TaskDefinition to Execution
2024-03-29 16:07:22 -07:00
Wilfred Hughes
e8d6a5ec0b
Rename RustTargetDefinition to CargoTaskDefinition
2024-03-29 16:07:22 -07:00
bors
f5a9250147
Auto merge of #16975 - HKalbasi:test-explorer, r=HKalbasi
...
Prompt the user to reload the window when enabling test explorer
2024-03-29 17:01:51 +00:00
hkalbasi
34cde2cebc
Prompt the user to reload the window when enabling test explorer
2024-03-29 18:08:16 +03:30
bors
a8b7acf22f
Auto merge of #16971 - HKalbasi:test-explorer, r=HKalbasi
...
Resolve tests per file instead of per crate in test explorer
Fix part of #16827
2024-03-29 02:06:22 +00:00
hkalbasi
beec6914c8
Resolve tests per file instead of per crate in test explorer
2024-03-29 05:34:43 +03:30
roife
3521089985
fix: use lldb when debugging with C++ extension
2024-03-28 14:38:23 +08:00
Laurențiu Nicola
662ea73e4e
Revert debug extension priorities
2024-03-28 07:58:36 +02:00
hkalbasi
92300e8f86
Use --workspace
and --no-fail-fast
in test explorer
2024-03-19 01:46:41 +03:30
bors
f6e2895ee6
Auto merge of #16839 - Wilfred:extension_refactor_for_shell, r=Veykril
...
Refactor extension to support arbitrary shell command runnables
Currently, the extension assumes that all runnables invoke cargo. Arguments are sometimes full CLI arguments, and sometimes arguments passed to a cargo subcommand.
Refactor the extension so that tasks are just a `program` and a list of strings `args`, and rename `CargoTask` to `RustTask` to make it generic.
(This was factored out of #16135 and tidied.)
2024-03-18 08:48:57 +00:00
hkalbasi
eeff20d172
Show compilation progress in test explorer
2024-03-15 16:28:59 +03:30
Wilfred Hughes
4422a90b11
refactor: Store the CLI command directly in RustTargetDefinition
2024-03-14 16:41:49 -07:00
Wilfred Hughes
2e109c7da8
refactor: Use a single CLI args array rather than a separate subcommand field
2024-03-14 16:41:49 -07:00
Wilfred Hughes
d472fd932b
refactor: Rename CargoTask to RustTask in extension
2024-03-14 16:41:49 -07:00
hkalbasi
dc99ad912a
Some minor changes in the test explorer lsp extension
2024-03-09 01:21:27 +03:30
Lukas Wirth
1c6d1b4f2a
fix: Add config and capability for test explorer
2024-03-06 19:20:58 +01:00
hkalbasi
44be2432f5
Add test explorer
2024-03-06 00:05:29 +03:30
Laurențiu Nicola
a01e4f8b72
Add basic support for Native Debug
2024-02-29 16:14:58 +02:00
DropDemBits
bcf14e27ce
Work around snippet edits doubling up extra indentation
...
We can't tell vscode to not add in the extra indentation, so we instead opt to remove it from the edits themselves, and then let vscode add it back in.
2024-02-15 18:39:17 -05:00
DropDemBits
d846586bc9
fix: Support multiple tab stops in completions in VSCode
...
Uses the native VSCode support for `SnippetTextEdit`s, but in a semi-hacky way as it's not fully supported yet.
2024-02-15 18:13:04 -05:00
bors
113f054274
Auto merge of #16558 - Wilfred:json_project_ts, r=lnicola
...
Update JsonProject to include optional fields
These were documented in #15014 in the manual, but this definition wasn't updated to match.
2024-02-14 06:24:56 +00:00
Wilfred Hughes
931f563a89
Update JsonProject to include optional fields
...
These were documented in #15014 in the manual, but this definition
wasn't updated to match.
2024-02-13 14:29:20 -08:00
David Barsky
6330b028b3
feature: Add a UnindexedProject
notification and a corresponding setting.
2024-02-08 14:23:00 -05:00
Young-Flash
bec1e0f616
minor: polish warning msg
2024-02-04 18:37:09 +08:00
Young-Flash
4facb6253e
minor: update warning msg
2024-01-30 20:33:15 +08:00
Young-Flash
96ebad0409
minor: update conflict extension detect logic
2024-01-26 20:12:13 +08:00
Young-Flash
56f54c87e7
fix lint and fmt
2024-01-22 19:33:26 +08:00
Young-Flash
e15f40e842
feat: add conflict ext (panicbit.cargo) detect
2024-01-22 18:49:39 +08:00
Lukas Wirth
3fc043ce9b
internal: Remove unnecessary Arc allocations in macro_expand
2024-01-03 15:21:18 +01:00
cui fliter
638df27f99
Fix some comments
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-12-29 11:50:24 +08:00