Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | verbose assertions in SourceFileItems | Aleksey Kladov | 2018-12-09 | 1 | -6/+15 |
| | | |||||
* | | resolve extern crates propertly | Aleksey Kladov | 2018-12-09 | 4 | -51/+98 |
| | | |||||
* | | move tests to separate file | Aleksey Kladov | 2018-12-09 | 2 | -97/+95 |
| | | |||||
* | | WIP: resolve across crates | Aleksey Kladov | 2018-12-09 | 1 | -14/+41 |
| | | |||||
* | | make resolver fields private | Aleksey Kladov | 2018-12-09 | 2 | -12/+22 |
| | | |||||
* | | return dependencies with names | Aleksey Kladov | 2018-12-09 | 2 | -6/+17 |
| | | |||||
* | | thread info about dep names | Aleksey Kladov | 2018-12-09 | 3 | -12/+24 |
| | | |||||
* | | more crate boilerplate | Aleksey Kladov | 2018-12-09 | 4 | -12/+54 |
| | | |||||
* | | hir::Crate boilerplate | Aleksey Kladov | 2018-12-09 | 2 | -2/+21 |
| | | |||||
* | | propagate deps to CrateGraph | Aleksey Kladov | 2018-12-09 | 3 | -14/+43 |
| | | |||||
* | | track deps in project model | Aleksey Kladov | 2018-12-09 | 1 | -0/+10 |
| | | |||||
* | | Check Fileid in SourceFileMap | Aleksey Kladov | 2018-12-09 | 5 | -7/+23 |
| | | |||||
* | | switch threadpool back from rayon to threadpool | Aleksey Kladov | 2018-12-09 | 2 | -9/+7 |
|/ | | | | | rayon does not replenish the pool when the thread panics, but we must be reselient to bugs. | ||||
* | Merge #267 | bors[bot] | 2018-12-09 | 2 | -8/+2 |
|\ | | | | | | | | | | | | | | | 267: Fix the extend keybinding r=DJMcNab a=DJMcNab Make the extend selection keybinding less annoying for users not used to Injelli-J (myself included). Also fixes a minor style issue and runs `npm update`. Co-authored-by: DJMcNab <[email protected]> | ||||
| * | Fix cargo format component name and run rustfmt | DJMcNab | 2018-12-09 | 2 | -8/+2 |
| | | |||||
| * | Add package command and upgrade event-stream | DJMcNab | 2018-12-08 | 1 | -1/+1 |
| | | |||||
* | | find next whitespace or begining or end | Bernardo | 2018-12-08 | 1 | -3/+3 |
| | | |||||
* | | Merge #265 | bors[bot] | 2018-12-08 | 4 | -24/+59 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 265: Refactor symbol resolve API r=matklad a=matklad Introduce ReferenceResolution to avoid nesting to many non-nominal types. Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Refactor symbol resolve API | Aleksey Kladov | 2018-12-08 | 4 | -24/+59 |
| | | | | | | | | | | | | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types. | ||||
* | | | Merge #263 | bors[bot] | 2018-12-08 | 17 | -22/+28 |
|\| | | | | | | | | | | | | | | | | | | | | | | | 263: New modules r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | account for new layout when collecting tests | Aleksey Kladov | 2018-12-08 | 1 | -2/+8 |
| | | | |||||
| * | | grand module rename | Aleksey Kladov | 2018-12-08 | 15 | -0/+0 |
| | | | |||||
| * | | resolve 2018 style modules | Aleksey Kladov | 2018-12-08 | 1 | -20/+20 |
| | | | |||||
* | | | Merge #264 | bors[bot] | 2018-12-08 | 1 | -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 comment | Bernardo | 2018-12-08 | 1 | -1/+20 |
| |/ | |||||
* | | reformat | Aleksey Kladov | 2018-12-08 | 2 | -2/+3 |
| | | |||||
* | | Add a better text for hover and stop duplicating work done in ↵ | DJMcNab | 2018-12-08 | 7 | -30/+98 |
| | | | | | | | | approximatelly_resolve_symbol | ||||
* | | Fix typo in comment | DJMcNab | 2018-12-08 | 1 | -10/+15 |
| | | |||||
* | | Clarify and correct comment about multi_byte_tokens | DJMcNab | 2018-12-08 | 1 | -2/+2 |
| | | |||||
* | | Fix the range of a hover request to be more in line with prior art | DJMcNab | 2018-12-08 | 1 | -1/+8 |
|/ | |||||
* | Add test for code actions | Florian Diebold | 2018-12-06 | 1 | -1/+60 |
| | |||||
* | Use json comparison code from cargo for heavy tests | Florian Diebold | 2018-12-06 | 5 | -18/+116 |
| | |||||
* | modernize even more | Aleksey Kladov | 2018-12-06 | 12 | -70/+29 |
| | |||||
* | modernize more | Aleksey Kladov | 2018-12-06 | 10 | -56/+42 |
| | |||||
* | drop extern crates | Aleksey Kladov | 2018-12-06 | 3 | -26/+0 |
| | |||||
* | modernize some files | Aleksey Kladov | 2018-12-06 | 3 | -10/+4 |
| |