aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src
Commit message (Collapse)AuthorAgeFilesLines
* Rename File -> SourceFileNodeAleksey Kladov2018-11-077-38/+51
|
* Rustfmt to pass CIJeremy A. Kolb2018-11-071-3/+9
|
* Show documentation for hover requestsJeremy A. Kolb2018-11-071-1/+25
|
* Merge #188bors[bot]2018-11-051-2/+10
|\ | | | | | | | | | | | | | | | | 188: Introduce `SyntaxErrorKind` and `TextRange` to `SyntaxError` r=matklad a=aochagavia Co-authored-by: Adolfo Ochagavía <[email protected]> Co-authored-by: Adolfo Ochagavía <[email protected]>
| * Introduce Location and make SyntaxError fields privateAdolfo Ochagavía2018-11-051-2/+10
| |
| * Introduce SyntaxErrorKind and TextRange in SyntaxErrorAdolfo Ochagavía2018-11-041-2/+2
| |
* | Introduce var works with tail exprsAleksey Kladov2018-11-051-11/+45
|/
* Remove DOC_COMMENTJeremy A. Kolb2018-10-311-1/+1
| | | | Closes #166
* Reformat allAleksey Kladov2018-10-313-11/+13
|
* remove old completionAleksey Kladov2018-10-315-1100/+1
|
* move resolve local nameAleksey Kladov2018-10-313-83/+2
|
* Move FnDescriptors to analyzerAleksey Kladov2018-10-311-1/+2
|
* Add ModuleScope as a queryAleksey Kladov2018-10-302-0/+8
| | | | | | | This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit.
* switch to TextRange::subrangeAleksey Kladov2018-10-301-2/+1
|
* Complete crate:: pathsAleksey Kladov2018-10-242-14/+18
|
* SimplifyAleksey Kladov2018-10-241-3/+1
|
* complete pub(crate)Aleksey Kladov2018-10-231-2/+8
|
* Restore folding import groupsAdolfo Ochagavía2018-10-231-6/+97
|
* Merge #138bors[bot]2018-10-226-18/+18
|\ | | | | | | | | | | | | | | | | | | | | | | 138: Fix some clippy lints r=matklad a=alanhdu I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI. They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:. One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn? Co-authored-by: Alan Du <[email protected]>
| * Rename new to new_item (to match new_impl)Alan Du2018-10-221-9/+9
| |
| * Revert "clippy: Fix new_ret_no_self"Alan Du2018-10-202-11/+11
| | | | | | | | This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
| * Fix function callsAlan Du2018-10-181-1/+1
| |
| * clippy: Fix new_ret_no_selfAlan Du2018-10-182-11/+11
| |
| * clippy: Use if lets and remove redundant returnsAlan Du2018-10-183-7/+7
| |
| * Clippy lint: single-character string constantAlan Du2018-10-181-1/+1
| |
* | Merge #143bors[bot]2018-10-201-1/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | 143: Implement Find All References and Rename for local variables r=matklad a=kjeremy Expose `find_all_refs` in `Analysis`. This currently only works for local variables. Use this in the LSP to implement find all references and rename. Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Implement Find All References for local variablesJeremy A. Kolb2018-10-181-1/+0
| |
* | Update rowanAleksey Kladov2018-10-171-3/+3
|/
* 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-159-13/+13
|
* 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-114-15/+14
|\ | | | | | | | | | | | | | | | | | | | | | | 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-114-15/+14
| |
* | 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
|