Releases: GaijinEntertainment/Dagor-Shader-Language-Support-for-Visual-Studio-Code
Releases · GaijinEntertainment/Dagor-Shader-Language-Support-for-Visual-Studio-Code
Release v1.9.0 (2024.06.14.)
Added
- Code completion (for HLSL functions)
- Document highlights (for HLSL functions)
- Hover (for HLSL functions)
- Document symbols (for HLSL functions)
- Inlay hints (for HLSL functions)
- Signature help (for HLSL functions)
- Go to definition (for user HLSL functions)
- Go to declaration (for user HLSL functions)
- Go to implementation (for user HLSL functions)
- Rename (for all language constructs)
- Find all references (for all language constructs)
- Color picker (for HLSL variable initialization)
Improved
- Adding descriptions to several DSHL keywords, modifiers, types, channels, functions, and properties in code completion
- Adding shader stages and compile targets to code completion, syntax highlight and snippets
- Updated packages
Fixed
- Fixing an error where the function name range wasn't contained by the whole function range
- Removing backticks from DSHL code completion descriptions, because Visual Studio can't handle markdown
- Making loop, if, and switch scopes more accurate
Release v1.8.0 (2024.05.14.)
Added
- Code completion (for HLSL struct, class, and enum members)
- Document highlights (for HLSL struct, class, and enum members)
- Hover (for HLSL struct, class, and enum members)
- Go to definition (for HLSL struct, class, and enum members)
- Go to declaration (for HLSL struct, class, and enum members)
- Go to implementation (for HLSL struct, and class members)
- Go to type definition (for HLSL struct, and class members)
- Type hierarchy (for HLSL structs, classes, and interfaces)
- Semantic highlight (for variables and types)
Improved
- Handling inherited HLSL struct, and class members
- Handling embedded HLSL structs, classes, interfaces, and enums
- Handling inline struct, class, interface, and enum declarations
- Handling anonymous struct, class, interface, and enum declarations
- Handling arrays
- Adding type inheritance to syntax highlight
- Handling built-in HLSL structs and enums
- Adding built-in struct and enum members with descriptions and values
- Adding descriptions to code completion from the new DSHL docs
- Handling casting
- Making enum members available in enum declarations
- Handling non-class enum members
- Handling prefixed enum members
- Adding type usages from function return types
- Making identifiers before double colons colored as types
Fixed
- Fixing a bug where the extension couldn't find type declarations outside of the current hlsl block
- Removing the public modifier, from syntax highlight and code completion
- Fixing an error where function parameters and some other variables could leak out of their scopes
- Fixing enum positions in macros
- Coloring built-in HLSL structs and enums as entity types to better match general syntax highlight
Release v1.7.0 (2024.04.22.)
Added
- Code completion (for HLSL variables, structs, enums, classes, and interfaces)
- Document highlights (for HLSL variables, structs, enums, classes, and interfaces)
- Hover (for HLSL variables, structs, enums, classes, and interfaces)
- Document symbols (for HLSL variables, structs, enums, classes, and interfaces)
- Go to definition (for HLSL variables, structs, enums, classes, and interfaces)
- Go to declaration (for HLSL variables, structs, enums, classes, and interfaces)
- Go to implementation (for HLSL structs, enums, classes, and interfaces)
- Go to type definition (for HLSL variables)
Improved
- Adding the parameters to macros and defines in code completion
- Making document symbol icon selection more robust
- Updated packages
Fixed
- Updating the game selection logic based on the new vscodeconfig
- Preventing duplicated items in code completion
- Fixing a formatting bug where line continuation characters caused formatting inside defines
Release v1.5.0 (2024.04.09.)
Added
- Diagnostics (only on save at the moment)
- Code formatting (whole document, range, ranges)
Improved
- Migrating includes from document links to go to declaration/definition/implementation
- Updated packages
Fixed
- Fixing an error where certain modifiers' range was used instead of the variable's range
Release v1.3.0 (2024.03.14.)
Added
- Code completion (for DSHL variables, shaders, and block statements)
- Document highlights (for DSHL variables, functions, shaders, and block statements)
- Hover (for DSHL variables, functions, shaders, and block statements)
- Document symbols (for DSHL variables, shaders, and block statements)
- Inlay hints (for DSHL functions)
- Signature help (for DSHL functions)
- Go to definition (for DSHL variables, functions, shaders, and block statements)
- Go to declaration (for DSHL variables, functions, shaders, and block statements)
- Go to implementation (for DSHL functions, shaders, and block statements)
- Adding assume and supports code snippets
- Adding folding ranges based on blocks
Improved
- Better type information in code completion and in document symbols
- Updated packages
- Various optimizations
Fixed
- Fixing a bug where closing and reopening a file prevented to update the file analyzation
- Fixing preprocessor directives in one liner HLSL blocks in syntax highlight
- Fixing macros before loops and ifs in syntax highlight
- Fixing syntax highlight when #defines contain ##
- Adding @sampler to the HLSL syntax highlight
- Using the cleaned content of DSHL macros for expansion instead of the original to get rid of comments
- Fixing a bug in HLSL macro expansion, where positions were wrong positions were computed
Release v1.2.0 (2024.02.15.)
Added
- Code completion (for HLSL defines, include statements, DSHL macro parameters)
- Document highlights (for HLSL defines, DSHL macro parameters)
- Hover (for HLSL defines)
- Document symbols (for HLSL defines)
- Inlay hints (for HLSL defines)
- Go to definition (for HLSL defines, DSHL macro parameters)
- Go to declaration (for HLSL defines, DSHL macro parameters)
- Go to implementation (for HLSL defines)
- A context menu item to the shader config files to make shader config overriding easier
Improved
- Handling multiple declarations for DSHL macros
- Making DSHL macros hierarchical in the document symbols
- Adding a link to DSHL macro parameters in inlay hints
- Various optimizations
Fixed
- Fixing an incorrect condition about making the language server executable in Linux and Mac
- Naming preshaders correctly in snippets
- Disabling the include links in the web version
- Providing HLSL code completion instead of DSHL code completion in .hlsli files
- Adding ##assert to code completion and syntax highlight
- Adding the missing DSHL modifiers, properties, and functions to the code completion and the syntax highlight, removing unused operators from the syntax highlight
- Refreshing inlay hints only if it is supported
- Fixing a bug if there are more DSHL macro arguments than macro parameters
- Fixing a bug when a DSHL macro appeared multiple times in code completion
- Preventing unnecessary analyzations, when file is not changed, just opened in the IDE
Release v1.1.0 (2024.01.16.)
Added
- Code completion (for built-on items, and DSHL macros)
- Signature help (for DSHL macros)
- Document highlights (for DSHL macros)
- Hover (for DSHL macros)
- Document symbols (for DSHL macros)
- Inlay hints (for DSHL macros)
- Go to definition (for DSHL macros)
- Go to declaration (for DSHL macros)
- Go to implementation (for DSHL macros)
Improved
- HLSL snippets are only provided inside HLSL blocks
- DSHL snippets are only provided outside HLSL blocks
Fixed
- Added missing functions, types and semantics, mostly related to ray-tracing functionality to HLSL syntax highlight
- Added missing modifiers (optional, global, register) to DSHL syntax highlight
- Added missing ##assert to HLSL syntax highlight
- Removed unavailable operators from DSHL syntax highlight
- Removed assembly-only registers from HLSL syntax highlight
- Removed the bad indentation after if statements
- Fixed the misspelled packoffset in HLSL syntax highlight
Release v1.0.0 (2023.12.11.)
Added
- Syntax highlight
- Document links
- Comment toggling
- Bracket matching
- Auto closing pairs
- Surrounding pairs
- Folding regions
- Indentation
- Code snippets
- File icons