Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move `dot` invocation to rust-analyzer crate | Jonas Schievink | 2021-05-11 | 2 | -23/+3 |
| | |||||
* | Better node label/shapes | Jonas Schievink | 2021-05-11 | 1 | -3/+11 |
| | |||||
* | Only include workspace crates | Jonas Schievink | 2021-05-11 | 1 | -8/+30 |
| | |||||
* | Update crates/ide/src/view_crate_graph.rs | Jonas Schievink | 2021-05-11 | 1 | -2/+2 |
| | | | Co-authored-by: bjorn3 <[email protected]> | ||||
* | Distinguish crates with identical name | Jonas Schievink | 2021-05-11 | 1 | -1/+1 |
| | |||||
* | Allow viewing the crate graph in a webview | Jonas Schievink | 2021-05-11 | 3 | -0/+87 |
| | |||||
* | feat: auto-indent use tree lists | Jonas Schievink | 2021-05-10 | 1 | -0/+115 |
| | |||||
* | feat: auto-insert `}` when typing `{` in use item | Jonas Schievink | 2021-05-09 | 1 | -19/+131 |
| | |||||
* | minor: fix test style | Aleksey Kladov | 2021-05-09 | 1 | -12/+0 |
| | |||||
* | fix: join lines doesn't add space before closing quote | Aleksey Kladov | 2021-05-09 | 1 | -0/+30 |
| | |||||
* | fix: join lines doesn't add space before closing quote | Aleksey Kladov | 2021-05-09 | 1 | -9/+32 |
| | |||||
* | Don't handle Self as a usage for TraitDefs | Lukas Wirth | 2021-05-08 | 1 | -22/+27 |
| | |||||
* | Correctly support SelfType when searching for usages | Lukas Wirth | 2021-05-08 | 2 | -3/+69 |
| | |||||
* | fix: use raw idents in `make::name{_ref}` with keywords | Jonas Schievink | 2021-05-07 | 1 | -0/+20 |
| | |||||
* | Merge #8745 | bors[bot] | 2021-05-06 | 1 | -0/+12 |
|\ | | | | | | | | | | | | | | | | | 8745: Support goto_type_definition for types r=matklad a=Veykril I'm unsure if the approach of lowering an `ast::Type` to a `hir::Type` is a good idea, it seems fine to me at least. Fixes #2882 Co-authored-by: Lukas Tobias Wirth <[email protected]> | ||||
| * | Support goto_type_definition for types | Lukas Tobias Wirth | 2021-05-06 | 1 | -0/+12 |
| | | |||||
* | | Merge #8674 | bors[bot] | 2021-05-05 | 1 | -0/+45 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8674: fix for #8664: Emit folding ranges for multi-line where clauses r=matklad a=m5tfi #8664 I added a test that assert folding multi-line where clauses while leaving single lined one. Please, let me know if the code needs further improvements. Co-authored-by: m5tfi <[email protected]> | ||||
| * | | remove unneeded `visited_where_clauses` | m5tfi | 2021-05-05 | 1 | -11/+3 |
| | | | |||||
| * | | add folding for where clauses | m5tfi | 2021-04-30 | 1 | -0/+53 |
| | | | |||||
* | | | simplify | Lukas Tobias Wirth | 2021-05-05 | 1 | -3/+1 |
| |/ |/| | |||||
* | | Merge #8719 | bors[bot] | 2021-05-04 | 2 | -0/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8719: Fix block comment intra doc link injection ranges r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]> | ||||
| * | | Fix block comment intra doc link injection ranges | Lukas Tobias Wirth | 2021-05-04 | 2 | -0/+4 |
| | | | |||||
* | | | Small fixes | Kirill Bulatov | 2021-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | Tests added | Kirill Bulatov | 2021-05-03 | 1 | -1/+0 |
| | | | |||||
* | | | Add docs and use better naming | Kirill Bulatov | 2021-05-03 | 1 | -1/+3 |
| | | | |||||
* | | | Resolve single assist only | Kirill Bulatov | 2021-05-03 | 5 | -18/+18 |
| | | | |||||
* | | | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 5 | -68/+123 |
|/ / | |||||
* | | fix: don't duplicate Progerss::Finised for cache priming | Aleksey Kladov | 2021-05-02 | 1 | -0/+1 |
| | | |||||
* | | internal: fix naming polarity | Aleksey Kladov | 2021-04-30 | 1 | -3/+3 |
|/ | | | | | Type Constructors have *parameters*, when they are substituted with type *arguments*, we have a type. | ||||
* | Fixed formatting | Bastian Kersting | 2021-04-26 | 1 | -1/+1 |
| | |||||
* | Added mutable semantic token modifier for &mut self methods | Bastian Kersting | 2021-04-26 | 2 | -4/+9 |
| | |||||
* | Check more carefully for cases where a rename can't be done | Danny Zhu | 2021-04-25 | 2 | -6/+105 |
| | | | | | | | | | | | Attempting to rename an element of a tuple field would previously replace the type with the new name, which doesn't make sense; now it fails instead. The check is done in both `prepare_rename` and `rename` so that the case is caught before the user is prompted for a new name. Some other existing failure cases are also now additionally checked in `prepare_rename`. | ||||
* | Simplify highlight token match guards | Lukas Wirth | 2021-04-23 | 2 | -102/+92 |
| | |||||
* | Sort HlMod variants and ALL const | Lukas Wirth | 2021-04-23 | 6 | -46/+45 |
| | |||||
* | Tag `yield` and `await` as ControlFlow in semantic highlighting | Lukas Wirth | 2021-04-23 | 2 | -5/+13 |
| | |||||
* | fix: no more Registering progress handler for token rustAnalyzer/Indexing ↵ | Aleksey Kladov | 2021-04-20 | 1 | -2/+1 |
| | | | | failed. | ||||
* | Merge #8586 | bors[bot] | 2021-04-19 | 1 | -14/+9 |
|\ | | | | | | | | | | | | | | | 8586: Replace SyntaxRewriter usage with ted in eager::eager_macro_recur r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace SyntaxRewriter with ted in exppand_macro::expand_macro_recur | Lukas Wirth | 2021-04-19 | 1 | -14/+9 |
| | | |||||
* | | Merge #8582 | bors[bot] | 2021-04-19 | 2 | -3/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8582: Fix typo: comparision -> comparison r=kjeremy a=stanciuadrian Closes #8576 Co-authored-by: Adrian Stanciu <[email protected]> | ||||
| * | | Fix typo: comparision -> comparison | Adrian Stanciu | 2021-04-19 | 2 | -3/+3 |
| |/ | |||||
* / | Support crates/module roots in external_docs | Lukas Wirth | 2021-04-19 | 1 | -17/+41 |
|/ | |||||
* | Check for rust doc code attributes like rustdoc does | Lukas Wirth | 2021-04-19 | 2 | -23/+3 |
| | |||||
* | Don't require all doc fences to be valid for identifying rust code | Lukas Wirth | 2021-04-19 | 1 | -1/+3 |
| | |||||
* | Merge #8540 | bors[bot] | 2021-04-19 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | | | | | | | 8540: Prevent being able to rename items that are not part of the workspace r=Veykril a=Veykril This change causes renames that happen on items coming from crates outside the workspace to fail. I believe this should be the right approach, but usage of cargo's workspace might not be entirely correct for preventing these kinds of refactoring from touching things they shouldn't. I'm not entirely sure? cc #6623, this is one of the bigger footguns when it comes to refactoring, especially in combination with import aliases people tend to rename items coming from a crates dependency which this prevents. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Prevent being able to rename items that are not part of the workspace | Lukas Wirth | 2021-04-18 | 1 | -0/+6 |
| | | |||||
* | | Accept `E<error_number>` notation in doctests | Chayim Refael Friedman | 2021-04-18 | 1 | -2/+8 |
| | | | | | | | | | | | | | | ```compile_fail,E0000 ``` The code was stolen from rustdoc at https://github.com/rust-lang/rust/blob/392ba2ba1a7d6c542d2459fb8133bebf62a4a423/src/librustdoc/html/markdown.rs#L866-L867 | ||||
* | | Include path in `unresolved-macro-call` diagnostic | Jonas Schievink | 2021-04-16 | 1 | -1/+1 |
|/ | |||||
* | Move cursor position when using item movers | Jonas Schievink | 2021-04-13 | 1 | -32/+68 |
| | |||||
* | internal: follow test style guide in typing.rs | Jonas Schievink | 2021-04-13 | 1 | -96/+104 |
| | |||||
* | Merge #8354 | bors[bot] | 2021-04-13 | 5 | -17/+72 |
|\ | | | | | | | | | | | | | | | 8354: Distinguishing between different operators in semantic highlighting r=matklad a=chetankhilosiya Co-authored-by: Chetan Khilosiya <[email protected]> |