aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references
Commit message (Collapse)AuthorAgeFilesLines
* Rename FnDef -> FnAleksey Kladov2020-07-301-2/+2
|
* Fix module renamingAleksey Kladov2020-07-031-6/+53
|
* Compress rename testsAleksey Kladov2020-07-031-101/+142
|
* Use expect for rename testsAleksey Kladov2020-07-031-193/+57
|
* Adhere to code style in rename testsAleksey Kladov2020-07-031-341/+324
|
* Reuse Semantics instancesLaurențiu Nicola2020-07-011-21/+23
|
* 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
|
* Cleanup APIAleksey Kladov2020-03-041-1/+0
|
* Move SearchScopeAleksey Kladov2020-03-041-144/+0
|
* Move reference classification to ra_ide_dbAleksey Kladov2020-03-031-84/+0
| | | | Lost some marks along the way :-(
* Rename NameDefinition -> DefinitionAleksey Kladov2020-03-032-21/+21
|
* Simplify: remove couple of useless functionsAleksey Kladov2020-03-021-4/+2
|
* More principled approach for gotodef for field shorhandAleksey Kladov2020-03-021-8/+27
| | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local.
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-1/+1
|
* Refactor primary IDE APIAleksey Kladov2020-02-262-31/+27
| | | | | | | | | | 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
|
* Merge NameDefinition and NameKindAleksey Kladov2020-02-192-21/+8
|
* Derive visibility as wellAleksey Kladov2020-02-192-14/+11
|
* Don't store deriveable Module info in NameDefinitionAleksey Kladov2020-02-192-16/+19
|
* Handle macro token cases for renameEdwin Cheng2020-02-091-0/+19
|
* Remove irrelevant distinctionAleksey Kladov2020-02-071-10/+18
|
* Move NameKind upAleksey Kladov2020-02-063-246/+53
|
* cleanup importsAleksey Kladov2020-02-064-5/+5
|
* 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
|
* Create modules via SourceBinderAleksey Kladov2020-01-162-16/+8
|