aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references/rename.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicationAleksey Kladov2020-06-241-6/+4
|
* More consistent usage of fixturesAleksey Kladov2020-06-241-3/+5
|
* New VFSAleksey Kladov2020-06-231-3/+2
|
* Fix renaming mod in use treeunexge2020-06-171-48/+139
|
* Anchor file-system operations to the file, and not to the source root.Aleksey Kladov2020-06-161-50/+41
| | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end!
* SimplifyAleksey Kladov2020-06-081-3/+3
|
* KISS SourceChangeAleksey Kladov2020-05-221-7/+4
| | | | | | The idea behind requiring the label is a noble one, but we are not really using it consistently anyway, and it should be easy to retrofit later, should we need it.
* Cleanup TextEditAleksey Kladov2020-05-211-2/+2
|
* Remove dead code for handling cursor positionsAleksey Kladov2020-05-211-3/+0
|
* Switch to new magic marksAleksey Kladov2020-05-201-6/+6
|
* Add AssistConfigAleksey Kladov2020-05-191-0/+3
|
* Add 'self to parameter' renaming.zbsz2020-05-161-5/+206
|
* Fix rename of enum variant visible from moduleFedor Sakharov2020-05-061-0/+62
|
* Fixup testsAleksey Kladov2020-05-051-16/+16
|
* Normalize naming of diagnosticsAleksey Kladov2020-05-051-5/+5
|
* Add test marksAleksey Kladov2020-05-041-5/+8
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-2/+2
|
* Convert tests to text-sizeAleksey Kladov2020-04-251-11/+8
|
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Add testEdwin Cheng2020-03-221-0/+57
|
* find_usages limited to actual usages againMatt Niemeir2020-03-111-0/+70
|
* Renaming a local renames struct field shorthandMatt Niemeir2020-03-101-5/+43
|
* Struct field rename renames field in constructor field shorthandMatt Niemeir2020-03-101-21/+79
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-14/+14
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* remove unneeded `collect`adamrk2020-02-211-11/+7
|
* use Vec::extend instead of Vec::push in loopAdam Bratschi-Kaye2020-02-211-3/+1
| | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
* rename module referencesadamrk2020-02-211-0/+112
|
* Handle macro token cases for renameEdwin Cheng2020-02-091-0/+19
|
* cleanup importsAleksey Kladov2020-02-061-2/+2
|
* ra_syntax: refactored the lexer design as per @matklad and @kiljacken PR reviewVeetaha2020-02-031-2/+4
|
* Reimplemented lexer with vectors instead of iteratorsVeetaha2020-02-031-6/+4
|
* Move module to SourceBinderAleksey Kladov2020-01-161-1/+1
|
* Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-081-1/+7
|
* Push identifier check to rename functionWilco Kusee2019-11-291-1/+8
|
* Test rename for various identifiersWilco Kusee2019-11-291-0/+43
|
* Rename Source -> InFileAleksey Kladov2019-11-281-1/+1
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+328