Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | cleanup | Aleksey Kladov | 2018-10-20 | 2 | -2/+0 | |
| | | ||||||
* | | Remove job handle | Aleksey Kladov | 2018-10-20 | 5 | -99/+18 | |
| | | ||||||
* | | Fix tests | Aleksey Kladov | 2018-10-20 | 1 | -17/+14 | |
| | | ||||||
* | | use pythonic import order | Aleksey Kladov | 2018-10-20 | 7 | -17/+20 | |
| | | | | | | | | | | | | | | | | use std // blank line use extern crates // blank line use crate::{} | |||||
* | | actually check for cancelation | Aleksey Kladov | 2018-10-20 | 3 | -7/+20 | |
| | | ||||||
* | | make file-symbols query cancelable | Aleksey Kladov | 2018-10-20 | 4 | -40/+48 | |
| | | ||||||
* | | mark module queries as cacelable | Aleksey Kladov | 2018-10-20 | 4 | -29/+31 | |
| | | ||||||
* | | make more things cancelable | Aleksey Kladov | 2018-10-20 | 3 | -21/+20 | |
| | | ||||||
* | | remove job tokens | Aleksey Kladov | 2018-10-20 | 4 | -66/+61 | |
| | | ||||||
* | | make parent module cancelable | Aleksey Kladov | 2018-10-20 | 3 | -6/+16 | |
| | | ||||||
* | | introduce cancelable | Aleksey Kladov | 2018-10-20 | 1 | -0/+5 | |
| | | ||||||
* | | update salsa | Aleksey Kladov | 2018-10-20 | 4 | -11/+11 | |
| | | ||||||
* | | Merge #143 | bors[bot] | 2018-10-20 | 8 | -5/+164 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 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]> | |||||
| * | LSP: Add support for prepareRename | Jeremy A. Kolb | 2018-10-19 | 2 | -1/+24 | |
| | | ||||||
| * | Handle renaming of local variables | Jeremy A. Kolb | 2018-10-18 | 3 | -2/+45 | |
| | | ||||||
| * | Implement Find All References for local variables | Jeremy A. Kolb | 2018-10-18 | 8 | -3/+96 | |
| | | ||||||
* | | Update rowan | Aleksey Kladov | 2018-10-17 | 7 | -42/+19 | |
|/ | ||||||
* | rename gen-kinds to gen-syntax | Aleksey Kladov | 2018-10-16 | 7 | -8/+8 | |
| | ||||||
* | fix tests | Aleksey Kladov | 2018-10-16 | 3 | -46/+23 | |
| | ||||||
* | Switch to published teraron | Aleksey Kladov | 2018-10-16 | 3 | -123/+1 | |
| | ||||||
* | extract teraron | Aleksey Kladov | 2018-10-16 | 5 | -72/+149 | |
| | ||||||
* | Cargo Format | Jeremy A. Kolb | 2018-10-16 | 76 | -1524/+1930 | |
| | | | | Run `cargo fmt` and ignore generated files | |||||
* | Merge #128 | bors[bot] | 2018-10-16 | 3 | -66/+93 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 128: Add a test to verify if the generated codes are up-to-date. r=matklad a=mominul This test checks if the generated codes are up-to-date every time during `cargo test`. I have confirmed that the test works by manually editing the `grammar.ron` file. Closes #126 Thanks! Co-authored-by: Muhammad Mominul Huque <[email protected]> | |||||
| * | take `&Path` instead of `PathBuf` | Muhammad Mominul Huque | 2018-10-16 | 3 | -5/+5 | |
| | | ||||||
| * | Refactor the constants | Muhammad Mominul Huque | 2018-10-15 | 3 | -20/+19 | |
| | | ||||||
| * | Use CARGO_MANIFEST_DIR for locating the grammar.ron file | Muhammad Mominul Huque | 2018-10-15 | 3 | -8/+7 | |
| | | ||||||
| * | Show how to generate code with error message | Muhammad Mominul Huque | 2018-10-14 | 3 | -6/+8 | |
| | | ||||||
| * | create cli.rs and make the tests passing | Muhammad Mominul Huque | 2018-10-14 | 3 | -59/+86 | |
| | | ||||||
* | | switch to salsa release | Aleksey Kladov | 2018-10-15 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2018-10-15 | 2 | -13/+0 | |
| | | ||||||
* | | remove clones | Aleksey Kladov | 2018-10-15 | 4 | -6/+5 | |
| | | ||||||
* | | make analysis sync | Aleksey Kladov | 2018-10-15 | 4 | -19/+37 | |
| | | ||||||
* | | Tweak writable root API | Aleksey Kladov | 2018-10-15 | 2 | -11/+8 | |
| | | ||||||
* | | remove resolver from world | Aleksey Kladov | 2018-10-15 | 1 | -2/+0 | |
| | | ||||||
* | | Drop dead code | Aleksey Kladov | 2018-10-15 | 4 | -401/+0 | |
| | | ||||||
* | | fix tests | Aleksey Kladov | 2018-10-15 | 4 | -12/+21 | |
| | | ||||||
* | | Switch to the master of salsa | Aleksey Kladov | 2018-10-15 | 3 | -7/+8 | |
| | | ||||||
* | | migrate modue map to salsa | Aleksey Kladov | 2018-10-15 | 5 | -165/+172 | |
| | | ||||||
* | | start salsa migration | Aleksey Kladov | 2018-10-15 | 7 | -92/+221 | |
| | | ||||||
* | | remove our own copy of salsa | Aleksey Kladov | 2018-10-15 | 3 | -471/+0 | |
| | | | | | | | | salsa-rs/salsa is faster and more type safe | |||||
* | | add salsa dep, break the world | Aleksey Kladov | 2018-10-15 | 1 | -2/+1 | |
| | | ||||||
* | | regenerate | Aleksey Kladov | 2018-10-15 | 1 | -1/+1 | |
| | | ||||||
* | | Parse crate paths in expressions | Aleksey Kladov | 2018-10-15 | 3 | -1/+45 | |
| | | ||||||
* | | migrate analysis and server to 2018 | Aleksey Kladov | 2018-10-15 | 21 | -36/+42 | |
| | | ||||||
* | | switch ra_cli to 2018 | Aleksey Kladov | 2018-10-15 | 1 | -0/+1 | |
| | | ||||||
* | | switch editor to 2018 | Aleksey Kladov | 2018-10-15 | 10 | -13/+14 | |
| | | ||||||
* | | switch base crates to 2018 | Aleksey Kladov | 2018-10-15 | 3 | -0/+3 | |
| | | ||||||
* | | Run cargo fix | Aleksey Kladov | 2018-10-15 | 24 | -44/+44 | |
| | | ||||||
* | | Merge #127 | bors[bot] | 2018-10-15 | 5 | -77/+185 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 127: Improve folding r=matklad a=aochagavia I was messing around with adding support for multiline comments in folding and ended up changing a bunch of other things. First of all, I am not convinced of folding groups of successive items. For instance, I don't see why it is worthwhile to be able to fold something like the following: ```rust use foo; use bar; ``` Furthermore, this causes problems if you want to fold a multiline import: ```rust use foo::{ quux }; use bar; ``` The problem is that now there are two possible folds at the same position: we could fold the first use or we could fold the import group. IMO, the only place where folding groups makes sense is when folding comments. Therefore I have **removed folding import groups in favor of folding multiline imports**. Regarding folding comments, I made it a bit more robust by requiring that comments can only be folded if they have the same flavor. So if you have a bunch of `//` comments followed by `//!` comments, you will get two separate fold groups instead of a single one. Finally, I rewrote the API in such a way that it should be trivial to add new folds. You only need to: * Create a new FoldKind * Add it to the `fold_kind` function that converts from `SyntaxKind` to `FoldKind` Fixes #113 Co-authored-by: Adolfo OchagavĂa <[email protected]> | |||||
| * | | Improve tests | Adolfo OchagavĂa | 2018-10-13 | 2 | -30/+63 | |
| | | |