aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
Commit message (Collapse)AuthorAgeFilesLines
...
| | * On second thought, we want to preserve the textMate here where all ↵GrayJack2020-07-213-3/+5
| | | | | | | | | | | | punctuation that are from a Attr be highlited as Attribute
| | * `#` as AttributeGrayJack2020-07-213-2/+3
| | | | | | | | | | | | - Issue #5453
| | * @ as operatorGrayJack2020-07-211-2/+3
| | |
| | * Assingment semantic highlightGrayJack2020-07-206-41/+47
| | |
| | * Handle semantic highlight when STAR is part of the `*{const, mut}`GrayJack2020-07-206-32/+35
| | |
| | * Highlight more cases of SyntaxKind when it is a punctuationGrayJack2020-07-201-14/+32
| | |
| * | Merge #5440bors[bot]2020-07-203-4/+4
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | 5440: Minor perf tweaks per clippy r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| | * Minor perf tweaks per clippyJeremy Kolb2020-07-193-4/+4
| | |
| * | Fix a typo in completion docsPascal Hertleif2020-07-191-1/+1
| |/
| * Merge #5423bors[bot]2020-07-171-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 bindingsJonas Schievink2020-07-171-0/+80
| | |
| * | Fix out of bounds panic in active parameterAleksey Kladov2020-07-172-0/+20
| |/
| * Move testsAleksey Kladov2020-07-172-74/+71
| |
| * Merge #5417bors[bot]2020-07-172-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 pointersAleksey Kladov2020-07-171-0/+15
| | |
| | * call_info works with closuresAleksey Kladov2020-07-172-2/+22
| | |
| * | Unclutter NavigationTarget APIAleksey Kladov2020-07-179-171/+145
| | |
| * | Continue non-doc comments with trailing spaceAleksey Kladov2020-07-172-9/+59
| |/
| * Remove FunctionSignatureAleksey Kladov2020-07-163-180/+7
| |
| * Inlay hints use callablesAleksey Kladov2020-07-162-140/+32
| |
| * RenameAleksey Kladov2020-07-164-10/+11
| |
| * Don't use function signature for DisplayAleksey Kladov2020-07-164-62/+47
| |
| * Redner self as param for call infor for assoc fn callAleksey Kladov2020-07-161-7/+28
| |
| * Better module structureAleksey Kladov2020-07-163-21/+22
| |
| * Reduce visibilityAleksey Kladov2020-07-166-29/+26
| |
| * Semantical call infoAleksey Kladov2020-07-165-203/+177
| |
| * Align CallableDefId naming with other idsAleksey Kladov2020-07-163-7/+7
| |
| * SimplifyAleksey Kladov2020-07-161-47/+19
| |
| * Move typeAleksey Kladov2020-07-162-9/+10
| |
| * simplifyAleksey Kladov2020-07-161-60/+47
| |
| * Add new `Punctuation` highlight tagLeander Tentrup2020-07-158-194/+196
| |
| * Highlight punctuation as `HighlightTag::Operator`Leander Tentrup2020-07-157-197/+198
| |
| * Show fewer syntax errorsAleksey Kladov2020-07-151-2/+2
| |
| * Merge #5345bors[bot]2020-07-153-3/+44
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 applicableLukas Wirth2020-07-133-3/+44
| | |
| * | Off by one error when determining the active paramAleksey Kladov2020-07-151-2/+2
| | | | | | | | | | | | closes #3615
| * | Refactor CallInfo testsAleksey Kladov2020-07-151-226/+239
| | |
| * | Fix classify_name_ref on multi-path macro callsJonas Schievink2020-07-141-0/+18
| | |
| * | Don't duplicate parens in patternsAleksey Kladov2020-07-142-1/+37
| | |
| * | Add markAleksey Kladov2020-07-141-0/+2
| | |
| * | Add a license field to all the cratesYuki Okushi2020-07-141-0/+1
| |/
| * Fix ignore attribute autocompletionAleksei Trifonov2020-07-121-3/+3
| |
| * Implementations lens for unionsAleksey Kladov2020-07-111-0/+1
| | | | | | | | closes #4728
| * Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-119-19/+29
| | | | | | | | closes #5106
| * Fix goto definition for type alias type parametersAleksey Kladov2020-07-111-0/+10
| | | | | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042
| * Merge #4996bors[bot]2020-07-111-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 defTimo Freiberg2020-07-101-3/+55
| | |
| * | Speed up completionAleksey Kladov2020-07-117-20/+18
| |/
| * Better nameAleksey Kladov2020-07-102-4/+4
| |
| * Don't add braces after structAleksey Kladov2020-07-101-1/+1
| | | | | | | | Unit structs are a thing