aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/tags.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add new `Punctuation` highlight tagLeander Tentrup2020-07-151-0/+2
|
* Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-111-0/+2
| | | | closes #5106
* Remove unneeded code, filename from tests, fix rebasing issuesPaul Daniel Faria2020-06-271-2/+2
|
* Revert ide highlighting changes (addressing on another branch)Paul Daniel Faria2020-06-271-4/+4
|
* Update injection mechanism and stop injecting through highlight element, ↵Paul Daniel Faria2020-06-231-2/+2
| | | | switch to more general new highlight tag, generic
* Add punctuation highlighting for highlighting punctuation in doctests, fix ↵Paul Daniel Faria2020-06-231-0/+2
| | | | highlighting in doctests
* Add support for marking doctest items as distinct from normal code, add ↵Paul Daniel Faria2020-06-231-0/+3
| | | | default tag to all doctest elements
* Merge #4903bors[bot]2020-06-181-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | 4903: Add highlighting support for doc comments r=matklad a=Nashenas88 The language server protocol includes a semantic modifier for documentation. This change exports that modifier for doc comments so users can choose to highlight them differently compared to regular comments. Example: <img width="375" alt="Screen Shot 2020-06-16 at 10 34 14 AM" src="https://user-images.githubusercontent.com/1673130/84788271-f6599580-afbc-11ea-96e5-7a0215da620b.png"> CC @woody77 Co-authored-by: Paul Daniel Faria <[email protected]>
| * Add highlighting support for doc commentsPaul Daniel Faria2020-06-171-0/+3
| |
* | Syntax highlighting for escape sequences in stringsLeander Tentrup2020-06-171-0/+2
|/
* Add highlight support for unsafe fn calls and raw ptr derefPaul Daniel Faria2020-06-021-4/+4
|
* Add semantic highlight to QUESTION tokenRoland Ruckerbauer2020-05-291-0/+2
| | | | Made it an operator with controlFlow modifier.
* Add self keyword semantic token typeLaurențiu Nicola2020-05-251-0/+2
|
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+2
|
* Color attribute functionsGeorge Fraser2020-05-191-1/+5
|
* Introduce new semantic highlight token for format specifierLeander Tentrup2020-04-281-0/+2
|
* Add semantic tag for unresolved referencesAleksey Kladov2020-04-181-0/+2
| | | | | | | | | | | This is a quick way to implement unresolved reference diagnostics. For example, adding to VS Code config "editor.tokenColorCustomizationsExperimental": { "unresolvedReference": "#FF0000" }, will highlight all unresolved refs in red.
* Make control token modifier less ambiguousAleksey Kladov2020-04-061-3/+3
| | | | | | | | | In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-2/+6
|
* Fix highlighting testAleksey Kladov2020-02-281-1/+1
|
* Cleanup highlighting tagsAleksey Kladov2020-02-281-45/+47
|
* add more tagsAleksey Kladov2020-02-281-10/+16
|
* Renam moduleAleksey Kladov2020-02-271-0/+163