Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fix tests | Aleksey Kladov | 2018-12-20 | 5 | -13/+26 | |
| | | ||||||
* | | index all local crates | Aleksey Kladov | 2018-12-20 | 6 | -33/+37 | |
| | | ||||||
* | | fix the test | Aleksey Kladov | 2018-12-20 | 1 | -1/+1 | |
| | | ||||||
* | | File can be opened before the root is scanned | Aleksey Kladov | 2018-12-20 | 1 | -0/+12 | |
| | | ||||||
* | | fix syc | Aleksey Kladov | 2018-12-20 | 5 | -13/+55 | |
| | | ||||||
* | | swtich lsp server to vfs | Aleksey Kladov | 2018-12-20 | 13 | -398/+209 | |
| | | ||||||
* | | remove more imports | Aleksey Kladov | 2018-12-20 | 2 | -23/+2 | |
| | | ||||||
* | | dead import | Aleksey Kladov | 2018-12-20 | 1 | -2/+1 | |
| | | ||||||
* | | fix hir mock | Aleksey Kladov | 2018-12-20 | 2 | -19/+23 | |
| | | ||||||
* | | kill file resolver | Aleksey Kladov | 2018-12-20 | 3 | -94/+1 | |
| | | ||||||
* | | switch analysis to vfs | Aleksey Kladov | 2018-12-20 | 8 | -100/+142 | |
| | | ||||||
* | | doc comment | Aleksey Kladov | 2018-12-20 | 1 | -0/+1 | |
| | | ||||||
* | | add root & path info to remove event | Aleksey Kladov | 2018-12-20 | 1 | -2/+4 | |
| | | ||||||
* | | make it compile | Aleksey Kladov | 2018-12-20 | 4 | -9/+6 | |
| | | ||||||
* | | remove relpath from input | Aleksey Kladov | 2018-12-20 | 2 | -11/+2 | |
| | | ||||||
* | | use relpaths for module resolve | Aleksey Kladov | 2018-12-20 | 3 | -18/+34 | |
| | | ||||||
* | | implement vfs events handling | Aleksey Kladov | 2018-12-20 | 6 | -43/+268 | |
| | | ||||||
* | | add io::Task | Aleksey Kladov | 2018-12-20 | 2 | -26/+34 | |
| | | ||||||
* | | Add type alias | Aleksey Kladov | 2018-12-20 | 2 | -4/+8 | |
| | | ||||||
* | | vfs crate scaffold | Aleksey Kladov | 2018-12-20 | 5 | -68/+87 | |
| | | ||||||
* | | wip | Aleksey Kladov | 2018-12-20 | 5 | -1/+260 | |
|/ | ||||||
* | Bump languageserver-types to 0.53.0 to support LSP 3.14.0 | Jeremy A. Kolb | 2018-12-19 | 3 | -4/+4 | |
| | | | | See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0 | |||||
* | Merge #273 | bors[bot] | 2018-12-19 | 13 | -162/+418 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 273: Add a test to ensure that we can parse each file r=matklad a=DJMcNab Note that this has a non-spurious failure in ra_analysis/src/mock_analysis. Probably fixes #195. If my understanding is correct, fixes #214 and fixes #225. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Add tests and only traverse in the crates directory | DJMcNab | 2018-12-19 | 7 | -94/+185 | |
| | | ||||||
| * | Move is_block to lower in the call tree | DJMcNab | 2018-12-19 | 4 | -115/+104 | |
| | | ||||||
| * | Revert "Revert to f6f7c5" | DJMcNab | 2018-12-19 | 3 | -22/+36 | |
| | | | | | | | | | | | | This approach is correct, but it needs an addition to Restrictions too This reverts commit ad00d0c8a5f64142e6636e8b048204c8f8982f4a. | |||||
| * | Fix handling of structs in match arms | DJMcNab | 2018-12-19 | 1 | -1/+1 | |
| | | ||||||
| * | Revert to f6f7c5 | DJMcNab | 2018-12-19 | 3 | -36/+22 | |
| | | ||||||
| * | Fix expression parsing by bailing out upon a macro block being found | DJMcNab | 2018-12-19 | 2 | -17/+12 | |
| | | | | | | | | | | | | TODO: Fix this when the block like macro is in expression position E.g. `test(test!{})` currently parses | |||||
| * | Possibly fix #225 | DJMcNab | 2018-12-19 | 2 | -21/+40 | |
| | | ||||||
| * | Actually fix at_ts doc comment (committed wrong file :P) | DJMcNab | 2018-12-19 | 1 | -1/+1 | |
| | | ||||||
| * | Fix at_ts doc comment | DJMcNab | 2018-12-19 | 1 | -1/+1 | |
| | | ||||||
| * | Fix parsing of inclusive ranges (#214) | DJMcNab | 2018-12-19 | 6 | -37/+158 | |
| | | | | | | | | I'm not certain that this is correct, so extra eyes would be good | |||||
| * | Add a test to ensure that we can parse each file | DJMcNab | 2018-12-19 | 1 | -2/+43 | |
| | | | | | | | | Note that this has a non-spurious failure in ra_analysis/src/mock_analysis | |||||
* | | File module source does not depend on syntax | Aleksey Kladov | 2018-12-18 | 6 | -17/+21 | |
| | | ||||||
* | | disable gc for now | Aleksey Kladov | 2018-12-18 | 1 | -1/+5 | |
| | | ||||||
* | | Gc syntax trees after every modification | Aleksey Kladov | 2018-12-18 | 2 | -8/+17 | |
| | | ||||||
* | | Work around a bug | Aleksey Kladov | 2018-12-18 | 1 | -4/+7 | |
| | | | | | | | | cc #288 | |||||
* | | move thread worker to a separate crate | Aleksey Kladov | 2018-12-18 | 8 | -46/+52 | |
| | | ||||||
* | | By default, log only to stderr, and not to disk. | Andrew Chin | 2018-12-17 | 1 | -5/+5 | |
|/ | | | | | | | This fixes a common problem when running under VS Code, the user doesn't have permissions to create a `log` directory in the CWD. The old behavior can be re-enabled by setting RA_INTERNAL_MODE=1 | |||||
* | Fixed cast expression parsing in ra_syntax. | Roland Ruckerbauer | 2018-12-17 | 4 | -15/+66 | |
| | | | | | | | | | | | | | | | | | | | | | | The cast expression expected any type via types::type_() function, but the language spec does only allow TypeNoBounds (types without direct extra bounds via `+`). **Example:** ```rust fn test() { 6i8 as i32 + 5; } ``` This fails, because the types::type_() function which should parse the type after the as keyword is greedy, and takes all plus sign after path types as extra. My proposed fix is to replace the not implemented `type_no_plus()` just calls (`type_()`) function, which is used at several places. The replacement is `type_with_bounds_cond(p: &mut Parser, allow_bounds: bool)`, which passes the condition to relevant sub-parsers. This function is then called by `type_()` and the new public `type_no_bounds()`. | |||||
* | fix installation on windows | Aleksey Kladov | 2018-12-17 | 1 | -1/+2 | |
| | ||||||
* | rename Edit to TextEdit and AtomEdit to AtomTextEdit | Bernardo | 2018-12-11 | 11 | -87/+92 | |
| | ||||||
* | extract AtomEdit and Edit into new ra_text_edit crate | Bernardo | 2018-12-10 | 18 | -40/+69 | |
| | ||||||
* | use \b as word boundary | Bernardo | 2018-12-09 | 1 | -2/+30 | |
| | ||||||
* | Merge #271 | bors[bot] | 2018-12-09 | 4 | -9/+68 | |
|\ | | | | | | | | | | | | | | | | | | | 271: Implement format hook r=matklad a=DJMcNab Tentatively: fixes #155. However, this does add all changes in staged files, which might not be desirable. However, I think we can't solve that without explicit support in rustfmt for it, so it should be fine. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Reimplement format-hook using a rust binary | DJMcNab | 2018-12-09 | 2 | -22/+47 | |
| | | ||||||
| * | Update hook to not add unstaged files | DJMcNab | 2018-12-09 | 1 | -1/+3 | |
| | | ||||||
| * | Implement and test format hook | DJMcNab | 2018-12-09 | 3 | -8/+40 | |
| | | ||||||
* | | Answer canceled requests | Aleksey Kladov | 2018-12-09 | 1 | -1/+8 | |
| | |