Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | introduce ComletionItemKind | Aleksey Kladov | 2018-12-21 | 6 | -34/+28 | |
| | ||||||
* | rename completion kind | Aleksey Kladov | 2018-12-21 | 1 | -6/+6 | |
| | ||||||
* | 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]> | |||||
| * | | use root-relative paths | Aleksey Kladov | 2018-12-21 | 2 | -7/+3 | |
| | | | ||||||
| * | | edits use source-root API | Aleksey Kladov | 2018-12-21 | 4 | -16/+28 | |
| | | | ||||||
| * | | hide atom edits a bit | Aleksey Kladov | 2018-12-21 | 5 | -12/+24 | |
|/ / | ||||||
* | | better debug impls | Aleksey Kladov | 2018-12-21 | 2 | -2/+17 | |
| | | ||||||
* | | fix SourceFileEdit name | Aleksey Kladov | 2018-12-21 | 3 | -6/+6 | |
| | | ||||||
* | | Merge #308 | bors[bot] | 2018-12-21 | 2 | -2/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 308: tweak canceled message r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | tweak canceled message | Aleksey Kladov | 2018-12-21 | 2 | -2/+2 | |
|/ / | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #305 #307 | bors[bot] | 2018-12-20 | 5 | -44/+80 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 305: Fold curly blocks r=matklad a=matklad 307: :arrow_up: 1.31.1 r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | :arrow_up: 1.31.1 | Aleksey Kladov | 2018-12-20 | 2 | -2/+2 | |
| |/ |/| | ||||||
| * | fold curly blocks | Aleksey Kladov | 2018-12-20 | 3 | -18/+30 | |
| | | ||||||
| * | generalize folding tests | Aleksey Kladov | 2018-12-20 | 2 | -28/+52 | |
|/ | | | | By using xml-like tags, we will be able to test nested foldings. | |||||
* | Merge #304 | bors[bot] | 2018-12-20 | 3 | -0/+65 | |
|\ | | | | | | | | | | | | | | | | | | | 304: Support a blank expression before a semicolon r=DJMcNab a=DJMcNab Part of fixing #290. Note that I have not run `gen-tests` as I don't want to conflict with #299. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Run gen-tests | DJMcNab | 2018-12-20 | 2 | -0/+59 | |
| | | ||||||
| * | Use a better way of skipping SEMIs | DJMcNab | 2018-12-20 | 1 | -6/+6 | |
| | | ||||||
| * | Support a blank expression before a semicolon | DJMcNab | 2018-12-20 | 1 | -0/+6 | |
|/ | ||||||
* | Merge #299 | bors[bot] | 2018-12-20 | 257 | -600/+290 | |
|\ | | | | | | | | | | | | | | | 299: Ensure that the parser errors or not for the parser tests r=matklad a=DJMcNab Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Fix broken test is deleted comment | DJMcNab | 2018-12-20 | 1 | -1/+1 | |
| | |