about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-01-15Flip on typing config to be opt-in, better defaultsLukas Wirth-28/+33
2025-01-15Early exit in search properlyLukas Wirth-4/+9
2025-01-15Merge pull request #18917 from boattime/masterLukas Wirth-37/+110
feat: Add dereferencing autocomplete
2025-01-14Merge pull request #18937 from darichey/hide-syntax-tree-defaultLaurențiu Nicola-1/+1
Hide syntax tree view by default
2025-01-14Hide syntax tree view by defaultDavid Richey-1/+1
2025-01-14Merge pull request #18933 from decahedron1/notify-7Laurențiu Nicola-25/+31
fix: Update `notify` to `8.0.0`
2025-01-14Update `notify` to `8.0.0`Carson M.-25/+31
2025-01-13feat: Add dereferencing autocompleteboattime-37/+110
2025-01-12Merge pull request #18923 from Veykril/push-oovkowowotqxLukas Wirth-16/+47
internal: Compute inlay hint tooltips lazily
2025-01-12internal: Compute inlay hint tooltips lazilyLukas Wirth-16/+47
2025-01-12Merge pull request #18921 from Veykril/push-zwullmxomvsmLukas Wirth-57/+150
internal: Compute inlay hint text edits lazily
2025-01-12Fix text edits for discriminant hintsLukas Wirth-2/+33
2025-01-12internal: Compute inlay hint text edits lazilyLukas Wirth-56/+118
2025-01-12Merge pull request #18920 from Veykril/push-zxwtmooxumslLukas Wirth-2/+27
fix: Fix `ref` text edit for binding mode hints
2025-01-12fix: Fix `ref` text edit for binding mode hintsLukas Wirth-2/+27
2025-01-11Merge pull request #18913 from Wilfred/grammar_fixLaurențiu Nicola-4/+4
minor: Fix grammar in doc comments
2025-01-10minor: Fix grammar in doc commentsWilfred Hughes-4/+4
"too" should be "to" here.
2025-01-10Merge pull request #18907 from Veykril/push-uqlzpttmvurvLukas Wirth-2/+86
Implement `#[rust_analyzer::skip]` for bodies
2025-01-10Implement `#[rust_analyzer::skip]` for bodiesLukas Wirth-2/+86
2025-01-10Merge pull request #18906 from Veykril/push-upuxsyovskmtLukas Wirth-173/+386
feat: Re-implement rust string highlighting via tool attribute
2025-01-10Re-implement rust string highlighting via tool attributeLukas Wirth-173/+386
2025-01-10Merge pull request #18904 from Veykril/push-yztnorquuyzwLukas Wirth-24/+134
Improve hover module path rendering
2025-01-10Merge pull request #18903 from Veykril/push-mqmworppxuywLukas Wirth-12/+192
Implement implicit sized bound inlay hints
2025-01-10Implement implicit sized bound inlay hintsLukas Wirth-12/+192
2025-01-10Improve hover module path renderingLukas Wirth-24/+134
2025-01-10Merge pull request #18900 from ChayimFriedman2/stupid-hangLukas Wirth-7/+7
fix: Do not compute `prettify_macro_expansion()` unless the "Inline macro" assist has actually been invoked
2025-01-10Merge pull request #18902 from Veykril/push-znlsxykqrkooLukas Wirth-133/+184
internal: Add Definition::Crate
2025-01-10internal: Add Definition::CrateLukas Wirth-133/+184
This is its own thing so it should be handled specifically where possible
2025-01-10Merge pull request #18901 from ChayimFriedman2/hir-reexportLukas Wirth-23/+28
minor: Remove two hir reexports
2025-01-10Merge pull request #18813 from Giga-Bowser/syntax-tree-viewLukas Wirth-701/+812
feat: Add a new and improved syntax tree view
2025-01-10Merge pull request #18899 from ChayimFriedman2/issue-18898Lukas Wirth-5/+85
fix: Fix another issue with fixup reversing
2025-01-10Remove two hir reexportsChayim Refael Friedman-23/+28
2025-01-10Do not compute `prettify_macro_expansion()` unless the "Inline macro" assist ↵Chayim Refael Friedman-7/+7
has actually been invoked And not just called to be listed. This was a major performance hang when repeatedly switching back-and-forth between a large `include!`d file (but there are others)..
2025-01-09Add an action to copy an element from the syntax tree viewGiga Bowser-0/+55
2025-01-09Fix another issue with fixup reversingChayim Refael Friedman-5/+85
We need to *remove* the whole subtree, but we don't advance `i` by this, because it hasn't gotten there yet (and never will).
2025-01-09Remove the old syntax tree viewerGiga Bowser-700/+1
2025-01-09Add a new and improved syntax tree viewerGiga Bowser-4/+759
2025-01-09Merge pull request #18889 from ChayimFriedman2/subtle-completionLukas Wirth-1/+2
fix: Fix actual token lookup in completion's `expand()`
2025-01-09Merge pull request #18880 from PrototypeNM1/extra-includesLukas Wirth-3/+67
Add config setting which allows adding additional include paths to the VFS.
2025-01-09Merge pull request #18861 from ChayimFriedman2/await-editionLukas Wirth-316/+480
fix: Make edition per-token, not per-file
2025-01-09Merge pull request #18885 from qjerome/refactor-cargo-cfgsLukas Wirth-14/+21
refactor: struct holding cargo cfgs settings
2025-01-09Merge pull request #18890 from Veykril/push-nwnozlyppvzoLukas Wirth-5/+7
minor: Fixup macro error kinds
2025-01-09minor: Fixup macro error kindsLukas Wirth-5/+7
2025-01-09Merge pull request #18887 from vishruth-thimmaiah/refactor_completions_testsLukas Wirth-448/+322
refactor test helpers within ide-completions
2025-01-09Merge pull request #18524 from Giga-Bowser/migrate-wrap-unwrap-returnLukas Wirth-121/+295
internal: Migrate `(un)wrap_return_type` assists to use `SyntaxEditor`
2025-01-09Make edition per-token, not per-fileChayim Refael Friedman-316/+480
More correctly, *also* per-token. Because as it turns out, while the top-level edition affects parsing (I think), the per-token edition affects escaping of identifiers/keywords.
2025-01-09Fix actual token lookup in completion's `expand()`Chayim Refael Friedman-1/+2
It should be left biased, not right biased, because when e.g. the use has typed `h` then requested completion, the `h` is what we want to find, not the next token (which might indeed be inside a macro call). I'm not sure why I wrote `right_biased()` to begin with (I remember I had a reason and not just "both should work"), I might've copied the code in `expand_and_analyze()` (which is wrong, because there it lookups on the speculative file, where right biased will always find the correct token and left biased not). This is still not perfect, because there might not be an identifier already typed then we might still end up in a macro call, but this is the best we can do.
2025-01-08minor: Use placeholders in `unwrap_return_type`Giga Bowser-2/+53
2025-01-08internal: Migrate `unwrap_return_type` assist to use `SyntaxEditor`Giga Bowser-58/+76
Also changes `make::expr_empty_block()` to return `ast::BlockExpr` instead of `ast::Expr`
2025-01-08internal: Migrate `wrap_return_type` assist to use `SyntaxEditor`Giga Bowser-63/+168