Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>semantic-tokens-rdlNew to Visual Studio Code? Get it now.

semantic-tokens-rdl

KennyWu

|
6 installs
| (0) | Free
RDL Semantic Tokens Provider API
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Semantic tokens sample

This is a rdl simple semantic tokens provider.

How to run

Type ctrl+shift+p, search for Preferences: Open User Settigs (JSON), and add the following:

"editor.semanticTokenColorCustomizations": {
		"enabled": true, // enable for all themes
		"rules": {
            "*.static":{
                "foreground": "#ff0000"
            },  
            "register": {
                "foreground": "#645deb"
            },
            "field": {
                "foreground": "#e3d3e1"
            },
            "block": {
                "foreground": "#329ba9"
            },
            "subblock": {
                "foreground": "#783bdb"
            },
        	"field_defaults": {
                "foreground": "#dbae3b"
            },
            "register_defaults": {
                "foreground": "#0f6109"
            },
            "processing_flags": {
                "foreground": "#dc86cf"
            },
            "set_last_version": {
                "foreground": "#3bb2d9"
            },
             "set_last_rtl_crc": {
                "foreground": "#f15996"
            },
		}
	}
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft