Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | 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 | 5 | -6/+4 | |
| | | ||||||
* | | join lines collapses use_trees | Aleksey Kladov | 2018-12-21 | 1 | -0/+58 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | 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 | 3 | -55/+36 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | tweak canceled message | Aleksey Kladov | 2018-12-21 | 2 | -2/+2 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #305 #307 | bors[bot] | 2018-12-20 | 4 | -43/+79 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 | |
| |/ |/| | ||||||
| * | 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. | |||||
* | 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 | |
| | ||||||
* | Fix broken test is deleted comment | DJMcNab | 2018-12-20 | 1 | -1/+1 | |
| | ||||||
* | Fix the tests and fix the precommit hook | DJMcNab | 2018-12-20 | 255 | -561/+210 | |
| | ||||||
* | Fix missing DOTDOTEQs | DJMcNab | 2018-12-20 | 1 | -3/+3 | |
| | ||||||
* | Don't require a command before EQ in a where clause | DJMcNab | 2018-12-20 | 1 | -1/+1 | |
| | ||||||
* | Rename test_fail to test_err | DJMcNab | 2018-12-20 | 1 | -1/+1 | |
| | ||||||
* | Change parser tests dir to inline/ok and inline/err | DJMcNab | 2018-12-20 | 3 | -33/+56 | |
| | ||||||
* | Ensure that the parser tests pass or fail correctly | DJMcNab | 2018-12-20 | 1 | -8/+26 | |
| | ||||||
* | Merge #301 | bors[bot] | 2018-12-20 | 3 | -4/+83 | |
|\ | | | | | | | | | | | | | | | 301: Fix break in a condition r=matklad a=DJMcNab The part of fixing #290. Co-authored-by: DJMcNab <[email protected]> |