aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
Commit message (Collapse)AuthorAgeFilesLines
* Rename UseItem -> UseAleksey Kladov2020-07-302-4/+4
|
* Split ItemList & AssocItemListAleksey Kladov2020-07-303-37/+43
|
* Rename ModuleItem -> ItemAleksey Kladov2020-07-292-3/+3
|
* Replace rand with oorandomAleksey Kladov2020-07-293-12/+12
|
* Rename NomialDef -> AdtDefAleksey Kladov2020-07-291-5/+5
|
* Merge #5564bors[bot]2020-07-292-4/+9
|\ | | | | | | | | | | | | | | 5564: SSR: Restrict to current selection if any r=davidlattimore a=davidlattimore The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later. Co-authored-by: David Lattimore <[email protected]>
| * SSR: Rename position and lookup_context to resolve_contextDavid Lattimore2020-07-291-2/+2
| |
| * SSR: Restrict to current selection if anyDavid Lattimore2020-07-292-3/+8
| | | | | | | | | | The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later.
* | Allow running more tests at onceKirill Bulatov2020-07-281-54/+110
|/
* Fold multiline fn parametersAleksey Kladov2020-07-271-1/+13
|
* add completion for rustc lintsEmil Gardström2020-07-271-4/+278
|
* Only display experimental diagnostics when enabledJonas Schievink2020-07-242-7/+18
|
* Add a builder for DiagnosticSinkJonas Schievink2020-07-241-68/+71
|
* SSR: Allow function calls to match method callsDavid Lattimore2020-07-241-0/+3
| | | | | | | | | | | This differs from how this used to work before I removed it in that: a) It's only one direction. Function calls in the pattern can match method calls in the code, but not the other way around. b) We now check that the function call in the pattern resolves to the same function as the method call in the code. The lack of (b) was the reason I felt the need to remove the feature before.
* SSR: Match paths based on what they resolve toDavid Lattimore2020-07-241-1/+11
| | | | Also render template paths appropriately for their context.
* SSR: Pass current file position through to SSR code.David Lattimore2020-07-242-3/+6
| | | | In a subsequent commit, it will be used for resolving paths.
* Move iteration over all files into the SSR crateDavid Lattimore2020-07-241-13/+3
| | | | The methods `edits_for_file` and `find_matches_in_file` are replaced with just `edits` and `matches`. This simplifies the API a bit, but more importantly it makes it possible in a subsequent commit for SSR to decide to not search all files.
* Merge #5505bors[bot]2020-07-231-5/+2
|\ | | | | | | | | | | | | | | | | | | | | 5505: Cleanup CFG API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Cleanup CFG APIAleksey Kladov2020-07-231-5/+2
| |
* | Merge #5473bors[bot]2020-07-231-2/+2
|\ \ | |/ |/| | | | | | | | | | | 5473: Changes to rust-project.json r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * More Rustic API for EnvAleksey Kladov2020-07-211-2/+2
| |
| |
| \
*-. \ Merge #5451 #5463 #5465 #5466bors[bot]2020-07-218-75/+108
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 closuresKirill Bulatov2020-07-201-0/+2
| |/ |/|
| * 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
|