Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge #93 | bors[bot] | 2018-10-04 | 3 | -12/+59 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93: Support leading pipe in match arms r=matklad a=DJMcNab This adds support for match arms of the form: ```rust <...> | X | Y => <...>, | X => <...>, | 1..2 => <...>, etc ``` # Implementation discussion This just naïvely 'eats' a leading pipe if one is available. The equivalent line in the reference `libsyntax` is in [`parse_arm`](https://github.com/rust-lang/rust/blob/441519536c8bd138e8c651743249acd6814747a1/src/libsyntax/parse/parser.rs#L3552). As noted in the comment linked above, this feature was formally introduced as a result of rust-lang/rfcs#1925. This feature is in active use in the [`rust-analyzer` codebase](https://github.com/matklad/rust-analyzer/blob/c87fcb4ea5874a7307c1d9d1192e923f3ae2c922/crates/ra_syntax/src/syntax_kinds/generated.rs#L231) I have added some tests for this feature, but maybe more would be required EDIT: Always looking for feedback - is this PR description over-engineered? Co-authored-by: Daniel McNab <[email protected]> | |||||
| * | Support leading pipe in match arms | Daniel McNab | 2018-10-03 | 3 | -12/+59 | |
| | | ||||||
* | | Merge #92 | bors[bot] | 2018-10-02 | 1 | -22/+22 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 92: cargo update r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | | cargo update | Jeremy A. Kolb | 2018-10-02 | 1 | -22/+22 | |
|/ / | ||||||
* | | Merge pull request #91 from kjeremy/ignore-idea | Aleksey Kladov | 2018-10-02 | 1 | -0/+1 | |
|\ \ | | | | | | | Ignore .idea/ | |||||
| * | | Ignore .idea/ | Jeremy A. Kolb | 2018-10-02 | 1 | -0/+1 | |
|/ / | ||||||
* | | Merge #90 | bors[bot] | 2018-10-02 | 15 | -80/+70 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 90: Inherent traversal r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Make siblings an inherent method | Aleksey Kladov | 2018-10-02 | 6 | -34/+30 | |
| | | | ||||||
| * | | make ancestors and descendants inherent | Aleksey Kladov | 2018-10-02 | 14 | -46/+40 | |
| | | | ||||||
| * | | use aliases | Aleksey Kladov | 2018-10-02 | 1 | -2/+2 | |
|/ / | ||||||
* | | Merge #85 | bors[bot] | 2018-10-02 | 13 | -532/+150 | |
|\ \ | |/ |/| | | | | | | | | | | | 85: start moving syntax tree to a separate crate r=matklad a=matklad WIP Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Move to rowan for syntax tree impl | Aleksey Kladov | 2018-10-02 | 13 | -532/+150 | |
|/ | ||||||
* | Merge #83 | bors[bot] | 2018-09-29 | 2 | -4/+23 | |
|\ | | | | | | | | | | | | | | | 83: Add a setting to disable custom syntax highlighting r=matklad a=aochagavia Co-authored-by: Adolfo Ochagavía <[email protected]> | |||||
| * | Add a setting to disable custom syntax highlighting | Adolfo Ochagavía | 2018-09-29 | 2 | -4/+23 | |
| | | ||||||
* | | fix code actions | Aleksey Kladov | 2018-09-29 | 1 | -1/+1 | |
|/ | ||||||
* | support 2018 paths | Aleksey Kladov | 2018-09-29 | 3 | -3/+21 | |
| | ||||||
* | Merge #81 | bors[bot] | 2018-09-26 | 5 | -2/+148 | |
|\ | | | | | | | | | | | | | | | 81: [WIP] Reject impl keyword inside impl header r=matklad a=csmoe Closes #77 Co-authored-by: csmoe <[email protected]> | |||||
| * | generate testsuite for impl_type | csmoe | 2018-09-26 | 5 | -13/+94 | |
| | | ||||||
| * | parse impl type | csmoe | 2018-09-25 | 3 | -57/+44 | |
| | | ||||||
| * | reject impl keyword in impl header | csmoe | 2018-09-24 | 1 | -2/+10 | |
| | | ||||||
| * | add test for impl recovery | csmoe | 2018-09-24 | 2 | -0/+70 | |
| | | ||||||
* | | Merge #79 | bors[bot] | 2018-09-25 | 9 | -48/+236 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 79: Implement Folding Ranges r=matklad a=kjeremy Implements folding ranges for comments and imports. Bumps LSP to 3.13 Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Unit Tests | Jeremy A. Kolb | 2018-09-24 | 1 | -0/+56 | |
| | | ||||||
| * | Split folding ranges into editor and lsp parts | Jeremy A. Kolb | 2018-09-24 | 4 | -77/+114 | |
| | | ||||||
| * | Implement folding ranges | Jeremy A. Kolb | 2018-09-23 | 2 | -1/+90 | |
| | | ||||||
| * | Support LSP 3.13 | Jeremy A. Kolb | 2018-09-23 | 5 | -45/+51 | |
| | | ||||||
* | | Merge #78 | bors[bot] | 2018-09-21 | 1 | -4/+0 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 78: Remove undefined command in code/package.json r=matklad a=ekrctb Co-authored-by: ekrctb <[email protected]> | |||||
| * | | Remove undefined command | ekrctb | 2018-09-21 | 1 | -4/+0 | |
|/ / | ||||||
* / | Use more neutral language in the README | Aleksey Kladov | 2018-09-21 | 1 | -8/+7 | |
|/ | ||||||
* | Merge #75 | bors[bot] | 2018-09-19 | 3 | -10/+9 | |
|\ | | | | | | | | | | | | | | | 75: libsyntax2 -> rust-analyzer r=matklad a=kjeremy Change a few `libsyntax2` to `rust-analyzer` Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | libsyntax2 -> rust-analyzer | Jeremy A. Kolb | 2018-09-18 | 3 | -10/+9 | |
| | | ||||||
* | | prefer lifetimes in extend selection | Aleksey Kladov | 2018-09-19 | 1 | -1/+13 | |
| | | ||||||
* | | cleanup comment | Aleksey Kladov | 2018-09-18 | 1 | -3/+4 | |
| | | ||||||
* | | commit lock | Aleksey Kladov | 2018-09-18 | 2 | -1/+1285 | |
| | | ||||||
* | | Add emacs function for extend shirnk selection | Aleksey Kladov | 2018-09-18 | 4 | -3/+123 | |
|/ | ||||||
* | eprintln | Aleksey Kladov | 2018-09-16 | 1 | -7/+37 | |
| | ||||||
* | goto super places cursor on mod | Aleksey Kladov | 2018-09-16 | 1 | -0/+1 | |
| | ||||||
* | tweak readme | Aleksey Kladov | 2018-09-16 | 2 | -57/+135 | |
| | ||||||
* | Update readme | Aleksey Kladov | 2018-09-16 | 1 | -7/+47 | |
| | ||||||
* | rename all things | Aleksey Kladov | 2018-09-16 | 478 | -204/+219 | |
| | ||||||
* | fix derecated call | Aleksey Kladov | 2018-09-16 | 1 | -2/+2 | |
| | ||||||
* | fix installation for windows | Aleksey Kladov | 2018-09-16 | 1 | -3/+11 | |
| | ||||||
* | get rid of commandspeck | Aleksey Kladov | 2018-09-16 | 2 | -22/+21 | |
| | ||||||
* | Merge #67 | bors[bot] | 2018-09-15 | 18 | -453/+1285 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 67: Salsa r=matklad a=matklad The aim of this PR is to transition from rather ad-hock FileData and ModuleMap caching strategy to something resembling a general-purpose red-green engine. Ideally, we shouldn't recompute ModuleMap at all, unless the set of mod decls or files changes. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | everysalsa | Aleksey Kladov | 2018-09-15 | 4 | -23/+40 | |
| | | ||||||
| * | kill old module_map | Aleksey Kladov | 2018-09-15 | 9 | -540/+239 | |
| | | ||||||
| * | move readonly source to module tree descr | Aleksey Kladov | 2018-09-15 | 2 | -17/+25 | |
| | | ||||||
| * | ModuleTreeDescriptor | Aleksey Kladov | 2018-09-15 | 8 | -138/+306 | |
| | | ||||||
| * | yet another db api | Aleksey Kladov | 2018-09-15 | 5 | -258/+274 | |
| | | ||||||
| * | minor | Aleksey Kladov | 2018-09-15 | 2 | -2/+3 | |
| | |