Dagor Shader Language Support
Dagor Shader Language Support for Visual Studio Code. If you're not on x64 architecture, you have to install Node.js in order to use the extension.
The extension colorizes types, variables, functions, constructors, keywords, modifiers, semantics, attributes, preprocessor directives, operators, literals, and comments.
The extension provides types, variables, functions, constructors, keywords, modifiers, semantics, attributes, preprocessor directives, code snippets, DSHL macros, and HLSL defines using IntelliSense, according to the context. It can also give you a quick summary about the item, and links to the documentation when available.
The extension can display a signature helper for DSHL macros.
The extension can highlight all the occurrences of the selected DSHL macro or HLSL define in the file.
The extension can provide useful information if you hover over DSHL macros or HLSL defines.
The extension can provide outline information and breadcrumbs about DSHL macros and HLSL defines. You can also easily find them by typing a @ into the Command Palette.
The extension can follow the DSHL and the HLSL include statements. This feature only works in the desktop version.
The extension can show DSHL macro and HLSL define parameters in the source code.
Go to / Peek definitions
You can find (go to / peek) the definition of a DSHL macro or a HLSL define.
Go to / Peek declarations
You can find (go to / peek) the declaration of a DSHL macro or a HLSL define.
Go to / Peek implementations
You can find (go to / peek) the implementation of DSHL macro or a HLSL define.
Auto closing pairs
If you have any problems or feature request for the extension, feel free to create an issue.
For more information, see the changelog.