Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ra_syntax: fix reparsing merging errors, also now reparse_token() reports errors | Veetaha | 2020-02-18 | 1 | -7/+50 |
| | |||||
* | ra_syntax: migrate test data to 0-length text-range of SyntaxError when ↵ | Veetaha | 2020-02-17 | 46 | -242/+242 |
| | | | | constructed from TextUnit | ||||
* | ra_syntax: remove message() method and use only Display trait in SyntaxError ↵ | Veetaha | 2020-02-17 | 2 | -4/+1 |
| | | | | as per matklad | ||||
* | ra_syntax: change module-level documentation for syntax_error to "see X" as ↵ | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | | | | per matklad | ||||
* | ra_syntax: followup fix for making SyntaxError::range() to return by value | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | ra_syntax: SyntaxError::range() now returns by value | Veetaha | 2020-02-17 | 4 | -12/+6 |
| | |||||
* | ra_syntax: moved reexport declaration after imports as per matklad | Veetaha | 2020-02-17 | 1 | -1/+2 |
| | |||||
* | ra_syntax: Apply Aleksei Kladov suggestion about TextRange of TextUnit | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
* | Change semmantical analyzis to tree validation as per @matklad | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
* | ra_syntax: reshape SyntaxError for the sake of removing redundancy | Veetaha | 2020-02-17 | 55 | -637/+404 |
| | |||||
* | Merge #3202 | bors[bot] | 2020-02-17 | 4 | -19/+15 |
|\ | | | | | | | | | | | | | | | 3202: Fix RA_PROF and replace ra_cli mentions r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Replace ra_cli mentions | Laurențiu Nicola | 2020-02-17 | 4 | -17/+13 |
| | | |||||
| * | Fix RA_PROFILE typo in docs | Laurențiu Nicola | 2020-02-17 | 1 | -2/+2 |
|/ | |||||
* | Merge #3200 | bors[bot] | 2020-02-17 | 16 | -230/+201 |
|\ | | | | | | | | | | | | | | | 3200: Merge ra_vfs_glob and ra_lsp_server r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Merge ra_vfs_glob and ra_lsp_server | Aleksey Kladov | 2020-02-17 | 10 | -26/+12 |
| | | |||||
| * | Merge cli and ra_lsp_server | Aleksey Kladov | 2020-02-17 | 11 | -205/+190 |
| | | |||||
* | | Merge #3199 | bors[bot] | 2020-02-17 | 6 | -182/+232 |
|\| | | | | | | | | | | | | | | | 3199: Use anyhow r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Use anyhow | Aleksey Kladov | 2020-02-17 | 5 | -14/+16 |
| | | |||||
| * | Cleanup | Aleksey Kladov | 2020-02-17 | 2 | -73/+68 |
| | | |||||
| * | Better name | Aleksey Kladov | 2020-02-17 | 1 | -2/+2 |
| | | |||||
| * | More precise types | Aleksey Kladov | 2020-02-17 | 1 | -12/+15 |
| | | |||||
| * | Unify verbosity handling | Aleksey Kladov | 2020-02-17 | 2 | -22/+22 |
| | | |||||
| * | Move interesting stuff to main | Aleksey Kladov | 2020-02-17 | 1 | -40/+35 |
| | | |||||
| * | Stronger Types | Aleksey Kladov | 2020-02-17 | 1 | -5/+5 |
| | | |||||
| * | Refactor arg parsing | Aleksey Kladov | 2020-02-17 | 1 | -115/+169 |
| | | |||||
| * | Sort deps | Aleksey Kladov | 2020-02-17 | 1 | -14/+15 |
| | | |||||
* | | Merge #3196 | bors[bot] | 2020-02-17 | 9 | -142/+123 |
|\| | | | | | | | | | | | | | | | 3196: Cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Inline ra_batch | Aleksey Kladov | 2020-02-17 | 8 | -49/+23 |
| | | |||||
| * | Cleanup imports | Aleksey Kladov | 2020-02-17 | 1 | -3/+2 |
| | | |||||
| * | Inline help | Aleksey Kladov | 2020-02-17 | 2 | -82/+96 |
| | | |||||
| * | Use Arguments::from_os | Aleksey Kladov | 2020-02-17 | 1 | -9/+3 |
| | | |||||
* | | Merge #3195 | bors[bot] | 2020-02-17 | 9 | -390/+18 |
|\| | | | | | | | | | | | | | | | | | | | | | 3195: Drop proptest tests r=matklad a=matklad It takes waaay to long to compile. We should add quickcheck tests when we touch the relevant code next time. Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Drop proptest tests | Aleksey Kladov | 2020-02-17 | 9 | -390/+18 |
|/ | | | | | | | It takes waaay to long to compile. We should add quickcheck tests when we touch the relevant code next time. | ||||
* | Merge #3193 | bors[bot] | 2020-02-17 | 1 | -10/+10 |
|\ | | | | | | | | | | | | | | | 3193: Update deps r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Update deps | kjeremy | 2020-02-17 | 1 | -10/+10 |
| | | |||||
* | | Fix extension name | Aleksey Kladov | 2020-02-17 | 4 | -47/+14 |
|/ | |||||
* | Fix release process once more | Aleksey Kladov | 2020-02-17 | 1 | -2/+2 |
| | |||||
* | Fix release process | Aleksey Kladov | 2020-02-17 | 1 | -4/+5 |
| | |||||
* | Merge #3191 | bors[bot] | 2020-02-17 | 7 | -51/+26 |
|\ | | | | | | | | | | | | | | | 3191: Remove two stage constuction r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Simplify some more ctors | Aleksey Kladov | 2020-02-17 | 3 | -9/+3 |
| | | |||||
| * | Simplify ctor | Aleksey Kladov | 2020-02-17 | 1 | -17/+7 |
| | | |||||
| * | remove debug print | Aleksey Kladov | 2020-02-17 | 1 | -2/+0 |
| | | |||||
| * | Remove two stage constuction | Aleksey Kladov | 2020-02-17 | 2 | -21/+15 |
| | | |||||
| * | Fix link to the manual | Aleksey Kladov | 2020-02-17 | 1 | -1/+1 |
| | | |||||
| * | Push IO and error handling up | Aleksey Kladov | 2020-02-17 | 3 | -14/+13 |
|/ | |||||
* | Merge pull request #3190 from matklad/reload | Aleksey Kladov | 2020-02-17 | 6 | -42/+62 |
|\ | | | | | Simplify TS reload logic | ||||
| * | Simplify startup | Aleksey Kladov | 2020-02-17 | 5 | -33/+25 |
| | | |||||
| * | Simplify TS reload logic | Aleksey Kladov | 2020-02-17 | 6 | -23/+51 |
|/ | | | | Fixes #3164 | ||||
* | Merge #3169 | bors[bot] | 2020-02-17 | 5 | -14/+111 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3169: Show record field names in Enum completion r=flodiebold a=adamrk Adresses https://github.com/rust-analyzer/rust-analyzer/issues/2947. Previously the details shown when autocompleting an Enum variant would look like the variant was a tuple even if it was a record: ![2020-02-16-15:59:32_crop](https://user-images.githubusercontent.com/16367467/74607233-64f21980-50d7-11ea-99db-e973e29c71d7.png) This change will show the names of the fields for a record and use curly braces instead of parentheses: ![2020-02-16-15:33:00_crop](https://user-images.githubusercontent.com/16367467/74607251-8ce17d00-50d7-11ea-9d4d-38d198a4aec0.png) This required exposing the type `adt::StructKind` from `ra_hir` and adding a function ``` kind(self, db: &impl HirDatabase) -> StructKind ``` in the `impl` of `EnumVariant`. There was also a previously existing function `is_unit(self, db: &impl HirDatabase) -> bool` for `EnumVariant` which I removed because it seemed redundant after adding `kind`. Co-authored-by: adamrk <[email protected]> | ||||
| * | use 'if let' instead of match on kind in lower.rs | adamrk | 2020-02-17 | 1 | -6/+4 |
| | |