diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a99e6..28087dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Change Log +## [1.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) +- 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) + +### 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, and syntax highlight +- Improving how document symbols work +- 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 + ## [1.8.1] 2024.05.17. ### Fixed diff --git a/DagorShaderLanguageSupport/Dagor-Shader-Language-Server b/DagorShaderLanguageSupport/Dagor-Shader-Language-Server index 216db9b..9451c55 160000 --- a/DagorShaderLanguageSupport/Dagor-Shader-Language-Server +++ b/DagorShaderLanguageSupport/Dagor-Shader-Language-Server @@ -1 +1 @@ -Subproject commit 216db9b00dc08bd7bb88858a1a1d7f19ff96d268 +Subproject commit 9451c55a2290e99d273339a41b42a544f026dc8e diff --git a/DagorShaderLanguageSupport/Properties/AssemblyInfo.cs b/DagorShaderLanguageSupport/Properties/AssemblyInfo.cs index 8af5a87..c1094ff 100644 --- a/DagorShaderLanguageSupport/Properties/AssemblyInfo.cs +++ b/DagorShaderLanguageSupport/Properties/AssemblyInfo.cs @@ -12,5 +12,5 @@ [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.8.1.0")] -[assembly: AssemblyFileVersion("1.8.1.0")] +[assembly: AssemblyVersion("1.9.0.0")] +[assembly: AssemblyFileVersion("1.9.0.0")] diff --git a/DagorShaderLanguageSupport/source.extension.vsixmanifest b/DagorShaderLanguageSupport/source.extension.vsixmanifest index 3d499c5..e4a1cd6 100644 --- a/DagorShaderLanguageSupport/source.extension.vsixmanifest +++ b/DagorShaderLanguageSupport/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + Dagor Shader Language Support Language support extension for the Dagor Shader Language. https://github.com/GaijinEntertainment/Dagor-Shader-Language-Support-for-Visual-Studio diff --git a/README.md b/README.md index 18fad79..8ceee37 100644 --- a/README.md +++ b/README.md @@ -29,25 +29,25 @@ The extension provides types, variables, functions, constructors, keywords, modi ### Signature help -The extension can display a signature helper for DSHL functions, and macros. +The extension can display a signature helper for functions, and macros. ![signature help](DagorShaderLanguageSupport/Resources/Screenshots/signature-help.gif) ### Document highlights -The extension can highlight all the occurrences of the selected DSHL variable, function, shader, block statement, macro, HLSL variable, struct, class, interface, enum, or define in the file. +The extension can highlight all the occurrences of the selected DSHL variable, function, shader, block statement, macro, HLSL variable, function, struct, class, interface, enum, or define in the file. ![highlights](DagorShaderLanguageSupport/Resources/Screenshots/highlights.gif) ### Hover -The extension can provide useful information if you hover over DSHL variables, functions, shaders, block statements, macros, HLSL variables, structs, classes, interfaces, enums, or defines. +The extension can provide useful information if you hover over DSHL variables, functions, shaders, block statements, macros, HLSL variables, functions, structs, classes, interfaces, enums, or defines. ![hover](DagorShaderLanguageSupport/Resources/Screenshots/hover.gif) ### Document symbols -The extension can provide outline information and breadcrumbs about DSHL variables, shaders, block statements, macros, HLSL variables, structs, classes, interfaces, enums, and defines. +The extension can provide outline information and breadcrumbs about DSHL variables, shaders, block statements, macros, HLSL variables, functions, structs, classes, interfaces, enums, and defines. ![symbols](DagorShaderLanguageSupport/Resources/Screenshots/symbols.gif) @@ -59,19 +59,19 @@ The extension can format the whole document, or the selected region. ### Go to / Peek definitions -You can find (go to / peek) the definition of a DSHL variable, function, shader, block statement, macro, HLSL variable, struct, class, interface, enum, define, or to the included file. +You can find (go to / peek) the definition of a DSHL variable, function, shader, block statement, macro, HLSL variable, function, struct, class, interface, enum, define, or to the included file. ![definitions](DagorShaderLanguageSupport/Resources/Screenshots/definition.gif) ### Go to declarations -You can find the declaration of a DSHL variable, function, shader, block statement, macro, HLSL variable, struct, class, interface, enum, define, or to the included file. +You can find the declaration of a DSHL variable, function, shader, block statement, macro, HLSL variable, function, struct, class, interface, enum, define, or to the included file. ![declarations](DagorShaderLanguageSupport/Resources/Screenshots/declaration.gif) ### Go to implementations -You can find the implementation of a DSHL function, shader, block statement, macro, HLSL struct, class, interface, enum, define, or to the included file. +You can find the implementation of a DSHL function, shader, block statement, macro, HLSL function, struct, class, interface, enum, define, or to the included file. ![implementations](DagorShaderLanguageSupport/Resources/Screenshots/implementation.gif) @@ -81,6 +81,14 @@ You can find the type definition of an HLSL variable. ![type definition](DagorShaderLanguageSupport/Resources/Screenshots/type-definition.gif) +### Rename + +The extension can rename DSHL variables, macros, macro parameters, HLSL types, enums, enum members, variables, functions, shaders, blocks, and defines. + +### Find all references + +The extension can find all references of DSHL variables, macros, macro parameters, HLSL types, enums, enum members, variables, functions, shaders, blocks, and defines. + ### Comment toggling ![comment toggling](DagorShaderLanguageSupport/Resources/Screenshots/comment-toggle.gif) @@ -109,6 +117,20 @@ If you have any problems or feature request for the extension, feel free to crea For more information, see the [changelog](CHANGELOG.md). +### 1.9.0 + +- Code completion (for HLSL functions) +- Document highlights (for HLSL functions) +- Hover (for HLSL functions) +- Document symbols (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) +- Several improvements, and bugfixes + ### 1.8.1 - In 1.8.0 I accidentally published the language server 1.7.0, instead of 1.8.0, this release fixes this and makes new features available