about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
AgeCommit message (Collapse)AuthorLines
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>
2024-12-03Only show status bar item in relevant filesDavid Richey-1/+56
2024-12-02Fix debug configuration querying not inheriting environmentLukas Wirth-154/+42
2024-11-18Re-add rust-analyzer.cargo.sysrootQueryMetadataDavid Richey-0/+18
2024-11-08editors/code: Match supported debug engines in config with actual supported onesMaster-Hash-3/+7
2024-11-06editors/code: Change minimum VS Code from 1.78 to 1.83Wilfred Hughes-25/+27
It's been a year since we last bumped this (see #15904), and VS Code 1.83 is the first version that supports LSP 3.17.5 (via vscode-languageclient 9.0.1). https://code.visualstudio.com/updates/v1_83#_language-server-protocol
2024-11-03Allow interpreting consts and statics with interpret function commandLukas Wirth-1/+1
2024-10-24editors/code: Add md for walkthrough setup exampleHackerVole-4/+14
Add a separate markdown file containing the settings.json snippet from the "Useful Setup Tips". This fixes the rendering and also makes the text selectable. Also use double-backticks for `code` rendering.
2024-10-22Fix status bar messagen not being marked markdownLukas Wirth-1/+1
2024-10-21Auto merge of #18359 - Daanoz:support-initializeStopped, r=Veykrilbors-1/+17
feat: support initializeStopped setting See #18356 Add option to start rust-analyzer in "stopped" state when the extension activates.
2024-10-21Update ide testsLukas Wirth-22/+22
2024-10-21feat: support initializeStopped settingDaan Sieben-1/+17