about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
AgeCommit message (Collapse)AuthorLines
2025-02-27Allow unsetting default cfgsLukas Wirth-1/+1
2025-02-17Calculate drop glue and show it on hoverChayim Refael Friedman-0/+10
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-13add cargo's git checkouts to the list of paths to mark as read-only in vscodeJacob Lifshay-0/+1
2025-02-12Merge pull request #19136 from ↵Lukas Wirth-116/+193
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-11Merge pull request #18998 from ChayimFriedman2/excludeLukas Wirth-2/+2
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11Bump esbuild from 0.18.12 to 0.25.0 in /editors/codedependabot[bot]-116/+193
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-06closure parameter inlay hintsjnyfah-0/+10
2025-02-04Make `rust-analyzer.files.excludeDirs` work, actuallyChayim Refael Friedman-2/+2
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-01-28Merge pull request #19056 from Giga-Bowser/fix-syntax-tree-crlfLukas Wirth-42/+116
fix: Properly handle CRLF line endings in the syntax tree view
2025-01-27Show status bar in RA outputDavid Richey-0/+4
2025-01-27fix: Properly handle CRLF line endings in the syntax tree viewGiga Bowser-42/+116
2025-01-21Provide a config to control auto-insertion of `await` and `iter()`Chayim Refael Friedman-0/+20
2025-01-20fix: Only refresh syntax tree view when the active document changesGiga Bowser-1/+8
2025-01-16Fix `debug_assertions` broken in 1c5a125beb35725ccc2ade005db9870db734bf23VinTarZ-1/+1
2025-01-15Flip on typing config to be opt-in, better defaultsLukas Wirth-3/+3
2025-01-14Hide syntax tree view by defaultDavid Richey-1/+1
2025-01-10Implement implicit sized bound inlay hintsLukas Wirth-0/+10
2025-01-10Merge pull request #18813 from Giga-Bowser/syntax-tree-viewLukas Wirth-340/+555
feat: Add a new and improved syntax tree view
2025-01-09Add an action to copy an element from the syntax tree viewGiga Bowser-0/+55
2025-01-09Remove the old syntax tree viewerGiga Bowser-322/+0
2025-01-09Add a new and improved syntax tree viewerGiga Bowser-1/+483
2025-01-09Merge pull request #18880 from PrototypeNM1/extra-includesLukas Wirth-0/+13
Add config setting which allows adding additional include paths to the VFS.
2025-01-08Add config setting which allows adding additional include paths to the VFS.Nicholas Rishel-0/+13
2025-01-08fix: autogenerate filesqjerome-5/+8
2025-01-07target-triple -> target-tupleLukas Wirth-1/+1
2025-01-07Remove `rust-analyzer.cargo.sysrootQueryMetadata` config againLukas Wirth-18/+0
2025-01-06Rename dependency tree view and dependency providerGiga Bowser-18/+18
2025-01-01Merge pull request #18179 from ChayimFriedman2/omit-trait-completionLukas Wirth-0/+58
feat: Allow excluding specific traits from completion
2025-01-01Revamp auto-import exclude configLukas Wirth-6/+35
2025-01-01Reduce the default autoimport exclusion listLukas Wirth-29/+2
2025-01-01Allow excluding specific traits from completionChayim Refael Friedman-0/+56
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.
2024-12-26minor: format editor/coderoife-13/+14
2024-12-26fix incorrect name for UpdateTest configroife-1/+1
2024-12-26fix: await setting config to `not ask before UpdateTest` and formatroife-7/+7
2024-12-26feat: add config `UpdateTest` to hover actionsroife-0/+10
2024-12-26feat: support UpdateTest in codelensroife-13/+60
2024-12-24Merge pull request #18707 from ChayimFriedman2/substLukas Wirth-0/+23
feat: Show substitution where hovering over generic things
2024-12-24Merge pull request #18722 from markmurphydev/status_bar_settingsLukas Wirth-35/+62
Rename `rust-analyzer.statusBar.documentSelector` to `showStatusBar`, add "always" and "never" options.
2024-12-22Merge pull request #18738 from Veykril/push-vqxqutskzvvuLukas Wirth-1/+1
fix: Properly check if workspace flychecking is allowed
2024-12-22fix: Properly check if workspace flychecking is allowedLukas Wirth-1/+1
2024-12-22minor: Tell the server to stop prior to restarting itLukas Wirth-0/+2
2024-12-20change config rust-analyzer.statusBar.documentSelector to showStatusBarMark Murphy-35/+62
2024-12-20Show substitution where hovering over generic thingsChayim Refael Friedman-0/+23
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-13fix: Revert changes to client capabilities in `bac0ed5`Giga Bowser-1/+1
2024-12-09Disable pipe on typing handlerLukas Wirth-1/+1
2024-12-06Add typing handler for param list pipeLukas Wirth-2/+2
2024-12-06Make bracket typing handler work on more thingsLukas Wirth-2/+2
2024-12-05Disable `<` typing handler againLukas Wirth-1/+1
2024-12-03chore: deprecate `typing.autoClosingAngleBrackets` configurationTarek-10/+0
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03internal: Make exclude characters for typing assists configurable, default ↵Tarek-0/+13
to None Signed-off-by: Tarek <tareknaser360@gmail.com>