Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Revert "8024: Added test case for highlighting trait items." | Chetan Khilosiya | 2021-03-30 | 2 | -104/+0 | |
| | | | | This reverts commit d7dcd41801b319f64f3ca2ed22735ab70092e491. | |||||
* | 8024: Fix for function name change. | Chetan Khilosiya | 2021-03-30 | 1 | -2/+2 | |
| | ||||||
* | 8024: Added test case for highlighting trait items. | Chetan Khilosiya | 2021-03-30 | 2 | -0/+104 | |
| | ||||||
* | 8024: Updated the implementation for trait modifier. | Chetan Khilosiya | 2021-03-30 | 6 | -20/+30 | |
| | | | | Fixed the test cases. | |||||
* | 8024: Added the trait modifier for methods | Chetan Khilosiya | 2021-03-30 | 2 | -1/+22 | |
| | | | | method in impls and method calls will have trait modifier. | |||||
* | Remove code duplication in highlight injection | Lukas Wirth | 2021-03-29 | 1 | -29/+3 | |
| | ||||||
* | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 4 | -8/+27 | |
| | ||||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 | |
| | ||||||
* | Show item info when hovering intra doc links | Lukas Wirth | 2021-03-23 | 1 | -3/+3 | |
| | ||||||
* | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -1/+1 | |
| | ||||||
* | Add `AttrsWithOwner` and clean up `source_map` | Jonas Schievink | 2021-03-19 | 1 | -24/+19 | |
| | ||||||
* | Move `AttrsOwnerNode` to syntax and make it public | Jonas Schievink | 2021-03-19 | 1 | -31/+1 | |
| | ||||||
* | Merge #8097 | bors[bot] | 2021-03-19 | 1 | -2/+3 | |
|\ | | | | | | | | | | | | | | | 8097: Parse extended_key_value_attributes r=jonas-schievink a=Veykril Companion PR https://github.com/rust-analyzer/ungrammar/pull/31 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Parse extended_key_value_attributes | Lukas Wirth | 2021-03-19 | 1 | -2/+3 | |
| | | ||||||
* | | Use a highlight modifier for intra doc links | Lukas Wirth | 2021-03-18 | 12 | -29/+53 | |
| | | ||||||
* | | Track source file IDs in source mapping of Attrs | Lukas Wirth | 2021-03-18 | 1 | -5/+17 | |
|/ | ||||||
* | Semantic highlight intradoclinks in documentation | Lukas Wirth | 2021-03-17 | 13 | -38/+114 | |
| | ||||||
* | Inject highlight into block doc comments | Lukas Wirth | 2021-03-17 | 3 | -28/+72 | |
| | ||||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 3 | -16/+153 | |
|\ | | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Remove quadratic attr source lookup | Lukas Wirth | 2021-03-17 | 1 | -1/+2 | |
| | | ||||||
| * | Properly handle doc attributes in doc-comment highlight injection | Lukas Wirth | 2021-03-16 | 3 | -6/+76 | |
| | | ||||||
| * | Replace trait object boxing with extra AttrsOwnerNode | Lukas Wirth | 2021-03-16 | 1 | -19/+48 | |
| | | ||||||
| * | Move doc-comment highlight injection from AST to HIR | Lukas Wirth | 2021-03-16 | 1 | -14/+51 | |
| | | ||||||
* | | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 | |
|/ | ||||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -1/+1 | |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | |||||
* | Show whether a binding is mutable or not on hover | Lukas Wirth | 2021-03-09 | 1 | -2/+3 | |
| | ||||||
* | Add parsing benchmark | Aleksey Kladov | 2021-02-09 | 1 | -5/+32 | |
| | ||||||
* | Infra for "unit" benchmarking | Aleksey Kladov | 2021-02-09 | 1 | -10/+12 | |
| | ||||||
* | Classify function calls as functions when shadowed by types | Lukas Wirth | 2021-01-28 | 2 | -0/+8 | |
| | ||||||
* | Merge #7353 | bors[bot] | 2021-01-22 | 3 | -4/+5 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7353: Add LifetimeParam and ConstParam to CompletionItemKind r=matklad a=Veykril Adds `LifetimeParam` and `ConstParam` to `CompletionItemKind` and maps them both to `TypeParam` in the protocol conversion as there are no equivalents, so nothing really changes there. `ConstParam` could be mapped to `Const` I guess but I'm split on whether that would be better? Additions were solely inspired by (the single) test output for const params. Also sorts the variants of `CompletionItemKind` and its to_proto match. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 3 | -4/+5 | |
| | | ||||||
* | | . | Aleksey Kladov | 2021-01-19 | 2 | -2/+2 | |
|/ | ||||||
* | Wrap remaining self/super/crate in Name{Ref} | Lukas Wirth | 2021-01-15 | 1 | -13/+9 | |
| | ||||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 5 | -44/+27 | |
| | ||||||
* | Use upstream TextSize API | Aleksey Kladov | 2021-01-13 | 2 | -15/+3 | |
| | ||||||
* | Merge #7239 | bors[bot] | 2021-01-10 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 7239: Replace SyntaxKind usage with T! macro where applicable r=lnicola a=Veykril https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#token-names Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Replace SyntaxKind usage with T! macro where applicable | Lukas Wirth | 2021-01-10 | 1 | -1/+1 | |
| | | ||||||
* | | Fix typo, parentheses is plural | Laurențiu Nicola | 2021-01-10 | 9 | -133/+133 | |
|/ | ||||||
* | Merge #6238 | bors[bot] | 2021-01-10 | 11 | -302/+345 | |
|\ | | | | | | | | | | | | | | | | | | | 6238: Split punctuation semantic highlighting up into more tags r=matklad a=Veykril Open question would be the name of the delimiter modifiers. I chose them this was as I see them this way but from what I remember people tend to mix the names however they like. So maybe using `delimSquare`, `delimCurly`, `delimRound` would be better. That would also go well with `angle` becoming `delimAngle`? Closes #6152 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Split punctuation semantic highlighting up into more tags | Lukas Wirth | 2021-01-10 | 11 | -302/+345 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #7206 #7231 | bors[bot] | 2021-01-10 | 3 | -10/+13 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7206: Use hir::GenericParam in ide_db::Definition instead of relisting all 3 r=Veykril a=Veykril Basically just this: ```diff pub enum Definition { Macro(MacroDef), Field(Field), ModuleDef(ModuleDef), SelfType(Impl), Local(Local), - TypeParam(TypeParam), - LifetimeParam(LifetimeParam), - ConstParam(ConstParam), + GenericParam(GenericParam), Label(Label), } ``` 7231: Cleaner API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | Cleaner API | Aleksey Kladov | 2021-01-10 | 2 | -7/+8 | |
| |/ |/| | ||||||
| * | Use hir::GenericParam in ide_db::Definition instead of relisting all 3 | Lukas Wirth | 2021-01-10 | 1 | -3/+5 | |
|/ | ||||||
* | Replace state with function | Aleksey Kladov | 2021-01-10 | 1 | -46/+36 | |
| | ||||||
* | Refactor highlighting | Aleksey Kladov | 2021-01-09 | 2 | -1/+518 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2021-01-09 | 1 | -81/+49 | |
| | ||||||
* | Better highlight for fixtures | Aleksey Kladov | 2021-01-09 | 2 | -2/+6 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2021-01-09 | 1 | -51/+27 | |
| | ||||||
* | Better names | Aleksey Kladov | 2021-01-09 | 2 | -15/+16 | |
| | ||||||
* | Reduce duplication | Aleksey Kladov | 2021-01-09 | 1 | -7/+5 | |
| |