Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused Definition::docs | Lukas Wirth | 2021-03-30 | 1 | -23/+0 |
| | |||||
* | Properly resolve intra doc links in hover and goto_definition | Lukas Wirth | 2021-03-30 | 1 | -0/+23 |
| | |||||
* | Accurately classify assoc. types in paths | Jonas Schievink | 2021-03-30 | 1 | -18/+23 |
| | |||||
* | Merge #8212 | bors[bot] | 2021-03-28 | 2 | -2/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 8212: Basic support macro 2.0 r=jonas-schievink a=edwin0cheng Turn out it is quite straight forward :) r @jonas-schievink ![m2](https://user-images.githubusercontent.com/11014119/112712565-6eb99380-8f0b-11eb-88de-5d7f974dfe6d.png) Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 2 | -2/+3 |
| | | |||||
* | | Cleanup ide_db imports | Lukas Wirth | 2021-03-27 | 8 | -10/+15 |
|/ | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 3 | -3/+3 |
| | |||||
* | Sweep the new TraitEnvironmentQuery | Jonas Schievink | 2021-03-24 | 1 | -0/+1 |
| | |||||
* | Cleanup Definition::search_scope | Lukas Wirth | 2021-03-23 | 1 | -83/+94 |
| | |||||
* | Merge hir::MacroDef::is_* into hir::MacroDef::kind | Lukas Wirth | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Set up a search scope when searching for mbe macro references | Lukas Wirth | 2021-03-23 | 1 | -4/+21 |
| | |||||
* | Compute more mathematically well-rounded notion of transitive deps | Aleksey Kladov | 2021-03-23 | 1 | -3/+1 |
| | | | | | | | | By including the crate itself, we make the resulting set closed with respect to `transitve_reveres_dependencies` operation, as it becomes a proper transitive closure. This just feels more proper and mathy. And, indeed, this actually allows us to simplify call sites somewhat. | ||||
* | rewrite merge use trees assist to use muatable syntax trees | Aleksey Kladov | 2021-03-22 | 1 | -2/+2 |
| | | | | changelog internal | ||||
* | Reexport PrefixKind to remove deps to hir | Edwin Cheng | 2021-03-22 | 1 | -1/+3 |
| | |||||
* | Fix the profile string | Kirill Bulatov | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Less reallocations | Kirill Bulatov | 2021-03-21 | 2 | -19/+12 |
| | |||||
* | Use smart case in flyimport items lookup | Kirill Bulatov | 2021-03-21 | 2 | -3/+22 |
| | |||||
* | Merge #8123 | bors[bot] | 2021-03-21 | 2 | -199/+179 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 8123: Do not display unqualified assoc item completions r=SomeoneToIgnore a=SomeoneToIgnore Part of https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/autoimport.20weirdness Removes all flyimport completions for any unqualified associated type, effectively reverting https://github.com/rust-analyzer/rust-analyzer/pull/8095 I've explained the reasoning in the corresponding FIXME and open to discussions. As an alternative way, we could add yet another parameter in the method that's used by the `qualify_path` and enable it for the qualify assists only. Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| * | Disable unqualified assoc items completion for now | Kirill Bulatov | 2021-03-20 | 1 | -1/+8 |
| | | |||||
| * | Docs | Kirill Bulatov | 2021-03-20 | 2 | -10/+16 |
| | | |||||
| * | Do not query item search by name eagerly | Kirill Bulatov | 2021-03-20 | 2 | -197/+162 |
| | | |||||
| * | Do not propose assoc items without qualifiers | Kirill Bulatov | 2021-03-20 | 1 | -3/+5 |
| | | |||||
* | | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -4/+10 |
|/ | |||||
* | Fix associated items not being appended to paths in import_assets | Lukas Wirth | 2021-03-18 | 1 | -1/+5 |
| | |||||
* | Rename `item_tree` query to `file_item_tree` | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 2 | -44/+44 |
| | |||||
* | use simpler .map(|x| y) instead of .and_then(|x| Some(y)) for Options. ↵ | Matthias Krüger | 2021-03-17 | 1 | -22/+12 |
| | | | | (clippy::bind_instead_of_map) | ||||
* | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 2 | -2/+2 |
| | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Merge #8034 | bors[bot] | 2021-03-16 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 8034: Implement Crate::transitive_reverse_dependencies r=matklad a=Veykril changelog internal Implement Crate::transitive_reverse_dependencies Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Implement Crate::transitive_reverse_dependencies | Lukas Wirth | 2021-03-15 | 1 | -1/+1 |
| | | |||||
* | | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -1/+1 |
|/ | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Enable thread-local coverage marks | Laurențiu Nicola | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | move Semantics::visit_file_defs to ide_db::helpers | Lukas Wirth | 2021-03-15 | 1 | -0/+28 |
| | |||||
*-. | Merge #8021 #8022 | bors[bot] | 2021-03-15 | 2 | -2/+16 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -2/+16 |
| | | | |||||
* | | | Move code to the appropriate layer | Aleksey Kladov | 2021-03-15 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | StructureNodeKind is a type which is specific to a particular feature, file_structure. It shouldn't be in the "code shared by all ide features" part. | ||||
* | | | Introduce StructureNodeKind | ivan770 | 2021-03-14 | 1 | -1/+6 |
| | | | |||||
* | | | Provide regions in file structure | ivan770 | 2021-03-14 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Merge #7799 | bors[bot] | 2021-03-13 | 1 | -0/+4 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 7799: Related tests r=matklad a=vsrs ![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif) This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :) Co-authored-by: vsrs <[email protected]> | ||||
| * | Apply review suggestions | vsrs | 2021-03-11 | 1 | -2/+2 |
| | | |||||
| * | Add runnables::related_tests | vsrs | 2021-02-27 | 1 | -0/+4 |
| | | |||||
* | | Compilation speed | Aleksey Kladov | 2021-03-09 | 1 | -1/+1 |
| | | |||||
* | | Better strip turbofishes | Kirill Bulatov | 2021-03-08 | 1 | -4/+4 |
| | | |||||
* | | Add rustdocs and use better names | Kirill Bulatov | 2021-03-08 | 1 | -30/+52 |
| | | |||||
* | | Less lifetines: derive SemanticsScope in place | Kirill Bulatov | 2021-03-08 | 2 | -25/+24 |
| | | |||||
* | | Restrict fuzzy qualifiers for now | Kirill Bulatov | 2021-03-08 | 1 | -20/+23 |
| | | |||||
* | | Enforce the located imports' order | Kirill Bulatov | 2021-03-08 | 1 | -6/+5 |
| | | |||||
* | | Fix the completion labels and tests | Kirill Bulatov | 2021-03-08 | 1 | -31/+68 |
| | | |||||
* | | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 3 | -131/+101 |
| | | |||||
* | | Profile import_assets better | Kirill Bulatov | 2021-03-08 | 1 | -0/+5 |
| | |