Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disable the completion for no corresponding client resolve capabilities | Kirill Bulatov | 2020-12-07 | 1 | -12/+2 |
| | |||||
* | Remove the state | Kirill Bulatov | 2020-12-07 | 1 | -31/+1 |
| | |||||
* | Make completion resolve async | Kirill Bulatov | 2020-12-07 | 1 | -1/+31 |
| | |||||
* | Add slightly more profiling details | Jonas Schievink | 2020-12-04 | 1 | -1/+1 |
| | |||||
* | Extract tests module to file in ide_db crate | Daiki Ihara | 2020-12-03 | 8 | -1441/+1419 |
| | |||||
* | Fix use merging not using the first path segment | Lukas Wirth | 2020-11-30 | 1 | -1/+10 |
| | |||||
* | Support self in reference search | Lukas Wirth | 2020-11-29 | 1 | -0/+1 |
| | |||||
* | Move the helpers into ide_db | Kirill Bulatov | 2020-11-28 | 4 | -1/+1410 |
| | |||||
* | Merge #6614 #6632 | bors[bot] | 2020-11-26 | 1 | -1/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6614: Improve autoimports on completion speed r=matklad a=SomeoneToIgnore Presumably closes https://github.com/rust-analyzer/rust-analyzer/issues/6594 May help https://github.com/rust-analyzer/rust-analyzer/issues/6612 * Ignore modules eaferly * Do less completion string rendering 6632: Pin cargo_metadata r=matklad a=kjeremy See: https://github.com/oli-obk/cargo_metadata/pull/142#issuecomment-733653275 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | Improve autoimports on completion speed | Kirill Bulatov | 2020-11-24 | 1 | -1/+8 |
| | | | | | | | | | | * Ignore modules eaferly * Do less completion string rendering | ||||
* | | Rename `parse_macro` to `parse_macro_expansion` | Jonas Schievink | 2020-11-24 | 2 | -3/+3 |
|/ | | | | This does not parse macros, it expands a macro and parses the *result* | ||||
* | Remove query aliases | Kirill Bulatov | 2020-11-16 | 1 | -8/+8 |
| | |||||
* | Tweak the search limits a bit | Kirill Bulatov | 2020-11-16 | 1 | -2/+3 |
| | |||||
* | Use imports_locator | Kirill Bulatov | 2020-11-16 | 1 | -18/+47 |
| | |||||
* | Add imports in auto completion | Kirill Bulatov | 2020-11-16 | 1 | -5/+9 |
| | |||||
* | 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 |
| | |||||
*-. | Merge #6331 #6342 | bors[bot] | 2020-10-24 | 5 | -0/+1050 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6331: correct hover text for items with doc attribute with raw strings r=matklad a=JoshMcguigan Fixes #6300 by improving the handling of raw string literals in attribute style doc comments. This still has a bug where it could consume too many `"` at the start or end of the comment text, just as the original code had. Not sure if we want to fix that as part of this PR or not? If so, I think I'd prefer to add a unit test for either the `as_simple_key_value` function (I'm not exactly sure where this would belong / how to set this up) or create a `fn(&SmolStr) -> &SmolStr` to unit test by factoring out the `trim` operations from `as_simple_key_value`. Thoughts on this? 6342: Shorter dependency chain r=matklad a=popzxc Continuing implementing suggestions from the `Completion refactoring` zulip thread. This PR does the following: - Removes dependency of `completions` on `assists` by moving required functionality into `ide_db`. - Moves completely `call_info` crate into `ide_db` as it looks like it fits perfect there. - Adds a bunch of new tests and docs. - Adds the re-export of `base_db` to the `ide_db` and removes direct dependency on `base_db` from other crates. The last point is controversial, I guess, but I noticed that in places where `ide_db` is used, `base_db` is also *always* used. Thus I think the dependency on the `base_db` is implied by the fact of `ide_db` interfaces, and thus it makes sense to just provide `base_db` out of the box. Co-authored-by: Josh Mcguigan <[email protected]> Co-authored-by: Igor Aleksanov <[email protected]> | ||||
| | * | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -0/+3 |
| | | | |||||
| | * | Add tests for traits functions in ide_db | Igor Aleksanov | 2020-10-24 | 1 | -0/+149 |
| | | | |||||
| | * | Make call_info a part of ide_db | Igor Aleksanov | 2020-10-24 | 3 | -0/+760 |
| | | | |||||
| | * | Remove dependency on 'assists' from 'completion' crate | Igor Aleksanov | 2020-10-24 | 3 | -0/+138 |
| |/ | |||||
* / | Bump deps | Laurențiu Nicola | 2020-10-24 | 1 | -1/+1 |
|/ | |||||
* | Clarify the names one more time | Aleksey Kladov | 2020-10-15 | 3 | -9/+18 |
| | |||||
* | More idiomatic classification API | Aleksey Kladov | 2020-10-15 | 3 | -174/+174 |
| | |||||
* | More clarifications | Aleksey Kladov | 2020-10-15 | 2 | -12/+12 |
| | |||||
* | Unconfuse expression and pattern field init shorthands | Aleksey Kladov | 2020-10-15 | 2 | -7/+11 |
| | |||||
* | Clarify NameClass names a bit | Aleksey Kladov | 2020-10-15 | 2 | -3/+3 |
| | |||||
* | Treat `ast::Name` in field patterns as use | Jonas Schievink | 2020-10-09 | 1 | -43/+73 |
| | |||||
* | Move ide::AnalysisChange -> base_db::Change | Aleksey Kladov | 2020-10-02 | 2 | -73/+7 |
| | | | | | | This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code. | ||||
* | Remove periodic gc stub | Aleksey Kladov | 2020-09-29 | 3 | -46/+3 |
| | |||||
* | Rename record_field_pat to record_pat_field | Pavan Kumar Sunkara | 2020-09-10 | 1 | -5/+5 |
| | |||||
* | Add description for crates that will be published | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 |
| | |||||
* | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 1 | -7/+7 |
| | |||||
* | 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. | ||||
* | Introduce Label | Aleksey Kladov | 2020-08-18 | 2 | -0/+50 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 2 | -2/+2 |
| | |||||
* | Rename ra_assists -> assists | Aleksey Kladov | 2020-08-13 | 1 | -2/+2 |
| | |||||
* | Rename ra_ide_db -> ide_db | Aleksey Kladov | 2020-08-13 | 10 | -0/+2009 |