aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor
Commit message (Collapse)AuthorAgeFilesLines
* Cargo FormatJeremy A. Kolb2018-10-1613-395/+612
| | | | Run `cargo fmt` and ignore generated files
* start salsa migrationAleksey Kladov2018-10-152-2/+2
|
* switch editor to 2018Aleksey Kladov2018-10-1510-13/+14
|
* Improve testsAdolfo Ochagavía2018-10-131-22/+33
|
* Only fold groups of similar commentsAdolfo Ochagavía2018-10-131-27/+30
|
* Cleanup fold code and split logic to fold single elementsAdolfo Ochagavía2018-10-121-38/+69
|
* Fold multiline commentsAdolfo Ochagavía2018-10-121-19/+19
|
* Merge #122bors[bot]2018-10-115-15/+15
|\ | | | | | | | | | | | | | | | | | | | | | | 122: Use rustc-hash crate r=matklad a=mominul Replace std's HashMap, HashSet with FxHashMap and FxHashSet. Closes #121 Thanks! Co-authored-by: Muhammad Mominul Huque <[email protected]>
| * Replace HashMap, HashSet with FxHashMap and FxHashSetMuhammad Mominul Huque2018-10-115-15/+15
| |
* | Merge #116bors[bot]2018-10-111-58/+137
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 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 joinAdolfo Ochagavía2018-10-111-22/+23
| |
| * Add testsAdolfo Ochagavía2018-10-111-0/+56
| |
| * Remove nestingAdolfo Ochagavía2018-10-111-75/+68
| |
| * Use Comment wrapperAdolfo Ochagavía2018-10-111-36/+16
| |
| * Collapse comments upon joinAdolfo Ochagavía2018-10-101-15/+64
| |
* | Report errors only onceAdolfo Ochagavía2018-10-101-14/+3
| |
* | Remove error publishing through publishDecorationsAdolfo Ochagavía2018-10-101-1/+0
|/
* Merge #106bors[bot]2018-10-092-3/+100
|\ | | | | | | | | | | | | | | 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 handlerAleksey Kladov2018-10-092-3/+100
| | | | | | | | Now, typing doc comments is much more pleasant
* | Switch to absolute offsets for extend comment wordAleksey Kladov2018-10-091-4/+13
|/
* Attach comments smartlyAleksey Kladov2018-10-081-0/+16
|
* Simplify event processingAleksey Kladov2018-10-081-4/+5
|
* tfn snippetAleksey Kladov2018-10-081-0/+32
|
* Remove functional noopJeremy A. Kolb2018-10-061-8/+0
|
* Resolve local names firstJeremy A. Kolb2018-10-062-11/+10
|
* WIP: This doesn't currently work but I also don't think it's the right ↵Jeremy A. Kolb2018-10-052-1/+9
| | | | abstraction
* Add resolve_local_name to resolve names in a function scopeJeremy A. Kolb2018-10-051-2/+79
|
* Pull casts out of TextUnitJeremy A. Kolb2018-10-041-4/+4
|
* Simplify extend_single_word_in_commentJeremy A. Kolb2018-10-041-15/+11
|
* Extend comments by single word firstJeremy A. Kolb2018-10-031-4/+36
| | | | Fixes #88
* Make siblings an inherent methodAleksey Kladov2018-10-023-17/+16
|
* make ancestors and descendants inherentAleksey Kladov2018-10-028-29/+24
|
* Unit TestsJeremy A. Kolb2018-09-241-0/+56
|
* Split folding ranges into editor and lsp partsJeremy A. Kolb2018-09-242-0/+88
|
* prefer lifetimes in extend selectionAleksey Kladov2018-09-191-1/+13
|
* eprintlnAleksey Kladov2018-09-161-7/+37
|
* rename all thingsAleksey Kladov2018-09-1613-0/+2258