Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Source-ify name_definition | Aleksey Kladov | 2019-11-16 | 1 | -20/+19 |
| | |||||
* | Sourcify classify_name_ref | Aleksey Kladov | 2019-11-16 | 5 | -21/+22 |
| | |||||
* | Merge #2271 | bors[bot] | 2019-11-15 | 6 | -12/+17 |
|\ | | | | | | | | | | | | | | | 2271: Force passing Source when creating a SourceAnalyzer r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 6 | -12/+17 |
| | | |||||
* | | Add a test that uses classify_name | kjeremy | 2019-11-15 | 1 | -0/+15 |
| | | |||||
* | | Handle ast::MacroCall in classify_name and impl FromSource for MacroDef | kjeremy | 2019-11-15 | 1 | -1/+13 |
|/ | | | | Fixes #2260 | ||||
* | Sourcify some things | Aleksey Kladov | 2019-11-15 | 2 | -4/+4 |
| | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | ||||
* | 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 |
| | |