aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src
Commit message (Collapse)AuthorAgeFilesLines
* add pub(crate) works for named fieldsAleksey Kladov2019-01-031-18/+37
|
* fix the testAleksey Kladov2019-01-031-5/+0
|
* more enterprisey assists APIAleksey Kladov2019-01-038-193/+277
|
* split assists over several filesAleksey Kladov2019-01-037-402/+487
|
* rename code-actions -> assistsAleksey Kladov2019-01-032-2/+2
|
* extend selection inside a string literal should select a word firstgfreezy2019-01-021-4/+20
|
* move symbols to ra_analysisAleksey Kladov2019-01-023-248/+131
|
* Merge #395bors[bot]2018-12-312-11/+7
|\ | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * generalize highlighting to work with nodesAleksey Kladov2018-12-311-3/+3
| |
| * generalize extend selection to work with nodesAleksey Kladov2018-12-311-8/+4
| |
* | Make modules with tests runnableJan Jansen2018-12-311-59/+1
|/ | | | Fixes #154
* avoid allocating an unnecessary intermediate vector & not traverse multiple ↵gfreezy2018-12-301-62/+72
| | | | times
* implement struct shorthand initialization diagnosticgfreezy2018-12-302-112/+268
|
* highlight macro identsAleksey Kladov2018-12-281-3/+32
|
* Merge #325bors[bot]2018-12-273-104/+544
|\ | | | | | | | | | | | | | | | | | | 325: implement translate_offset_with_edit r=matklad a=vemoo - Implement `translate_offset_with_edit` to resolve #105 - Add proptest impls for text, offsets and edits and use them in tests for `translate_offset_with_edit` and `LineIndex` - Added benchmark for `translate_offset_with_edit` Co-authored-by: Bernardo <[email protected]>
| * test code and dependency cleanupBernardo2018-12-251-2/+1
| |
| * change to `TextEdit` to avoid allocation and sortBernardo2018-12-251-47/+39
| | | | | | | | rename newline to step where applicable
| * remove benchmark and simplify testsBernardo2018-12-252-45/+41
| |
| * use new translate_offset_with_edit for TryConvWithBernardo2018-12-252-1/+2
| | | | | | | | doc comments
| * add line_index proptestBernardo2018-12-252-106/+132
| |
| * make criterion args work, small simplificationBernardo2018-12-251-3/+0
| |
| * fix arbitrary offset generation, col translation workingBernardo2018-12-252-39/+92
| |
| * column translation implemented but not quite working yetBernardo2018-12-252-48/+68
| |
| * iterate over `Step`s which are either, newlines or multibyte charsBernardo2018-12-252-26/+121
| |
| * simplify newline check with macroBernardo2018-12-251-20/+14
| |
| * remove slower impl, add benchmarksBernardo2018-12-252-199/+23
| |
| * final iteration, faster a bit simplerBernardo2018-12-251-171/+209
| | | | | | | | the main thing is we iterate over inserted newlines at once for each edit
| * simplified versionBernardo2018-12-251-0/+139
| |
| * move translate_offset_with_edit to ra_editorBernardo2018-12-253-2/+264
| |
| * initial newline translation workingBernardo2018-12-251-1/+5
| | | | | | | | | | | | todo: cleanup, simplify handle columns
* | check edits in diagnosticsAleksey Kladov2018-12-272-34/+30
| |
* | fix use std::{self}gfreezy2018-12-262-12/+42
| |
* | fix testsgfreezy2018-12-251-1/+1
| |
* | add fix for removing unnecessary braces in use statementsgfreezy2018-12-253-23/+41
|/
* Merge #326bors[bot]2018-12-241-2/+54
|\ | | | | | | | | | | | | | | 326: resolved #324: remove unnecessary braces in use statement. r=matklad a=gfreezy Add inspection for unnecessary braces in use statement Co-authored-by: gfreezy <[email protected]>
| * keep severity to Error & WeakWarninggfreezy2018-12-241-9/+7
| |
| * add serverity to vscode diagnosticsgfreezy2018-12-231-8/+11
| |
| * resolved #324: remove unnecessary braces in use statement.gfreezy2018-12-231-2/+53
| |
* | Add make_pub_crate code action to ra_editorHirokazu Hata2018-12-242-2/+74
|/
* join lines collapses use_treesAleksey Kladov2018-12-211-0/+58
|
* fold curly blocksAleksey Kladov2018-12-201-15/+25
|
* generalize folding testsAleksey Kladov2018-12-201-21/+21
| | | | By using xml-like tags, we will be able to test nested foldings.
* rename Edit to TextEdit and AtomEdit to AtomTextEditBernardo2018-12-113-16/+21
|
* extract AtomEdit and Edit into new ra_text_edit crateBernardo2018-12-103-87/+3
|
* use \b as word boundaryBernardo2018-12-091-2/+30
|
* Implement and test format hookDJMcNab2018-12-091-1/+1
|
* find next whitespace or begining or endBernardo2018-12-081-3/+3
|
* Merge #264bors[bot]2018-12-081-1/+20
|\ | | | | | | | | | | | | | | 264: check for empty range when extending in comment r=matklad a=vemoo fix for #140 Co-authored-by: Bernardo <[email protected]>
| * check for empty range when extending in commentBernardo2018-12-081-1/+20
| |
* | Add a better text for hover and stop duplicating work done in ↵DJMcNab2018-12-081-0/+55
|/ | | | approximatelly_resolve_symbol