aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/references
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Move module to SourceBinderAleksey Kladov2020-01-162-2/+2
|
* Move more stuff to SourceBinderAleksey Kladov2020-01-161-2/+2
|
* Make FromSource privateAleksey Kladov2020-01-161-2/+2
|
* Only new-style classificationAleksey Kladov2020-01-151-14/+1
|
* Make syntax highlighting linearAleksey Kladov2020-01-151-46/+63
|
* Some clippy lintskjeremy2020-01-131-2/+1
|
* Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-081-1/+7
|
* Fix resolve for field init shorthandAleksey Kladov2019-12-201-4/+5
|
* Cleanup Crate APIAleksey Kladov2019-12-081-10/+6
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-072-7/+7
| | | | We don't have LifetimeParam yet, but they are planned!
* Get the right analyzer for implsAleksey Kladov2019-12-071-1/+0
|
* Classify name works for TypeParamsAleksey Kladov2019-12-071-0/+9
|
* 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-282-4/+4
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-274-0/+742