summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2024-11-27Revert r-a completions breakageKirill Bulatov-2/+2
Repeats the revert to `stable` https://github.com/rust-lang/rust/pull/133476 using https://patch-diff.githubusercontent.com/raw/rust-lang/rust/pull/133476.diff
2024-11-07Merge pull request #18490 from ShoyuVanilla/dyn-compat-renameLaurențiu Nicola-5/+5
minor: Rename `dyn compatible` to `dyn-compatible`
2024-11-07minor: Rename `dyn compatible` to `dyn-compatible`Shoyu Vanilla-5/+5
2024-11-04Merge pull request #18473 from Veykril/push-xnlzukoqttvzLukas Wirth-15/+44
Render extern blocks in `file_structure`
2024-11-04Render extern blocks in file_structureLukas Wirth-15/+44
2024-11-04Fix feature name casingLaurențiu Nicola-1/+1
2024-11-03Allow interpreting consts and statics with interpret function commandLukas Wirth-49/+66
2024-11-02Allow static initializers to be const evaluatedLukas Wirth-7/+13
2024-10-30Merge pull request #18436 from Veykril/lw-yvkqwpnwsouoLukas Wirth-190/+462
Do not render meta info when hovering usages
2024-10-29Style hover messages a bit differentlyLukas Wirth-115/+346
2024-10-29Do not render meta info when hovering usagesLukas Wirth-83/+124
2024-10-28Merge pull request #18421 from Veykril/push-uxxwvwnqvomrLukas Wirth-18/+18
Move text-edit into ide-db
2024-10-28ReformatLukas Wirth-7/+7
2024-10-28Move text-edit into ide-dbLukas Wirth-18/+18
2024-10-27add testLastExceed-0/+76
2024-10-27add LetStmt armLastExceed-0/+18
2024-10-27Invert token iteration order in macro mappingLukas Wirth-13/+15
2024-10-25Factor out token rankingLukas Wirth-36/+8
2024-10-23Merge pull request #18264 from ChayimFriedman2/semi-transparentLukas Wirth-0/+20
fix: Implement mixed site hygiene
2024-10-23fix dyn incompatible hint messageusamoi-1/+1
2024-10-23Don't emit edits for postfix adjustment hintsLukas Wirth-23/+28
2024-10-23Add text edit to implicit 'static hintsLukas Wirth-1/+2
2024-10-23Add text edit to discriminant hintsLukas Wirth-5/+6
2024-10-23Add text edit to binding mode hintsLukas Wirth-36/+38
2024-10-23Add text edit to adjustment hintsLukas Wirth-21/+42
2024-10-22Implement semitransparent hygieneChayim Refael Friedman-0/+20
Or macro_rules hygiene, or mixed site hygiene. In other words, hygiene for variables and labels but not items. The realization that made me implement this was that while "full" hygiene (aka. def site hygiene) is really hard for us to implement, and will likely involve intrusive changes and performance losses, since every `Name` will have to carry hygiene, mixed site hygiene is very local: it applies only to bodies, and we very well can save it in a side map with minor losses. This fixes one diagnostic in r-a that was about `izip!()` using hygiene (yay!) but it introduces a huge number of others, because of #18262. Up until now this issue wasn't a major problem because it only affected few cases, but with hygiene identifiers referred by macros like that are not resolved at all. The next commit will fix that.
2024-10-22Merge binding_mode inlay hints into oneLukas Wirth-11/+29
2024-10-22Merge adjustment inlay hints into oneLukas Wirth-145/+83
2024-10-22Merge closure capture inlay hints into oneLukas Wirth-90/+41
2024-10-22Auto merge of #18370 - duncpro:goto-def-ranges, r=Veykrilbors-6/+87
feat: resolve range patterns to their structs Closes #18367
2024-10-22Auto merge of #18349 - dqkqd:issue-18344, r=Veykrilbors-0/+153
feat: render docs from aliased type when type has no docs Trying to close #18344 - [x] ~Find the docs by traversing upwards if the type itself has none but aliasing for another type that might have.~ - [x] Show docs from aliased type. - [x] Showing description that we are displaying documentation for different definition in hover box. ![image](https://github.com/user-attachments/assets/820d6f97-aa2c-4dc4-8a25-75746e32d950)
2024-10-22feat: render docs from aliased type when docs are missingKhanh Duong Quoc-0/+153
2024-10-22tidyDuncan Proctor-5/+5
2024-10-22remove duplicate testDuncan Proctor-16/+0
2024-10-22resolve range patterns to the their struct typesDuncan Proctor-6/+103
2024-10-22Auto merge of #18362 - duncpro:goto-def-ranges, r=Veykrilbors-3/+86
feat: goto definition on range operators Closes #18342
2024-10-22tidyDuncan Proctor-14/+26
2024-10-22goto definition on RangeFrom, RangeFull, RangeTo, and RangeToInclusive links ↵Duncan Proctor-33/+54
to respective struct
2024-10-21Move explicit range handling out of goto_definition, use OperatorClass insteadduncanproctor-23/+24
2024-10-21GotoDefinition on a Range or InclusiveRange operator will link to the struct ↵duncanproctor-3/+52
definition
2024-10-21fix: Fix token downmapping failing for include! inputsLukas Wirth-0/+59
2024-10-21Update ide testsLukas Wirth-131/+131
2024-10-14Auto merge of #18292 - roife:fix-issue-17427, r=Veykrilbors-12/+41
feat: handle self-param outside of methods when renaming close #17427
2024-10-14feat: handle self-param outside of methods when renamingroife-12/+41
2024-10-14chore: rename salsa to ra_salsaDavid Barsky-4/+4
2024-10-14Auto merge of #18291 - roife:fix-issue-18212, r=Veykrilbors-11/+125
feat: respect references.exclude_tests in call-hierarchy close #18212 ### Changes 1. feat: respect `references.exclude_tests` in call-hierarchy 2. Modified the description of `references.exclude_tests`
2024-10-14Auto merge of #18242 - Veykril:veykril/push-tnynzqsmtnqw, r=Veykrilbors-3/+18
internal: Don't resolve extern crates in import fix point resolution The fix point loop won't progress them given the potential extern crate candidates are set up at build time.
2024-10-14Auto merge of #18152 - CryZe:highlight-async-block-exit-points, r=Veykrilbors-73/+101
feat: Highlight exit points of async blocks Async blocks act similar to async functions in that the await keywords are related, but also act like functions where the exit points are related. Fixes #18147
2024-10-13feat: respect references.exclude_tests in call-hierarchyroife-11/+125
2024-10-08Only Highlight Exit Points on `async` TokenChristopher Serr-7/+13
This ensures that when being on an `await` token, it still only highlights the yield points and not the exit points.