From 17ffd5628d140ba637e5d12a223dab0b69166297 Mon Sep 17 00:00:00 2001 From: zalan_racz Date: Tue, 14 May 2024 18:06:01 +0200 Subject: [PATCH] Version 1.8.0 --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++ Dagor-Shader-Language-Server | 2 +- README.md | 19 ++++++++++++++++- package.json | 2 +- 4 files changed, 60 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8ff751..8264fc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # Change Log +## [1.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 + ## [1.7.0] 2024.04.22. ### Added diff --git a/Dagor-Shader-Language-Server b/Dagor-Shader-Language-Server index b93f66d..3b406ad 160000 --- a/Dagor-Shader-Language-Server +++ b/Dagor-Shader-Language-Server @@ -1 +1 @@ -Subproject commit b93f66da5144fda9fbc9ec861d7b06e04281e11f +Subproject commit 3b406ada119eebc2b25cc1850af38f223f5b64f5 diff --git a/README.md b/README.md index b46f6ac..13eebfa 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Dagor Shader Language Support for Visual Studio Code. If you're not on x64 archi ### Syntax highlight -The extension colorizes types, variables, functions, constructors, keywords, modifiers, semantics, attributes, preprocessor directives, operators, literals, and comments. +The extension colorizes types, variables, functions, constructors, keywords, modifiers, semantics, attributes, preprocessor directives, operators, literals, and comments. The extension uses semantic highlight to further improve code coloring. ![syntax highlight, dark theme](res/screenshots/syntax-highlight-dark.png) @@ -87,6 +87,10 @@ You can find (go to / peek) the type definition of an HLSL variable. ![type declaration](res/screenshots/type-definition.gif) +### Type hierarchy + +The extension can show the inheritance-tree of HLSL structs, classes, and interfaces. + ### Comment toggling ![comment toggling](res/screenshots/comment-toggle.gif) @@ -131,6 +135,19 @@ If you have any problems or feature request for the extension, feel free to crea For more information, see the [changelog](CHANGELOG.md). +### 1.8.0 + +- 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) +- Several improvements, and bugfixes + ### 1.7.0 - Code completion (for HLSL variables, structs, enums, classes, and interfaces) diff --git a/package.json b/package.json index 5ee3579..5f39364 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Dagor Shader Language Support", "description": "Language support extension for the Dagor Shader Language.", "publisher": "gaijin", - "version": "1.7.0", + "version": "1.8.0", "license": "BSD-3-Clause", "repository": { "type": "git",