Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup CFG API | Aleksey Kladov | 2020-07-23 | 1 | -5/+2 |
| | |||||
*-. | Merge #5451 #5463 #5465 #5466 | bors[bot] | 2020-07-21 | 2 | -14/+47 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5451: Highlight more cases of SyntaxKind when it is a punctuation r=matklad a=GrayJack This maybe closes #5406 Closes #5453 Separate what one expect to be a punctuation semantic token (like `,`, `;`, `(`, etc), and what is not (`&`, `::`, `+`, etc) 5463: Bump lexer r=matklad a=kjeremy Since we're now on rust 1.45 5465: Bump chalk r=matklad a=kjeremy 5466: Do not show default types in function and closure return values r=matklad a=SomeoneToIgnore Avoid things like <img width="522" alt="image" src="https://user-images.githubusercontent.com/2690773/87985936-1bbe4f80-cae5-11ea-9b8a-5383d896c296.png"> Co-authored-by: GrayJack <[email protected]> Co-authored-by: kjeremy <[email protected]> Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| | * | Do not show default types in closures | Kirill Bulatov | 2020-07-20 | 1 | -0/+2 |
| |/ |/| | |||||
| * | On second thought, we want to preserve the textMate here where all ↵ | GrayJack | 2020-07-21 | 1 | -1/+3 |
| | | | | | | | | punctuation that are from a Attr be highlited as Attribute | ||||
| * | `#` as Attribute | GrayJack | 2020-07-21 | 1 | -0/+1 |
| | | | | | | | | - Issue #5453 | ||||
| * | @ as operator | GrayJack | 2020-07-21 | 1 | -2/+3 |
| | | |||||
| * | Assingment semantic highlight | GrayJack | 2020-07-20 | 1 | -1/+7 |
| | | |||||
| * | Handle semantic highlight when STAR is part of the `*{const, mut}` | GrayJack | 2020-07-20 | 1 | -1/+4 |
| | | |||||
| * | Highlight more cases of SyntaxKind when it is a punctuation | GrayJack | 2020-07-20 | 1 | -14/+32 |
| | | |||||
* | | Merge #5440 | bors[bot] | 2020-07-20 | 3 | -4/+4 |
|\ \ | |/ |/| | | | | | | | | | | | 5440: Minor perf tweaks per clippy r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | Minor perf tweaks per clippy | Jeremy Kolb | 2020-07-19 | 3 | -4/+4 |
| | | |||||
* | | Fix a typo in completion docs | Pascal Hertleif | 2020-07-19 | 1 | -1/+1 |
|/ | |||||
* | Merge #5423 | bors[bot] | 2020-07-17 | 1 | -0/+80 |
|\ | | | | | | | | | | | | | | | 5423: Correctly resolve assoc. types in path bindings r=matklad a=jonas-schievink Previously invoking goto def on `impl Iterator<Item<|> = ()>` would go to `Iterator`, not `Item`. This fixes that. Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Correctly resolve assoc. types in path bindings | Jonas Schievink | 2020-07-17 | 1 | -0/+80 |
| | | |||||
* | | Fix out of bounds panic in active parameter | Aleksey Kladov | 2020-07-17 | 2 | -0/+20 |
|/ | |||||
* | Move tests | Aleksey Kladov | 2020-07-17 | 2 | -74/+71 |
| | |||||
* | Merge #5417 | bors[bot] | 2020-07-17 | 2 | -2/+37 |
|\ | | | | | | | | | | | | | | | 5417: Mismatched arg count works for lambdas r=jonas-schievink a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add test for fn pointers | Aleksey Kladov | 2020-07-17 | 1 | -0/+15 |
| | | |||||
| * | call_info works with closures | Aleksey Kladov | 2020-07-17 | 2 | -2/+22 |
| | | |||||
* | | Unclutter NavigationTarget API | Aleksey Kladov | 2020-07-17 | 9 | -171/+145 |
| | | |||||
* | | Continue non-doc comments with trailing space | Aleksey Kladov | 2020-07-17 | 2 | -9/+59 |
|/ | |||||
* | Remove FunctionSignature | Aleksey Kladov | 2020-07-16 | 3 | -180/+7 |
| | |||||
* | Inlay hints use callables | Aleksey Kladov | 2020-07-16 | 2 | -140/+32 |
| | |||||
* | Rename | Aleksey Kladov | 2020-07-16 | 4 | -10/+11 |
| | |||||
* | Don't use function signature for Display | Aleksey Kladov | 2020-07-16 | 4 | -62/+47 |
| | |||||
* | Redner self as param for call infor for assoc fn call | Aleksey Kladov | 2020-07-16 | 1 | -7/+28 |
| | |||||
* | Better module structure | Aleksey Kladov | 2020-07-16 | 3 | -21/+22 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2020-07-16 | 6 | -29/+26 |
| | |||||
* | 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 |
|/ |