aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/defs.rs
Commit message (Collapse)AuthorAgeFilesLines
* internal: remove one more accidentally quadratic code-pathAleksey Kladov2021-06-221-6/+22
| | | | | | | | | | | | | | Definition::visibility was implemented in a rather roundabout way -- by asking the parent module about the effective visibility. This is problematic for a couple of reasons: * first, it doesn't work for local items * second, asking module about visibility of a child is a linear operation (that's a problem in itself, tracked in #9378) Instead, lets ask the declared visibility directly, we have all the code for it, and need only to actually us it.
* Update ungrammarJonas Schievink2021-06-111-1/+1
|
* Don't classify attributes on macro-calls are the macro itselfLukas Wirth2021-06-091-5/+3
|
* Get rid of field_type againFlorian Diebold2021-05-231-1/+1
|
* Accurately classify assoc. types in pathsJonas Schievink2021-03-301-18/+23
|
* Unleash macro 2.0 in hightlight and moreEdwin Cheng2021-03-271-1/+1
|
* syntax: return owned string instead of leaking stringcynecx2021-03-261-1/+1
|
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| | | | example: let x: String = String::from("hello world").into();
* Enable searching for builtin typesLukas Wirth2021-03-151-1/+1
|
* Don't classify attribute macros as their path unless it's a function with ↵Lukas Wirth2021-02-131-3/+11
| | | | the proc_macro_attribute attribute
* .Aleksey Kladov2021-01-191-1/+1
|
* Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-151-7/+4
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-18/+27
|
* Use hir::GenericParam in ide_db::Definition instead of relisting all 3Lukas Wirth2021-01-101-21/+15
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-1/+1
|
* Add ConstParams to the ide layerLukas Wirth2021-01-011-2/+11
|
* Support labels in reference searchLukas Wirth2020-12-241-5/+13
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-2/+2
|
* Rename ImplDef -> ImplAleksey Kladov2020-12-171-2/+2
| | | | | | We used to have `Def` suffix for all symbols, but we moved off from that. `FunctionDef` isn't better than `Function`. Looks like we've forgot to change `Impl` though!
* Lifetime reference searchLukas Wirth2020-12-161-3/+56
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-1/+1
|
* Add slightly more profiling detailsJonas Schievink2020-12-041-1/+1
|
* Clarify the names one more timeAleksey Kladov2020-10-151-7/+16
|
* More idiomatic classification APIAleksey Kladov2020-10-151-169/+169
|
* More clarificationsAleksey Kladov2020-10-151-10/+10
|
* Unconfuse expression and pattern field init shorthandsAleksey Kladov2020-10-151-6/+10
|
* Clarify NameClass names a bitAleksey Kladov2020-10-151-2/+2
|
* Rename record_field_pat to record_pat_fieldPavan Kumar Sunkara2020-09-101-5/+5
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-1/+1
|
* Rename ra_ide_db -> ide_dbAleksey Kladov2020-08-131-0/+348