Category | Scope | Foreground Color | Font Style | Description |
---|---|---|---|---|
Visibility Modifiers | storage.type.modifier.keyword.solidity |
#84f56293 |
Underline | Public, memory, etc. modifiers |
External Visibility | storage.type.modifier.keyword.extendedscope.solidity |
#f56262 |
Underline | External scope modifiers |
Control Keywords | keyword.control.solidity |
#fffffff5 |
Bold | Keywords like emit, new, delete |
Functions | entity.name.function.solidity |
#fae674d7 |
Normal | Function names |
Transaction Variables (Inconclusive) | variable.language.transaction.solidity |
#ffc570 |
Bold Underline | Transaction-related variables |
Transaction Variables (Security) | variable.language.transaction.security.solidity |
#f56262 |
Bold Underline | Secure transaction variables |
Transaction Functions (Security) | support.function.transaction.security.solidity |
#f56262 |
Bold Underline | Secure transaction functions |
Transaction Functions (Safe) | support.function.transaction.solidity |
#ffc570 |
Bold | Safe transaction functions |
Assembly Keywords | keyword.control.assembly.solidity |
#ff5e5ed3 |
Bold Underline | Assembly-related keywords |
Unchecked Blocks | keyword.control.unchecked.solidity |
#ff5e5ed3 |
Bold Underline | Unchecked code blocks |
Let Keyword | keyword.control.let.solidity |
#ff5e5ed3 |
Bold Underline | Let declarations |
TODOs and Dev Notes | keyword.comment.todo.solidity |
#ff5e5ed3 |
Bold Underline Italic | Comments and notes |
Error Handling | keyword.control.exceptions.solidity |
#84f56293 |
Underline | Assert and require statements |
Modifier Functions | entity.name.modifier.solidity |
#84f56293 |
Normal | Modifier function names |
Special Keywords | variable.language.this.solidity |
Default | Bold Underline | 'this' keyword |
Special Keywords | variable.language.super.solidity |
Default | Bold Underline | 'super' keyword |
Contract Control | keyword.control.contract.solidity |
#ff5e5ed3 |
Bold Underline | Selfdestruct |
Math Functions | support.function.math.solidity |
Default | Bold Italic | Built-in math functions |
Arithmetic Operators | keyword.operator.arithmetic.solidity |
#8aa9ffe5 |
Bold | Arithmetic operations |
Assignment Operators | keyword.operator.assignment.solidity |
#8aa9ffe5 |
Bold | Assignment operations |
Logical Operators | keyword.operator.logic.solidity |
#ffbc65e5 |
Bold | Logical operations |
Using Keyword | keyword.control.using.solidity |
Default | Underline | 'using' keyword |
Import Keyword | keyword.control.import.solidity |
#fc8a56a6 |
Bold Italic | Import statements |
Pragma Keyword | keyword.control.pragma.solidity |
#fc8a56a6 |
Bold Italic | Pragma directives |
Underscore Placeholder | constant.other.underscore.solidity |
Default | Bold Underline | Underscore in function parameters |
Time Constants | constant.language.time.solidity |
#fca076ea |
Underline | Time-related constants |
Currency Constants | constant.language.currency.solidity |
#fca076ea |
Underline | Currency-related constants |
Type Declarations | Multiple scopes | Default | Italic | Contracts, interfaces, libraries, structs, events |
Special Functions | Multiple scopes | #fae674d7 |
Bold Underline | Constructors, fallback, receive functions |
Visibility and Memory | constant.language.ucase.solidity |
#9db4c2 |
Italic | Public, memory keywords |
NatSpec Comments | Multiple scopes | #ffffff8e or #ffc4469a |
Normal | Documentation comment styles |
Created
February 7, 2025 16:06
-
-
Save sambacha/d03a20f474f34640450b3c288dff02f8 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment