aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/highlight.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor application of `library` semantic token modifierAramis Razzaghipour2021-05-251-62/+15
|
* Remove superfluous early-returnsAramis Razzaghipour2021-05-241-18/+22
|
* Rename ‘foreign’ semantic token modifier to ‘library’Aramis Razzaghipour2021-05-241-10/+10
|
* Highlight foreign modules as suchAramis Razzaghipour2021-05-241-1/+9
|
* Remove hir krate methodsAramis Razzaghipour2021-05-241-9/+9
|
* Add highlighting of items from other cratesAramis Razzaghipour2021-05-241-12/+77
|
* Give ‘unsafe’ semantic token modifier to unsafe traitsAramis Razzaghipour2021-05-231-1/+8
|
* Address commentshi-rustin2021-05-141-3/+3
|
* Apply async semantic token modifier to async/await keywordshi-rustin2021-05-141-0/+7
| | | | Only async semantic token modifier
* Fixed formattingBastian Kersting2021-04-261-1/+1
|
* Added mutable semantic token modifier for &mut self methodsBastian Kersting2021-04-261-2/+7
|
* Simplify highlight token match guardsLukas Wirth2021-04-231-102/+74
|
* Tag `yield` and `await` as ControlFlow in semantic highlightingLukas Wirth2021-04-231-2/+4
|
* Fix typo: comparision -> comparisonAdrian Stanciu2021-04-191-1/+1
|
* Merge #8354bors[bot]2021-04-131-12/+47
|\ | | | | | | | | | | | | | | 8354: Distinguishing between different operators in semantic highlighting r=matklad a=chetankhilosiya Co-authored-by: Chetan Khilosiya <[email protected]>
| * 8279: Fix the not operator use and test case fix.Chetan Khilosiya2021-04-081-8/+1
| |
| * 8279: Added initial implementation forChetan Khilosiya2021-04-081-12/+54
| | | | | | | | Operator semantic highlighting.
* | 8024: Added the trait modifier for assoc types.Chetan Khilosiya2021-04-081-2/+12
|/
* 8024: Fix for function name change.Chetan Khilosiya2021-03-301-2/+2
|
* 8024: Updated the implementation for trait modifier.Chetan Khilosiya2021-03-301-9/+19
| | | | Fixed the test cases.
* 8024: Added the trait modifier for methodsChetan Khilosiya2021-03-301-1/+18
| | | | method in impls and method calls will have trait modifier.
* Show whether a binding is mutable or not on hoverLukas Wirth2021-03-091-2/+3
|
* Move SymbolKind to ide_dbLukas Wirth2021-01-201-2/+2
|
* Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-151-13/+9
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-28/+11
|
* Merge #6238bors[bot]2021-01-101-3/+14
|\ | | | | | | | | | | | | | | | | | | 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 tagsLukas Wirth2021-01-101-3/+14
| |
* | Use hir::GenericParam in ide_db::Definition instead of relisting all 3Lukas Wirth2021-01-101-3/+5
|/
* Refactor highlightingAleksey Kladov2021-01-091-0/+517