Lukas Wirth
c8527c4dc9
feat: Allow unsetting env vars in server.extraEnv config
2025-04-21 10:38:54 +02:00
bbb651
3f0d075653
doc: Fix dead manual links
2025-04-20 20:28:52 +03:00
bbb651
71a0f6180b
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
David Barsky
d85f89599a
internal: rename children_modules to child_modules
2025-04-09 12:43:49 -04:00
geetanshjuneja
ac3a2b9ca9
added children modules
2025-04-07 21:14:01 +05:30
Prajwal S N
4bf481c934
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
Lukas Wirth
6b9625dc0a
chore: Cleanup vscode extension output channels
2025-03-24 07:44:46 +01:00
BenjaminBrienen
de08516547
Add view icons
2025-03-15 21:34:12 +01:00
Lukas Wirth
73e0fe1545
Merge pull request #19243 from Veykril/push-qrrqsywkwyzp
...
Allow unsetting default cfgs
2025-03-03 11:42:40 +00:00
BenjaminBrienen
d6f5377826
Update Node.js, vscode, and ts deps
2025-02-27 20:53:48 +01:00
Lukas Wirth
66368aa629
Allow unsetting default cfgs
2025-02-27 17:34:29 +01:00
Chayim Refael Friedman
d1fb18e2b7
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
Lukas Wirth
9a257e94ce
Merge pull request #19136 from rust-lang/dependabot/npm_and_yarn/editors/code/esbuild-0.25.0
...
Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
2025-02-12 11:48:43 +00:00
Lukas Wirth
4883966818
Merge pull request #18998 from ChayimFriedman2/exclude
...
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11 11:41:54 +00:00
dependabot[bot]
b4014deb7e
Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.18.12 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.12...v0.25.0 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 05:37:54 +00:00
jnyfah
98b16ead7c
closure parameter inlay hints
2025-02-06 15:55:56 +01:00
Chayim Refael Friedman
d694b2086c
Make rust-analyzer.files.excludeDirs work, actually
...
I have no idea what the original writer of the code thought but the logic just seems backwards. We should not exclude a file/directory if it is equal to an include! This also meant that we had to add a `root == path` check so this stuff will actually work, which in turn meant excludes (of root files) no longer worked...
Also rename if to `rust-analyzer.files.exclude`, because it can exclude files as well.
2025-02-04 17:54:13 +02:00
David Richey
a9cd21f03d
Show status bar in RA output
2025-01-27 14:20:05 -06:00
Chayim Refael Friedman
5059c1a870
Provide a config to control auto-insertion of await and iter()
2025-01-21 18:51:09 +02:00
VinTarZ
824bad7f65
Fix debug_assertions broken in 1c5a125beb35725ccc2ade005db9870db734bf23
2025-01-16 14:19:16 +03:00
Lukas Wirth
7be6698e75
Flip on typing config to be opt-in, better defaults
2025-01-15 10:25:37 +01:00
David Richey
b470508cea
Hide syntax tree view by default
2025-01-14 13:21:42 -06:00
Lukas Wirth
17a6f31738
Implement implicit sized bound inlay hints
2025-01-10 12:38:21 +01:00
Lukas Wirth
5adca85d1b
Merge pull request #18813 from Giga-Bowser/syntax-tree-view
...
feat: Add a new and improved syntax tree view
2025-01-10 06:56:34 +00:00
Giga Bowser
56d06fb40f
Add an action to copy an element from the syntax tree view
2025-01-09 14:03:18 -06:00
Giga Bowser
628db53612
Remove the old syntax tree viewer
2025-01-09 13:20:06 -06:00
Giga Bowser
78c377f956
Add a new and improved syntax tree viewer
2025-01-09 13:20:06 -06:00
Lukas Wirth
e4708fec85
Merge pull request #18880 from PrototypeNM1/extra-includes
...
Add config setting which allows adding additional include paths to the VFS.
2025-01-09 10:24:51 +00:00
Nicholas Rishel
253bba044e
Add config setting which allows adding additional include paths to the VFS.
2025-01-08 10:57:46 -08:00
qjerome
c59ecb3af4
fix: autogenerate files
2025-01-08 14:47:21 +01:00
Lukas Wirth
05770f2599
target-triple -> target-tuple
2025-01-07 14:25:43 +01:00
Lukas Wirth
764ce49445
Remove rust-analyzer.cargo.sysrootQueryMetadata config again
2025-01-07 14:00:22 +01:00
Lukas Wirth
74d0d4e050
Merge pull request #18179 from ChayimFriedman2/omit-trait-completion
...
feat: Allow excluding specific traits from completion
2025-01-01 14:34:56 +00:00
Lukas Wirth
c84d09a7c3
Revamp auto-import exclude config
2025-01-01 15:06:44 +01:00
Lukas Wirth
13af22df98
Reduce the default autoimport exclusion list
2025-01-01 14:32:45 +01:00
Chayim Refael Friedman
bd6ea14002
Allow excluding specific traits from completion
...
To be accurate, only their methods are excluded, the trait themselves are still available.
I also excluded a bunch of std traits by default. Some less opinionated, like `AsRef`, which should never be used directly except in generic scenarios (and won't be excluded there), some more opinionated, like the ops traits, which I know some users sometimes want to use directly. Either way it's configurable.
It should be pretty easy to extend support to excluding only specific methods, but I didn't do that currently.
Traits configured to be excluded are resolved in each completion request from scratch. If this proves too expensive, it is easy enough to cache them in the DB.
2025-01-01 13:49:35 +01:00
roife
c8f29aad5e
fix incorrect name for UpdateTest config
2024-12-26 19:51:14 +08:00
roife
2bfa83beb3
feat: add config UpdateTest to hover actions
2024-12-26 19:51:14 +08:00
roife
60b4ed5bd3
feat: support UpdateTest in codelens
2024-12-26 19:50:32 +08:00
Lukas Wirth
8bfb2fe018
Merge pull request #18707 from ChayimFriedman2/subst
...
feat: Show substitution where hovering over generic things
2024-12-24 14:16:16 +00:00
Lukas Wirth
b3308bce33
Merge pull request #18722 from markmurphydev/status_bar_settings
...
Rename `rust-analyzer.statusBar.documentSelector` to `showStatusBar`, add "always" and "never" options.
2024-12-24 14:12:32 +00:00
Lukas Wirth
b08d1f93ce
fix: Properly check if workspace flychecking is allowed
2024-12-22 12:10:48 +01:00
Mark Murphy
b35a8467b6
change config rust-analyzer.statusBar.documentSelector to showStatusBar
2024-12-20 16:41:41 -05:00
Chayim Refael Friedman
b80bb583e4
Show substitution where hovering over generic things
...
There are few things to note in the implementation:
First, this is a best-effort implementation. Mainly, type aliases may not be shown (due to their eager nature it's harder) and partial pathes (aka. hovering over `Struct` in `Struct::method`) are not supported at all.
Second, we only need to show substitutions in expression and pattern position, because in type position all generic arguments always have to be written explicitly.
2024-12-20 11:30:19 +02:00
Lukas Wirth
2ad6d7103c
Disable pipe on typing handler
2024-12-09 15:52:04 +01:00
Lukas Wirth
3fe75c7d90
Add typing handler for param list pipe
2024-12-06 15:49:36 +01:00
Lukas Wirth
069fb0f475
Make bracket typing handler work on more things
2024-12-06 12:47:32 +01:00
Lukas Wirth
a9afc99c13
Disable < typing handler again
2024-12-05 09:46:23 +01:00
Tarek
68cd57940a
chore: deprecate typing.autoClosingAngleBrackets configuration
...
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03 22:38:51 +02:00
Tarek
b94c5355b2
internal: Make exclude characters for typing assists configurable, default to None
...
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03 22:38:51 +02:00