Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fix handling of generics in tuple variants and refactor a bit | Florian Diebold | 2019-02-20 | 1 | -0/+17 | |
| |/ | | | | | | | | | | | Also make them display a tiny bit nicer. Fixes #860. | |||||
* / | kill utils module | Aleksey Kladov | 2019-02-21 | 1 | -3/+2 | |
|/ | ||||||
* | remove ignored macro tests | Aleksey Kladov | 2019-02-19 | 2 | -19/+2 | |
| | | | | | we need to significantly reengineer macros, so the tests as they exist are useless | |||||
* | more compact edits in insta | Aleksey Kladov | 2019-02-18 | 55 | -1161/+339 | |
| | ||||||
* | Don't use additional_text_edits API internally | Aleksey Kladov | 2019-02-18 | 56 | -378/+1274 | |
| | ||||||
* | More orthogonal method naming | Aleksey Kladov | 2019-02-18 | 4 | -9/+4 | |
| | ||||||
* | More compact debug representation for completion | Aleksey Kladov | 2019-02-18 | 55 | -1883/+610 | |
| | ||||||
* | Don't render `()` in calls to assoc functions | Aleksey Kladov | 2019-02-17 | 3 | -6/+42 | |
| | ||||||
* | Merge #844 | bors[bot] | 2019-02-17 | 4 | -37/+98 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 844: Refactor find_all_refs to return ReferenceSearchResult r=vipentti a=vipentti This refactors `find_all_refs` to return a new `ReferenceSearchResult` based on feedback in #839. There are few questions/notes regarding the refactor: 1. Introducing `NavigationTarget::from_bind_pat` this simply forwards the call to `NavigationTarget::from_named`, could we just expose `from_named` directly as `pub(crate)` ? 2. Added an utility method `NavigationTarget::range` since there were few places where you would use `self.focus_range.unwrap_or(self.full_range)` 3. Implementing `IntoIterator` for `ReferenceSearchResult`. This turns `ReferenceSearchResult` into an iterator over `FileRanges` and allows previous code to mostly stay as it was based on the order that `find_all_refs` previously had (declaration first and then the references). I'm not sure if there is a way of doing the conversion to `IntoIter` without the allocation of a new vector 4. Is it possible to have a binding without a name? I'm not sure if the `NavigationTarget::from_bind_pat` can cause some edge-cases that previously were ok This fixes #835. Co-authored-by: Ville Penttinen <[email protected]> | |||||
| * | Remove leading :: | Ville Penttinen | 2019-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor find_all_refs to return ReferenceSearchResult | Ville Penttinen | 2019-02-17 | 4 | -37/+98 | |
| | | ||||||
* | | Unify with the autorefed/autoderefed receiver type during method resolution | Florian Diebold | 2019-02-17 | 1 | -1/+1 | |
|/ | ||||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 3 | -9/+15 | |
| | | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions. | |||||
* | document design guideline | Aleksey Kladov | 2019-02-16 | 1 | -0/+6 | |
| | ||||||
* | use better label for &mut ref completion | Aleksey Kladov | 2019-02-14 | 2 | -11/+11 | |
| | ||||||
* | Merge #831 | bors[bot] | 2019-02-14 | 2 | -13/+84 | |
|\ | | | | | | | | | | | | | | | 831: tweak postfix completions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | tweak postfix completions | Aleksey Kladov | 2019-02-14 | 2 | -13/+60 | |
| | | | | | | | | | | * better label * add refm for &mut | |||||
| * | add ref postfix template | Aleksey Kladov | 2019-02-14 | 2 | -3/+27 | |
| | | ||||||
* | | Be precise about the argument list | Jeremy Kolb | 2019-02-14 | 1 | -15/+7 | |
|/ | | | | Fixes #812 | |||||
* | Complete names from prelude | Florian Diebold | 2019-02-13 | 2 | -1/+74 | |
| | ||||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 3 | -6/+7 | |
| | ||||||
* | Fix possible issue where unnamed is_symbol_def would pop stack wrongly | Ville Penttinen | 2019-02-13 | 1 | -11/+1 | |
| | | | | This removes is_symbol_def as unnecessary. | |||||
* | Use cloned over map + clone | Ville Penttinen | 2019-02-13 | 1 | -1/+1 | |
| | ||||||
* | Use clone directly rather than map + clone | Ville Penttinen | 2019-02-13 | 1 | -1/+1 | |
| | ||||||
* | Remove unnecessary braces | Ville Penttinen | 2019-02-13 | 1 | -31/+25 | |
| | ||||||
* | Add support for container_name in workspace/symbol query | Ville Penttinen | 2019-02-12 | 3 | -16/+115 | |
| | ||||||
* | Filter attributes from the completion details/label | Laurențiu Nicola | 2019-02-12 | 3 | -0/+49 | |
| | ||||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 9 | -25/+25 | |
| | ||||||
* | Implement completion for associated items | Laurențiu Nicola | 2019-02-12 | 6 | -1/+245 | |
| | ||||||
* | fix regression in self-referential completion | Aleksey Kladov | 2019-02-11 | 3 | -15/+32 | |
| | ||||||
* | remove hard-coded query-group macro | Aleksey Kladov | 2019-02-11 | 3 | -43/+1 | |
| | ||||||
* | use extern prelude in Resolver | Aleksey Kladov | 2019-02-11 | 2 | -0/+38 | |
| | | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly | |||||
* | Fix typo in Cargo.toml authors | Ville Penttinen | 2019-02-11 | 1 | -1/+1 | |
| | | | | Fixes typo introduced in #782 | |||||
* | Update authors field in Cargo.tomls to "rust-analyzer developers" | Ville Penttinen | 2019-02-11 | 1 | -1/+1 | |
| | | | | This closes #777 | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 23 | -274/+87 | |
| | ||||||
* | diagnostics is now a function | Aleksey Kladov | 2019-02-08 | 2 | -64/+62 | |
| | ||||||
* | move diagnostics to a separate file | Aleksey Kladov | 2019-02-08 | 2 | -27/+22 | |
| | ||||||
* | move index_resolve to symbol index | Aleksey Kladov | 2019-02-08 | 4 | -14/+11 | |
| | ||||||
* | move find_references to references | Aleksey Kladov | 2019-02-08 | 3 | -67/+55 | |
| | ||||||
* | rename rename to references | Aleksey Kladov | 2019-02-08 | 2 | -2/+2 | |
| | ||||||
* | move crate for | Aleksey Kladov | 2019-02-08 | 3 | -16/+16 | |
| | ||||||
* | move changes to a separate file | Aleksey Kladov | 2019-02-08 | 4 | -254/+263 | |
| | ||||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 6 | -16/+17 | |
| | ||||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 7 | -295/+25 | |
| | ||||||
* | Rename assits to assists | Jeremy Kolb | 2019-02-05 | 6 | -5/+5 | |
| | ||||||
* | Merge #740 | bors[bot] | 2019-02-05 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | 740: Update dependencies r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Bump insta and proptest to latest | kjeremy | 2019-02-04 | 1 | -1/+1 | |
| | | ||||||
* | | Complete extern prelude (again) | Florian Diebold | 2019-02-04 | 2 | -0/+36 | |
| | | ||||||
* | | Make it possible to have multiple crate in a mock analysis fixture | Florian Diebold | 2019-02-04 | 1 | -2/+10 | |
|/ | ||||||
* | make HirDatabase object-safe | Aleksey Kladov | 2019-02-03 | 2 | -2/+4 | |
| |