aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db/src/defs.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* Rename ra_prof -> profileAleksey Kladov2020-08-121-3/+2
|
* Remove Option<...> from result of Crate::root_modulePaul Daniel Faria2020-08-091-12/+10
| | | | | There doesn't seem to be any need for it, and removing it simplies several paths of code that depend on it.
* Add support for extern cratePaul Daniel Faria2020-08-081-41/+59
| | | | | This adds syntax highlighting, hover and goto def functionality for extern crate
* When resolving a rename, fallback to the name higher in the use tree if the ↵Paul Daniel Faria2020-08-041-3/+22
| | | | path segment is `self`
* Rename BindPat -> IdentPatAleksey Kladov2020-07-311-2/+2
|
* Allign RecordPat with RecordExprAleksey Kladov2020-07-311-2/+2
|
* Finalize Trait grammarAleksey Kladov2020-07-301-1/+1
|
* Finalize const&static grammarAleksey Kladov2020-07-301-2/+2
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-1/+1
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-1/+1
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-1/+1
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-1/+1
|
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-301-1/+1
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Rename RenameAleksey Kladov2020-07-301-1/+1
|
* SSR: Use Definition::find_usages to speed up matching.David Lattimore2020-07-241-15/+20
| | | | When the search pattern contains a path, this substantially speeds up finding matches, especially if the path references a private item.
* Correctly resolve assoc. types in path bindingsJonas Schievink2020-07-171-0/+22
|
* Fix classify_name_ref on multi-path macro callsJonas Schievink2020-07-141-2/+8
|
* In field patterns, don't highlight local binding as a fieldAleksey Kladov2020-06-101-3/+6
|
* Swap `into_definition` and `definition` semantics for `FieldShorthand` variantunexge2020-06-081-2/+2
|
* Add `FieldShorthand` variant to `NameClass`unexge2020-06-081-26/+30
|
* Add goto def for enum variant fieldunexge2020-06-061-0/+6
|
* Add hover actions as LSP extensionvsrs2020-06-051-1/+1
|
* Remove cross-crate marksAleksey Kladov2020-05-201-8/+2
| | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split.
* New definition_visibility methodFedor Sakharov2020-05-111-13/+2
|
* Also for consts and type aliasesFedor Sakharov2020-05-111-0/+2
|
* Find references to a function outside moduleFedor Sakharov2020-05-111-0/+1
|
* Remove HasVisibility implementationFedor Sakharov2020-05-071-2/+5
|
* Fix rename of enum variant visible from moduleFedor Sakharov2020-05-061-1/+4
|
* refactor: use parent instead ancestors for use aliasBenjamin Coenen2020-05-041-1/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* add support of use alias semantic in definition #4202Benjamin Coenen2020-05-021-5/+9
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* wipBenjamin Coenen2020-05-011-1/+7
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Rename StructField -> FieldAleksey Kladov2020-04-251-11/+11
|
* Fix goto definition for record patternsAleksey Kladov2020-04-181-0/+9
|
* Make records grammar more orthogonalAleksey Kladov2020-04-111-1/+1
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* Add ItemScope::visibility_ofEdwin Cheng2020-03-241-23/+8
|
* Support cross-crate marksAleksey Kladov2020-03-041-0/+6
|
* Move reference classification to ra_ide_dbAleksey Kladov2020-03-031-3/+75
| | | | Lost some marks along the way :-(
* Rename NameDefinition -> DefinitionAleksey Kladov2020-03-031-43/+44
|
* Refactor reference search a bitAleksey Kladov2020-03-031-1/+27
|
* Simplify: remove couple of useless functionsAleksey Kladov2020-03-021-19/+11
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-2/+2
|
* Fix highlighting of const patternsAleksey Kladov2020-02-281-0/+6
|
* Classify name takes const patterns into accountAleksey Kladov2020-02-281-1/+26
|
* Fix union classificationAleksey Kladov2020-02-281-0/+4
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-33/+17
| | | | | | | | | | 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.
* Merge NameDefinition and NameKindAleksey Kladov2020-02-191-35/+20
|