Chayim Refael Friedman
eaf71411a9
Add an option to remove reborrows from adjustment inlay hints
...
Reborrows are consecutive deref then ref. Make it the default because reborrows are mostly useless to the programmer.
Also rename `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "reborrow"` to `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "borrows"`, as it's not about reborrows but about any ref/deref and it's confusing with the new setting.
2025-08-24 02:26:37 +03:00
lumiscosity
7c8b75344c
Optimize icon
...
Losslessly optimizes the icon with:
```
oxipng -o max -a -s
oxipng -o max --zopfli -a -s
```
2025-08-19 11:41:58 +02:00
Wilfred Hughes
5c262a6f05
[internal] Update to the latest @vscode/vsce for extension build
...
This isn't a logic change, but it fixes an npm warning during the
build. vsce itself hasn't had any major changes between 3.2.2 and 3.6.
* https://github.com/microsoft/vscode-vsce/releases/tag/v3.3.0
* https://github.com/microsoft/vscode-vsce/releases/tag/v3.4.0
* https://github.com/microsoft/vscode-vsce/releases/tag/v3.5.0
* https://github.com/microsoft/vscode-vsce/releases/tag/v3.6.0
2025-08-13 15:25:34 +01:00
Ifeanyi Orizu
dc6e6d2b86
Add config option to exclude locals from doc search
2025-08-10 17:48:17 -05:00
dependabot[bot]
77c9f5cb87
Bump tmp from 0.2.3 to 0.2.4 in /editors/code
...
Bumps [tmp](https://github.com/raszi/node-tmp ) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.4 )
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 17:11:37 +00:00
Ifeanyi Orizu
76b2333c1b
Update documentation for overrideCommand config options
2025-08-01 10:48:54 -05:00
Lukas Wirth
c12ec2e062
Merge pull request #20154 from joshka/jm/improve-setting-titles
...
Improve settings tree title and descriptions
2025-07-29 10:42:07 +00: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
dependabot[bot]
36e31f9142
Bump form-data from 4.0.2 to 4.0.4 in /editors/code
...
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4 )
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 05:30:29 +00:00
Josh McKinney
fb219ae76c
Improve settings tree title and descriptions
...
- All settings are now phrased in the imperative form stating what the
setting does rather than talking about what it controls. (E.g.:
"Show `Debug` action." instead of "Whether to show `Debug` action"
- Categories are now displayed in title case
- Categories are now sorted lexicographically
- General category is removed (and all the settings are moved to the top
level)
- Language for a few descriptions is made a bit less ambiguous
2025-07-02 22:12:46 -07:00
Lukas Wirth
332434aecd
Merge pull request #20104 from Veykril/push-nqnmmlvksyty
...
Cleanup `provideCodeActions` vscode hook
2025-06-26 08:44:57 +00:00
Lukas Wirth
db07723fe9
Cleanup provideCodeActions
vscode hook
2025-06-26 10:32:13 +02:00
roifewu
c36758def4
refactor: rename branches
to branch_exit_points
in highlight_related
2025-06-26 13:41:41 +08:00
roifewu
f87220e22a
feat: highlighting of related return values while the cursor is on any match
, if
, or match arm arrow (=>
)
2025-06-26 13:41:39 +08:00
Lukas Wirth
756f1bfd65
Merge pull request #20077 from markpots5/master
...
feat: Extend vscode 'run' command with optional mode argument for run…
2025-06-25 08:13:14 +00:00
Mark Pots
e2e24f84c4
Remove special casing in command factory (revert changes in ctx.ts), update main.createCommands instead
2025-06-24 11:56:22 +02:00
Mark Pots
92da17cfa5
feat: Extend vscode 'run' command with optional mode argument for running test(s) or bin at keyboard cursor
2025-06-23 21:27:26 +02:00
Lucas Holten
7492b63c18
Add better documentation for excluding imports from symbol search
2025-06-20 13:26:59 +02:00
Lukas Wirth
3ee81c7115
fix: Temporarily disable +
typing handler as it moves the cursor position
2025-06-19 08:29:50 +02:00
Lukas Wirth
24b0666d93
fix: Reload workspaces when cargo configs change
2025-06-17 11:13:56 +02:00
Lukas Wirth
8661c59a7f
Merge pull request #19939 from ChayimFriedman2/fill-arms-self
...
feat: In "Fill match arms", allow users to prefer `Self` to the enum name when possible
2025-06-17 08:20:02 +00:00
Lukas Wirth
b1824c3962
feat: Insert required parentheses when typing +
in trait type
2025-06-16 19:02:18 +02:00
Lucas Holten
dc85e3ee35
Add config option to exclude imports from symbol search
2025-06-15 02:41:35 +02:00
dependabot[bot]
b5bec2d3d2
chore(deps-dev): bump brace-expansion in /editors/code
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 21:01:40 +00:00
Chayim Refael Friedman
25a7b2480e
In "Fill match arms", allow users to prefer Self
to the enum name when possible
...
But default to not to.
I chose to have a more generic config name because maybe other assists could also use the same approach.
2025-06-06 16:34:53 +03:00
dependabot[bot]
8a301b6991
chore(deps): bump tar-fs from 2.1.2 to 2.1.3 in /editors/code
...
Bumps [tar-fs](https://github.com/mafintosh/tar-fs ) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/commits )
---
updated-dependencies:
- dependency-name: tar-fs
dependency-version: 2.1.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:11:14 +00:00
Shoyu Vanilla
e806957098
feat: Render padding information when hovering on structs
2025-05-28 14:18:50 +09:00
Lukas Wirth
262fcfbc58
Change import prefix default to be by crate
...
The current default plain, tends to create non-uniform import blocks over time, some being relative, some being absolute.
I believe we should encourage a different default here.
2025-05-19 08:44:05 +02:00
dependabot[bot]
4ed2a5dc8e
Bump undici from 6.21.1 to 6.21.3 in /editors/code
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.21.1 to 6.21.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.21.1...v6.21.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 6.21.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 15:24:19 +00:00
Lukas Wirth
05b374acd4
feat: Allow unsetting env vars in server.extraEnv
config
2025-04-21 10:38:54 +02:00
bbb651
c7cf6bf7c3
doc: Fix dead manual links
2025-04-20 20:28:52 +03:00
bbb651
2ffcb99683
doc: Rework generated configuration to have anchors
...
Also first line of default code blocks being used as the language instead of json
and fixes a missing `json` language in a doc comment code block.
2025-04-20 19:29:54 +03:00
Clouds Flowing
0c13a94533
fix format
2025-04-14 11:45:21 +08:00
Clouds Flowing
f66a3413db
add normalizeDriveLetter
2025-04-14 11:23:31 +08:00
David Barsky
99a2b676bc
internal: rename children_modules
to child_modules
2025-04-09 12:43:49 -04:00
geetanshjuneja
1f7c3e8b92
added children modules
2025-04-07 21:14:01 +05:30
Prajwal S N
865681d779
feat(project-model): provide flag for no deps
...
A Cargo project can now be built without any dependency metadata being fetched.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-04 18:57:10 +05:30
BenjaminBrienen
25c732e9d4
fix language-configuration.json
2025-04-04 00:26:57 +02:00
Inflation
375386ea93
Fix debug sourceFileMap when using cppvsdbg
...
- Fix #18782
2025-03-29 21:32:51 +08:00
Lukas Wirth
78f4146dc7
chore: Cleanup vscode extension output channels
2025-03-24 07:44:46 +01:00
BenjaminBrienen
86d140d31c
Add view icons
2025-03-15 21:34:12 +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
Ali Bektas
4c7490010a
fix: Make RustAnalyzer:Run available in manifest file
2025-03-06 00:01:16 +01:00
Lukas Wirth
b685ada098
Merge pull request #19243 from Veykril/push-qrrqsywkwyzp
...
Allow unsetting default cfgs
2025-03-03 11:42:40 +00:00
Laurențiu Nicola
b1a1aa4209
Fix transparent diagnostics
2025-03-02 16:05:59 +02:00
BenjaminBrienen
00726cf697
Update Node.js, vscode, and ts deps
2025-02-27 20:53:48 +01:00
Lukas Wirth
5e18ad0770
Allow unsetting default cfgs
2025-02-27 17:34:29 +01:00
Chayim Refael Friedman
100e166bb1
Calculate drop glue and show it on hover
...
Also fix the `needs_drop()` intrinsic.
Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.
2025-02-17 06:29:37 +02:00
Jacob Lifshay
a9dcc01357
add cargo's git checkouts to the list of paths to mark as read-only in vscode
2025-02-13 18:48:36 -08:00