Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 6 | -11/+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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Add disciminant | Jeremy Kolb | 2019-10-28 | 2 | -7/+17 | |
| | | ||||||
* | | WIP: Expand signature help | Jeremy Kolb | 2019-10-28 | 2 | -8/+60 | |
|/ | | | | This is hacky but works for tuple structs. Proof of concept. | |||||
* | Be more precise with function signatures | Jeremy Kolb | 2019-10-27 | 1 | -8/+32 | |
| | | | | Fixes #2093 | |||||
* | extend selection in trait bound extends to plus | Alexander Elís Ebenesersson | 2019-10-27 | 1 | -10/+72 | |
| | | | | | | When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound. | |||||
* | avoid TextEditorBuilder for simple edits | Aleksey Kladov | 2019-10-26 | 5 | -37/+21 | |
| | ||||||
* | insert space after `->` | Aleksey Kladov | 2019-10-25 | 1 | -111/+117 | |
| | ||||||
* | refactor typing_handlers | Aleksey Kladov | 2019-10-25 | 2 | -35/+41 | |
| | ||||||
* | introduce SingleFileChange | Aleksey Kladov | 2019-10-25 | 2 | -35/+46 | |
| | ||||||
* | move source change to a dedicated file | Aleksey Kladov | 2019-10-25 | 2 | -95/+104 | |
| | ||||||
* | make typing infra slightly more extensible | Aleksey Kladov | 2019-10-25 | 2 | -48/+72 | |
| | ||||||
* | for highlighting, search only the current file | Aleksey Kladov | 2019-10-24 | 4 | -26/+104 | |
| |