Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Semantical call info | Aleksey Kladov | 2020-07-16 | 5 | -203/+177 |
| | |||||
* | Align CallableDefId naming with other ids | Aleksey Kladov | 2020-07-16 | 3 | -7/+7 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-07-16 | 1 | -47/+19 |
| | |||||
* | Move type | Aleksey Kladov | 2020-07-16 | 2 | -9/+10 |
| | |||||
* | simplify | Aleksey Kladov | 2020-07-16 | 1 | -60/+47 |
| | |||||
* | Add new `Punctuation` highlight tag | Leander Tentrup | 2020-07-15 | 2 | -1/+3 |
| | |||||
* | Highlight punctuation as `HighlightTag::Operator` | Leander Tentrup | 2020-07-15 | 1 | -0/+1 |
| | |||||
* | Show fewer syntax errors | Aleksey Kladov | 2020-07-15 | 1 | -2/+2 |
| | |||||
* | Merge #5345 | bors[bot] | 2020-07-15 | 2 | -3/+34 |
|\ | | | | | | | | | | | | | | | | | | | 5345: Semantic Highlighting: Emit mutable modifier for 'self' when applicable r=matklad a=Veykril This PR implements emitting the mutable modifier for the self keyword when applicable for semantic highlighting as mentioned in #5041. The rendered highlighting test html file: ![firefox_5lbsFNBqsT](https://user-images.githubusercontent.com/3757771/87346245-a5a07280-c551-11ea-9051-e5901255f8c9.png) As you can see it does not emit the modifier when `self` is not used in a mutable context even if it is declared mutably in the enclosing function. I'm not sure if this is actually something wanted or not. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Semantic Highlighting: Emit mutable modifier for 'self' when applicable | Lukas Wirth | 2020-07-13 | 2 | -3/+34 |
| | | |||||
* | | Off by one error when determining the active param | Aleksey Kladov | 2020-07-15 | 1 | -2/+2 |
| | | | | | | | | closes #3615 | ||||
* | | Refactor CallInfo tests | Aleksey Kladov | 2020-07-15 | 1 | -226/+239 |
| | | |||||
* | | Fix classify_name_ref on multi-path macro calls | Jonas Schievink | 2020-07-14 | 1 | -0/+18 |
| | | |||||
* | | Don't duplicate parens in patterns | Aleksey Kladov | 2020-07-14 | 2 | -1/+37 |
| | | |||||
* | | Add mark | Aleksey Kladov | 2020-07-14 | 1 | -0/+2 |
|/ | |||||
* | Fix ignore attribute autocompletion | Aleksei Trifonov | 2020-07-12 | 1 | -3/+3 |
| | |||||
* | Implementations lens for unions | Aleksey Kladov | 2020-07-11 | 1 | -0/+1 |
| | | | | closes #4728 | ||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 3 | -4/+8 |
| | | | | closes #5106 | ||||
* | Fix goto definition for type alias type parameters | Aleksey Kladov | 2020-07-11 | 1 | -0/+10 |
| | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042 | ||||
* | Merge #4996 | bors[bot] | 2020-07-11 | 1 | -3/+55 |
|\ | | | | | | | | | | | | | | | | | | | 4996: Correctly generate new struct field in file containing struct def r=matklad a=TimoFreiberg WIP because the test doesn't pass. Testing the fix by hand looked good, although quickfixes seem to not support setting the editor cursor yet, which i think we want for "generate missing defs from usage" fixes. Co-authored-by: Timo Freiberg <[email protected]> | ||||
| * | Correctly generate new struct field in file containing struct def | Timo Freiberg | 2020-07-10 | 1 | -3/+55 |
| | | |||||
* | | Speed up completion | Aleksey Kladov | 2020-07-11 | 7 | -20/+18 |
|/ | |||||
* | Better name | Aleksey Kladov | 2020-07-10 | 2 | -4/+4 |
| | |||||
* | Don't add braces after struct | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | | | | Unit structs are a thing | ||||
* | Better complete expression keywords | Aleksey Kladov | 2020-07-10 | 2 | -11/+27 |
| | |||||
* | Complete params in nested fns | Aleksey Kladov | 2020-07-10 | 1 | -5/+16 |
| | |||||
* | Complete parameters more aggressively | Aleksey Kladov | 2020-07-10 | 1 | -9/+12 |
| | |||||
* | Refresh tests | Aleksey Kladov | 2020-07-10 | 1 | -30/+7 |
| | |||||
* | Look through Arc for goto type definition | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | Simplify tests | Aleksey Kladov | 2020-07-10 | 1 | -60/+53 |
| | |||||
* | Goto type definition works for self | Aleksey Kladov | 2020-07-10 | 2 | -8/+25 |
| | |||||
* | Only take first 500 syntax errors | yihuang | 2020-07-10 | 1 | -1/+2 |
| | | | | Too many syntax errors make some editor/ide slow, fix #3434. | ||||
* | Don't mess with cursor position when adding hashes | Aleksey Kladov | 2020-07-09 | 1 | -1/+1 |
| | |||||
* | Merge #5284 | bors[bot] | 2020-07-09 | 1 | -2/+15 |
|\ | | | | | | | | | | | | | | | | | | | | | 5284: Fold struct literals r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Fold struct literals | Aleksey Kladov | 2020-07-09 | 1 | -2/+15 |
| | | |||||
* | | Merge #5270 | bors[bot] | 2020-07-09 | 1 | -8/+0 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5270: Add argument count mismatch diagnostic r=matklad a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/4025. This currently has one false positive on this line, where `max` is resolved to `Iterator::max` instead of `Ord::max`: https://github.com/rust-analyzer/rust-analyzer/blob/8aa10c00a4c5b957d459fac5a103cd9688e8dcdd/crates/expect/src/lib.rs#L263 (I have no idea why it thinks that `usize` is an `Iterator`) TODO: * [x] Tests * [x] Improve diagnostic text for method calls Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Remove unnecessary DiagnosticSink handlers | Jonas Schievink | 2020-07-09 | 1 | -16/+0 |
| | | |||||
| * | Add argument count mismatch diagnostic | Jonas Schievink | 2020-07-09 | 1 | -0/+8 |
| | | |||||
* | | Always put config first | Aleksey Kladov | 2020-07-09 | 3 | -60/+60 |
| | | |||||
* | | Cleanup diagnostics tests | Aleksey Kladov | 2020-07-09 | 2 | -237/+131 |
| | | |||||
* | | Reduce code duplication | Aleksey Kladov | 2020-07-09 | 1 | -181/+147 |
| | | |||||
* | | Re-enable IDE features for incomplete impl blocs | Aleksey Kladov | 2020-07-09 | 2 | -1/+18 |
|/ | |||||
* | Prettier rendering | Aleksey Kladov | 2020-07-09 | 1 | -43/+43 |
| | |||||
* | Streamline | Aleksey Kladov | 2020-07-09 | 3 | -50/+36 |
| | |||||
* | Reduce API | Aleksey Kladov | 2020-07-09 | 2 | -13/+8 |
| | |||||
* | Cleanup | Aleksey Kladov | 2020-07-09 | 1 | -21/+15 |
| | |||||
* | Reduce API | Aleksey Kladov | 2020-07-09 | 1 | -19/+5 |
| | |||||
* | Rename | Aleksey Kladov | 2020-07-09 | 1 | -22/+12 |
| | |||||
* | Refactor hover tests | Aleksey Kladov | 2020-07-08 | 1 | -1582/+1615 |
| | |||||
* | Simplify tests | Aleksey Kladov | 2020-07-08 | 1 | -59/+55 |
| |