Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge #320 | bors[bot] | 2018-12-22 | 5 | -27/+39 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 320: completion uses hir scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | completion uses hir scopes | Aleksey Kladov | 2018-12-22 | 5 | -27/+39 | |
|/ / / | ||||||
* | | | Merge #319 | bors[bot] | 2018-12-21 | 16 | -86/+136 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 319: Completion icons r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | fix snippet icon | Aleksey Kladov | 2018-12-21 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | binding icon | Aleksey Kladov | 2018-12-21 | 3 | -2/+6 | |
| | | | | ||||||
| * | | | debug pring | Aleksey Kladov | 2018-12-21 | 1 | -1/+0 | |
| | | | | ||||||
| * | | | moar icons | Aleksey Kladov | 2018-12-21 | 7 | -7/+34 | |
| | | | | ||||||
| * | | | more icons | Aleksey Kladov | 2018-12-21 | 2 | -2/+15 | |
| | | | | ||||||
| * | | | move completion items to conv | Aleksey Kladov | 2018-12-21 | 5 | -30/+33 | |
| | | | | ||||||
| * | | | specify completion item kind | Aleksey Kladov | 2018-12-21 | 4 | -12/+17 | |
| | | | | ||||||
| * | | | cleanup | Aleksey Kladov | 2018-12-21 | 4 | -29/+34 | |
| | | | | ||||||
| * | | | introduce ComletionItemKind | Aleksey Kladov | 2018-12-21 | 6 | -34/+28 | |
| | | | | ||||||
| * | | | rename completion kind | Aleksey Kladov | 2018-12-21 | 1 | -6/+6 | |
| | | | | ||||||
* | | | | Merge #316 | bors[bot] | 2018-12-21 | 3 | -3/+39 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 316: Fix handling of nested self in paths r=matklad a=DJMcNab See https://github.com/rust-analyzer/rust-analyzer/issues/231#issuecomment-442449505. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | | | Move the self handling from directly inside the loop | DJMcNab | 2018-12-21 | 1 | -13/+12 | |
| | | | | | ||||||
| * | | | | Fix handling of nested self in paths | DJMcNab | 2018-12-21 | 3 | -3/+40 | |
| | | | | | ||||||
* | | | | | Merge #318 | bors[bot] | 2018-12-21 | 2 | -9/+5 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 318: Remove a completed and an unactionable todo r=matklad a=DJMcNab Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | | | Remove TODO on self_hosting_parsing | DJMcNab | 2018-12-21 | 1 | -8/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improving this code is not a good use of people-time, and this might be the most performant approach nonwithstanding an api for this use case being added to walkdir | |||||
| * | | | | Remove uneeded todo in lexer | DJMcNab | 2018-12-21 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | Merge #315 | bors[bot] | 2018-12-21 | 9 | -771/+878 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 315: Split completion into manageable components r=matklad a=matklad The main idea here is to do completion in two phases: * first, we figure out surrounding context * then, we run a series of completers on the given context. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | cleanup | Aleksey Kladov | 2018-12-21 | 5 | -15/+7 | |
| | | | | | ||||||
| * | | | | docs | Aleksey Kladov | 2018-12-21 | 7 | -167/+181 | |
| | | | | | ||||||
| * | | | | rename tests | Aleksey Kladov | 2018-12-21 | 1 | -8/+8 | |
| | | | | | ||||||
| * | | | | scope-based copmletions on original file | Aleksey Kladov | 2018-12-21 | 5 | -322/+223 | |
| | | | | | ||||||
| * | | | | move path completion to a separate component | Aleksey Kladov | 2018-12-21 | 3 | -44/+127 | |
| | | | | | ||||||
| * | | | | more completion components | Aleksey Kladov | 2018-12-21 | 4 | -95/+104 | |
| | | | | | ||||||
| * | | | | Start splitting completion into components | Aleksey Kladov | 2018-12-21 | 4 | -339/+424 | |
| | | | | | ||||||
| * | | | | wip | Aleksey Kladov | 2018-12-21 | 1 | -5/+28 | |
| | | | | | ||||||
* | | | | | remove explicit serde_derive | Aleksey Kladov | 2018-12-21 | 6 | -8/+4 | |
| |/ / / |/| | | | ||||||
* | | | | join lines collapses use_trees | Aleksey Kladov | 2018-12-21 | 1 | -0/+58 | |
| | | | | ||||||
* | | | | Merge #313 | bors[bot] | 2018-12-21 | 5 | -9/+139 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 313: Fix where clauses using fully qualified path syntax r=matklad a=DJMcNab Fixes #311. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | | | Fix where clauses using fully qualified path syntax | DJMcNab | 2018-12-21 | 5 | -9/+139 | |
|/ / / / | ||||||
* / / / | hide empty changes | Aleksey Kladov | 2018-12-21 | 2 | -7/+20 | |
|/ / / | ||||||
* | | | add tests for pd | Aleksey Kladov | 2018-12-21 | 1 | -2/+13 | |
| | | | ||||||
* | | | show debug repr of literals | Aleksey Kladov | 2018-12-21 | 4 | -4/+4 | |
| | | | ||||||
* | | | Merge #312 | bors[bot] | 2018-12-21 | 9 | -501/+678 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 312: Completion refactoring r=matklad a=matklad Just a usual refactoring, turning a rather ad-hoc completion infra into something extensible Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | organize completion tests better | Aleksey Kladov | 2018-12-21 | 5 | -393/+488 | |
| | | | ||||||
| * | | use completions in API | Aleksey Kladov | 2018-12-21 | 2 | -8/+7 | |
| | | | ||||||
| * | | use Completions to collect completions | Aleksey Kladov | 2018-12-21 | 3 | -26/+38 | |
| | | | ||||||
| * | | docs | Aleksey Kladov | 2018-12-21 | 1 | -0/+5 | |
| | | | ||||||
| * | | introduce Completions | Aleksey Kladov | 2018-12-21 | 1 | -0/+23 | |
| | | | ||||||
| * | | make compleion item details private | Aleksey Kladov | 2018-12-21 | 5 | -36/+65 | |
| | | | ||||||
| * | | use builder interface for completion item | Aleksey Kladov | 2018-12-21 | 4 | -59/+40 | |
| | | | ||||||
| * | | flip params | Aleksey Kladov | 2018-12-21 | 1 | -3/+3 | |
| | | | ||||||
| * | | introduce completion_item module | Aleksey Kladov | 2018-12-21 | 3 | -21/+54 | |
|/ / | ||||||
* | | Merge #306 | bors[bot] | 2018-12-21 | 3 | -1/+2399 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 306: Finish weird exprs r=DJMcNab a=DJMcNab Fix #290. Note that I'm not certain my use of `p.nth(1) == Ident` is entirely consistent with `libsyntax` - in the original, [`is_union_item`](https://github.com/rust-lang/rust/blob/9622f9dc4745eb59fd229477f453ae83e8044db9/src/libsyntax/parse/parser.rs#L4593-L4596) uses `t.is_ident() && !t.is_reserved_ident()`, whereas we effectively only do `is_ident`. However, I cannot find the definition of `is_reserved_ident` (even searching the rust repository only gives uses, no definitions), so this will have to do unless someone else can find it :|. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | Add comment about the source of the weird_exprs test | DJMcNab | 2018-12-21 | 2 | -2235/+2248 | |
| | | | ||||||
| * | | Add weird_exprs test | DJMcNab | 2018-12-20 | 2 | -0/+2385 | |
| | | | ||||||
| * | | Fix parsing of contextual_keyword union | DJMcNab | 2018-12-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge #309 | bors[bot] | 2018-12-21 | 8 | -35/+55 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 309: Fix edits r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> |