aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/references
Commit message (Collapse)AuthorAgeFilesLines
* Implement workspace/willRenameFiles for single-level file movesJeremy Kolb2020-12-231-1/+18
| | | | Renames modules during file rename if they're in the same directory.
* Add test_rename_bind_patbjorn32020-12-191-0/+35
|
* Lifetime reference searchLukas Wirth2020-12-161-6/+98
|
* Introduce anchored_pathAleksey Kladov2020-12-091-23/+34
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Type-safer API for dealing with parameter lists with optional selfAleksey Kladov2020-12-011-1/+1
|
* Reject more cases of invalid parameter to self renamesLukas Wirth2020-11-291-13/+122
|
* Fix renaming owned self to parameter emitting refLukas Wirth2020-11-291-1/+30
|
* Minor, import styleAleksey Kladov2020-11-231-6/+5
|
* Cleanup edit_text_range_for_record_field_expr_or_patLukas Wirth2020-11-151-46/+59
|
* Use shorthand field syntax in destructuresLukas Wirth2020-11-141-17/+60
|
* Properly handle shorthands in destructure patterns when renamingLukas Wirth2020-11-141-0/+54
|
* Use shorthand record syntax when renaming struct initializer fieldLukas Wirth2020-11-141-4/+45
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* More idiomatic classification APIAleksey Kladov2020-10-151-3/+3
|
* Add fix for incorrect case diagnosticIgor Aleksanov2020-10-121-0/+7
|
* Show reason for failed rename refactoringRĂ¼diger Herrmann2020-10-101-46/+129
| | | | | | | | | | | Return an error with a meaningful message for requests to `textDocument/rename` if the operation cannot be performed. Pass errors raised by rename handling code to the LSP runtime. As a consequence, the VS Code client shows and logs the request as if a server-side programming error occured. Resolves https://github.com/rust-analyzer/rust-analyzer/issues/3981
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-4/+4
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-17/+17
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-0/+1010