Skip to content

Commit

Permalink
Version 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zalan-racz-gaijin committed May 14, 2024
1 parent b3e3a33 commit 17ffd56
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 3 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 17ffd56

Please sign in to comment.