Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Replace HashMap, HashSet with FxHashMap and FxHashSet | Muhammad Mominul Huque | 2018-10-11 | 19 | -49/+56 | |
| | | ||||||
* | | Merge #116 | bors[bot] | 2018-10-11 | 4 | -58/+199 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | 116: Collapse comments upon join r=matklad a=aochagavia Todo: - [x] Write tests - [x] Resolve fixmes - [x] Implement `comment_start_length` using the parser I left a bunch of questions as fixmes. Can someone take a look at them? Also, I would love to use the parser to calculate the length of the leading characters in a comment (`//`, `///`, `//!`, `/*`), so any hints are greatly appreciated. Co-authored-by: Adolfo Ochagavía <[email protected]> Co-authored-by: Adolfo Ochagavía <[email protected]> | |||||
| * | Remove smart multiline comment join | Adolfo Ochagavía | 2018-10-11 | 1 | -22/+23 | |
| | | ||||||
| * | Add tests | Adolfo Ochagavía | 2018-10-11 | 1 | -0/+56 | |
| | | ||||||
| * | Remove nesting | Adolfo Ochagavía | 2018-10-11 | 1 | -75/+68 | |
| | | ||||||
| * | Use Comment wrapper | Adolfo Ochagavía | 2018-10-11 | 4 | -36/+78 | |
| | | ||||||
| * | Collapse comments upon join | Adolfo Ochagavía | 2018-10-10 | 1 | -15/+64 | |
| | | ||||||
* | | Merge #118 | bors[bot] | 2018-10-11 | 1 | -15/+3 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 118: Remove error publishing through publishDecorations r=matklad a=aochagavia The errors are already reported by `publishDiagnostics` Closes #109 Co-authored-by: Adolfo Ochagavía <[email protected]> | |||||
| * | | Report errors only once | Adolfo Ochagavía | 2018-10-10 | 1 | -14/+3 | |
| | | | ||||||
| * | | Remove error publishing through publishDecorations | Adolfo Ochagavía | 2018-10-10 | 1 | -1/+0 | |
| |/ | ||||||
* | | Update crates/ra_syntax/src/ast/generated.rs | Reinier Maas | 2018-10-10 | 1 | -32/+64 | |
| | | | | | | | | effect of running cargo gen-kinds | |||||
* | | Update generated.rs.tera | Reinier Maas | 2018-10-10 | 1 | -2/+1 | |
|/ | | | Removing `-` for #114 | |||||
* | Merge #106 | bors[bot] | 2018-10-09 | 7 | -4/+169 | |
|\ | | | | | | | | | | | | | | | 106: Add on-enter handler r=matklad a=matklad Now, typing doc comments is much more pleasant Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Add on-enter handler | Aleksey Kladov | 2018-10-09 | 7 | -4/+169 | |
| | | | | | | | | Now, typing doc comments is much more pleasant | |||||
* | | Switch to absolute offsets for extend comment word | Aleksey Kladov | 2018-10-09 | 1 | -4/+13 | |
|/ | ||||||
* | Prepare gen_lsp_server for publishing | Aleksey Kladov | 2018-10-09 | 4 | -17/+88 | |
| | ||||||
* | Attach comments smartly | Aleksey Kladov | 2018-10-08 | 4 | -24/+97 | |
| | ||||||
* | replace loop with iterators | Aleksey Kladov | 2018-10-08 | 1 | -6/+7 | |
| | ||||||
* | Simplify event processing | Aleksey Kladov | 2018-10-08 | 6 | -98/+122 | |
| | ||||||
* | tfn snippet | Aleksey Kladov | 2018-10-08 | 1 | -0/+32 | |
| | ||||||
* | Merge #98 | bors[bot] | 2018-10-07 | 4 | -7/+97 | |
|\ | | | | | | | | | | | | | | | 98: WIP: Add resolve_local_name to resolve names in a function scope r=kjeremy a=kjeremy First step to resolving #80 Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Remove functional noop | Jeremy A. Kolb | 2018-10-06 | 1 | -8/+0 | |
| | | ||||||
| * | Resolve local names first | Jeremy A. Kolb | 2018-10-06 | 3 | -15/+14 | |
| | | ||||||
| * | WIP: This doesn't currently work but I also don't think it's the right ↵ | Jeremy A. Kolb | 2018-10-05 | 3 | -3/+25 | |
| | | | | | | | | abstraction | |||||
| * | Add resolve_local_name to resolve names in a function scope | Jeremy A. Kolb | 2018-10-05 | 1 | -2/+79 | |
| | | ||||||
* | | Add `cargo gen-kinds` documentation | Daniel McNab | 2018-10-04 | 5 | -1/+20 | |
|/ | ||||||
* | Merge #94 | bors[bot] | 2018-10-04 | 1 | -4/+32 | |
|\ | | | | | | | | | | | | | | | 94: Extend comments by single word first r=matklad a=kjeremy Fixes #88 Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Pull casts out of TextUnit | Jeremy A. Kolb | 2018-10-04 | 1 | -4/+4 | |
| | | ||||||
| * | Simplify extend_single_word_in_comment | Jeremy A. Kolb | 2018-10-04 | 1 | -15/+11 | |
| | | ||||||
| * | Extend comments by single word first | Jeremy A. Kolb | 2018-10-03 | 1 | -4/+36 | |
| | | | | | | | | Fixes #88 | |||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Move to rowan for syntax tree impl | Aleksey Kladov | 2018-10-02 | 11 | -530/+137 | |
|/ | ||||||
* | 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 | |
| | | ||||||
* | | 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 | 4 | -6/+10 | |
|/ | ||||||
* | Merge #75 | bors[bot] | 2018-09-19 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 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 | 1 | -1/+1 | |
| | | ||||||
* | | prefer lifetimes in extend selection | Aleksey Kladov | 2018-09-19 | 1 | -1/+13 | |
| | |