Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zalan-racz-gaijin committed Feb 15, 2024
1 parent 0f9e8be commit 9b82527
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 10 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Change Log

## [1.2.0] - 2024.01.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

## [1.1.0] - 2024.01.16.

### Added
Expand Down
2 changes: 1 addition & 1 deletion Dagor-Shader-Language-Server
32 changes: 24 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The extension colorizes types, variables, functions, constructors, keywords, mod

### Code completion

The extension provides types, variables, functions, constructors, keywords, modifiers, semantics, attributes, preprocessor directives, code snippets, and DSHL macros 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 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.

![code completion](res/screenshots/completion.gif)

Expand All @@ -29,19 +29,19 @@ The extension can display a signature helper for DSHL macros.

### Document highlights

The extension can highlight all the occurrences of the selected DSHL macro in the file.
The extension can highlight all the occurrences of the selected DSHL macro or HLSL define in the file.

![highlights](res/screenshots/highlights.gif)

### Hover

The extension can provide useful information if you hover over DSHL macros.
The extension can provide useful information if you hover over DSHL macros or HLSL defines.

![hover](res/screenshots/hover.gif)

### Document symbols

The extension can provide outline information and breadcrumbs about the DSHL macros. You can also easily find them by typing a @ into the Command Palette.
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.

![symbols](res/screenshots/symbols.gif)

Expand All @@ -53,25 +53,25 @@ The extension can follow the DSHL and the HLSL include statements. This feature

### Inlay hints

The extension can show DSHL macro parameters in the source code.
The extension can show DSHL macro and HLSL define parameters in the source code.

![inlay hints](res/screenshots/inlay-hints.png)

### Go to / Peek definitions

You can find (go to / peek) the definition of a DSHL macro.
You can find (go to / peek) the definition of a DSHL macro or a HLSL define.

![definitions](res/screenshots/definition.gif)

### Go to / Peek declarations

You can find (go to / peek) the declaration of a DSHL macro.
You can find (go to / peek) the declaration of a DSHL macro or a HLSL define.

![declarations](res/screenshots/declaration.gif)

### Go to / Peek implementations

You can find (go to / peek) the implementation of DSHL macro.
You can find (go to / peek) the implementation of DSHL macro or a HLSL define.

![implementations](res/screenshots/implementation.gif)

Expand Down Expand Up @@ -119,6 +119,22 @@ If you have any problems or feature request for the extension, feel free to crea

For more information, see the [changelog](CHANGELOG.md).

### 1.2.0

- 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
- Handling multiple declarations for DSHL macros
- Making DSHL macros hierarchical in the document symbols
- Adding a link to DSHL macro parameters in inlay hints
- Several bugfixes and optimizations

### 1.1.0

- Code completion (for built-in items, and DSHL macros)
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.1.0",
"version": "1.2.0",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
Expand Down

0 comments on commit 9b82527

Please sign in to comment.