Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement Crate::transitive_reverse_dependencies | Lukas Wirth | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | Merge #8021 #8022 | bors[bot] | 2021-03-15 | 1 | -1/+15 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8021: Enable searching for builtin types r=matklad a=Veykril Not too sure how useful this is for reference search overall, but for completeness sake it should be there ![image](https://user-images.githubusercontent.com/3757771/111132711-f69db600-8579-11eb-8c90-22fd6862d11f.png) Also enables document highlighting for them. 8022: some clippy::performance fixes r=matklad a=matthiaskrgr use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unnecessary resizing Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Matthias Krüger <[email protected]> | ||||
| * | Enable searching for builtin types | Lukas Wirth | 2021-03-15 | 1 | -1/+15 |
| | | |||||
* | | Apply review suggestions | vsrs | 2021-03-11 | 1 | -2/+2 |
| | | |||||
* | | Add runnables::related_tests | vsrs | 2021-02-27 | 1 | -0/+4 |
|/ | |||||
* | Pickup ConstReference patterns in FindUsages | Lukas Wirth | 2021-02-23 | 1 | -4/+11 |
| | |||||
* | Implement ast::AstNode for NameLike and move it to node_ext | Lukas Wirth | 2021-02-16 | 1 | -42/+24 |
| | |||||
* | Fix a few clippy::perf warnings | kjeremy | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | Use NameLike in FileReference directly as its not exported from ide anymore | Lukas Wirth | 2021-02-12 | 1 | -43/+20 |
| | |||||
* | Refactor reference searching to work with the ast | Lukas Wirth | 2021-02-12 | 1 | -80/+60 |
| | |||||
* | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+10 |
| | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | Rename FileReferences -> UsageSearchResult | Lukas Wirth | 2021-01-12 | 1 | -6/+5 |
| | |||||
* | Ensure uniqueness of file ids in reference search via hashmap | Lukas Wirth | 2021-01-12 | 1 | -19/+29 |
| | |||||
* | Group references by FileId | Lukas Wirth | 2021-01-12 | 1 | -37/+64 |
| | |||||
* | Use hir::GenericParam in ide_db::Definition instead of relisting all 3 | Lukas Wirth | 2021-01-10 | 1 | -1/+1 |
| | |||||
* | Remove some stale deprecations | Aleksey Kladov | 2021-01-07 | 1 | -1/+0 |
| | |||||
* | Fix type error with .and_then | Nick Spain | 2021-01-02 | 1 | -15/+14 |
| | |||||
* | Handle not finding range in Definition::search_scope | Nick Spain | 2021-01-02 | 1 | -12/+36 |
| | | | | | | The `LifetimeParam` and `Local` variants use `source()` to find their range. Now that `source()` returns an `Option` we need to handle the `None` case. | ||||
* | Mark HasSource::source_old as deprecated but allow at all call sites | Nick Spain | 2021-01-02 | 1 | -0/+2 |
| | |||||
* | HasSource::source -> HasSource::source_old | Nick Spain | 2021-01-02 | 1 | -12/+12 |
| | | | | To start migrating HasSource::source to return an Option. | ||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -1/+1 |
| | |||||
* | Rename ImplDef -> Impl | Aleksey Kladov | 2020-12-17 | 1 | -1/+1 |
| | | | | | | 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 search | Lukas Wirth | 2020-12-16 | 1 | -13/+50 |
| | |||||
* | Add find usages for enum constructors | Daiki Ihara | 2020-12-14 | 1 | -0/+15 |
| | |||||
* | Support self in reference search | Lukas Wirth | 2020-11-29 | 1 | -0/+1 |
| | |||||
* | Use shorthand field syntax in destructures | Lukas Wirth | 2020-11-14 | 1 | -10/+22 |
| | |||||
* | Use shorthand record syntax when renaming struct initializer field | Lukas Wirth | 2020-11-14 | 1 | -6/+10 |
| | |||||
* | Clarify the names one more time | Aleksey Kladov | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | More idiomatic classification API | Aleksey Kladov | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | More clarifications | Aleksey Kladov | 2020-10-15 | 1 | -2/+2 |
| | |||||
* | Unconfuse expression and pattern field init shorthands | Aleksey Kladov | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | Treat `ast::Name` in field patterns as use | Jonas Schievink | 2020-10-09 | 1 | -43/+73 |
| | |||||
* | Optimize reference search | Aleksey Kladov | 2020-08-19 | 1 | -25/+38 |
| | |||||
* | **Remove Unused Parameter** refactoring | Aleksey Kladov | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Future proof find-usages API | Aleksey Kladov | 2020-08-19 | 1 | -13/+35 |
| | | | | | | We might want to provide more efficient impls for check if usages exist, limiting the search, filtering and cancellation, so let's violate YAGNI a bit here. | ||||
* | Rename ra_ide_db -> ide_db | Aleksey Kladov | 2020-08-13 | 1 | -0/+322 |