Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 2 | -12/+8 | |
| | ||||||
* | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 16 | -1547/+1638 | |
| | ||||||
* | Use Local more | Aleksey Kladov | 2019-11-15 | 1 | -8/+6 | |
| | ||||||
* | Cleanup hover | Jeremy Kolb | 2019-11-15 | 1 | -111/+93 | |
| | | | | Take advantage of classify_name | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -2/+2 | |
| | ||||||
* | fix typo | Greg | 2019-11-12 | 1 | -1/+1 | |
| | ||||||
* | Implement postfix completions feature flag | Greg | 2019-11-12 | 2 | -0/+5 | |
| | ||||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 1 | -2/+3 | |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | |||||
* | Add hir::Local | Aleksey Kladov | 2019-11-11 | 9 | -154/+81 | |
| | ||||||
* | Refactor highlighting to use classify_name | Aleksey Kladov | 2019-11-11 | 1 | -72/+73 | |
| | ||||||
* | Introduce ToNav trait | Aleksey Kladov | 2019-11-11 | 7 | -177/+200 | |
| | ||||||
* | impl fmt::Display for BuiltinType | Aleksey Kladov | 2019-11-11 | 1 | -6/+2 | |
| | ||||||
* | Merge #2203 | bors[bot] | 2019-11-11 | 1 | -19/+31 | |
|\ | | | | | | | | | | | | | | | 2203: Hover for builtins r=matklad a=kjeremy Fixes #2192 Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Hover for builtins | Jeremy Kolb | 2019-11-10 | 1 | -19/+31 | |
| | | ||||||
* | | Add tests for resolving types in core and std preludes | Matthias Einwag | 2019-11-10 | 1 | -0/+62 | |
|/ | ||||||
* | Merge #2169 | bors[bot] | 2019-11-09 | 3 | -47/+154 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2169: MBE: Mapping spans for goto definition r=matklad a=edwin0cheng Currently, go to definition gives the wrong span in MBE. This PR implement a mapping mechanism to fix it and it could be used for future MBE hygiene implementation. The basic idea of the mapping is: 1. When expanding the macro, generated 2 `TokenMap` which maps the macro args and macro defs between tokens and input text-ranges. 2. Before converting generated `TokenTree` to `SyntaxNode`, generated a `ExpandedRangeMap` which is a mapping between token and output text-ranges. 3. Using these 3 mappings to construct an `ExpansionInfo` which can map between input text ranges and output text ranges. Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Remove map_ranges in RevTokenMap | Edwin Cheng | 2019-11-09 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor and simpfily | Edwin Cheng | 2019-11-08 | 2 | -6/+3 | |
| | | ||||||
| * | Add note for recurseive macro generated code | Edwin Cheng | 2019-11-04 | 1 | -0/+1 | |
| | | ||||||
| * | Add tests | Edwin Cheng | 2019-11-04 | 1 | -0/+40 | |
| | | ||||||
| * | Use new expansion feature in goto_definition | Edwin Cheng | 2019-11-04 | 2 | -45/+114 | |
| | | ||||||
* | | Merge #2179 | bors[bot] | 2019-11-06 | 1 | -14/+13 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]> | |||||
| * | | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 1 | -14/+13 | |
| |/ | ||||||
* / | Cleanup complete_postfix | Aleksey Kladov | 2019-11-06 | 1 | -52/+57 | |
|/ | ||||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 7 | -12/+8 | |
| | ||||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -4/+4 | |
| | ||||||
* | Use `bool` instead of `Option<bool>` and print it's value only when `true` | Martin Asquino | 2019-11-02 | 8 | -78/+5 | |
| | ||||||
* | Set `deprecated` field on `CompletionItem`s | Martin Asquino | 2019-11-02 | 8 | -1/+185 | |
| | ||||||
* | Change SourceAnalyzer method resoltion API | Florian Diebold | 2019-11-01 | 2 | -32/+18 | |
| | ||||||
* | Complete items on traits as well | Florian Diebold | 2019-11-01 | 1 | -2/+46 | |
| | ||||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 2 | -12/+48 | |
| | ||||||
* | Add failing tests for trait assoc method completion | Florian Diebold | 2019-11-01 | 1 | -0/+60 | |
| | ||||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 1 | -4/+6 | |
| | ||||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -0/+55 | |
| | ||||||
* | Fixes #2143 | kjeremy | 2019-10-31 | 1 | -0/+19 | |
| | ||||||
* | runnables => match_ast! | kjeremy | 2019-10-30 | 1 | -7/+7 | |
| | ||||||
* | Use match_ast! in FnCallNode::with_node | kjeremy | 2019-10-30 | 1 | -9/+8 | |
| | ||||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 6 | -9/+8 | |
| | ||||||
* | fix compilation | Aleksey Kladov | 2019-10-30 | 1 | -0/+1 | |
| | ||||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 4 | -8/+5 | |
| | ||||||
* | Merge #2125 | bors[bot] | 2019-10-30 | 1 | -17/+53 | |
|\ | | | | | | | | | | | | | | | 2125: don't add macro braces in use items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | don't add macro braces in use items | Aleksey Kladov | 2019-10-30 | 1 | -17/+53 | |
| | | ||||||
* | | Add missing test for label | kjeremy | 2019-10-29 | 1 | -0/+1 | |
| | | ||||||
* | | Primitive signature help for mbe | kjeremy | 2019-10-29 | 2 | -0/+58 | |
| | | ||||||
* | | Merge #2103 | bors[bot] | 2019-10-29 | 2 | -11/+184 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 2103: Expand signature help r=matklad a=kjeremy Signature help using call syntax with tuple structs and enum variants Fixes #2102. Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | |||||
| * | SigKind -> CallableKind | kjeremy | 2019-10-29 | 1 | -10/+10 | |
| | | ||||||
| * | Filter out non callable versions of Struct/EnumVariant | kjeremy | 2019-10-28 | 2 | -38/+84 | |
| | | ||||||
| * | formatting | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 | |
| | | ||||||
| * | Fix syntax | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 | |
| | | ||||||
| * | Preliminary enum variant support | Jeremy Kolb | 2019-10-28 | 2 | -2/+67 | |
| | |