Skip to content

Commit

Permalink
Version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zalan-racz-gaijin committed Apr 9, 2024
1 parent 91a64c3 commit ecbe92b
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 8 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Change Log

## [1.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

### Fixed

- Fixing an error where certain modifiers' range was used instead of the variable's range
- Updated packages

## [1.4.2 Pre-release] 2024.04.05.

### Improved
Expand Down
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ The extension colorizes types, variables, functions, constructors, keywords, mod

![syntax highlight, light theme](res/screenshots/syntax-highlight-light.png)

### Diagnostics

The extension can show compile time errors or warnings when you open or save a file.

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

### Code completion

The extension provides types, variables, functions, constructors, keywords, modifiers, semantics, attributes, shaders, block statements, 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.
Expand Down Expand Up @@ -45,11 +51,11 @@ The extension can provide outline information and breadcrumbs about DSHL variabl

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

### Document links
### Formatting

The extension can follow the DSHL and the HLSL include statements. This feature only works in the desktop version.
The extension can format the whole document, the selected region, or regions.

![document links](res/screenshots/document-link.gif)
![format](res/screenshots/format.gif)

### Inlay hints

Expand All @@ -59,19 +65,19 @@ The extension can show DSHL function, macro, and HLSL define parameters in the s

### Go to / Peek definitions

You can find (go to / peek) the definition of a DSHL variable, function, shader, block statement, macro or a HLSL define.
You can find (go to / peek) the definition of a DSHL variable, function, shader, block statement, macro, HLSL define, or to the included file.

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

### Go to / Peek declarations

You can find (go to / peek) the declaration of a DSHL variable, function, shader, block statement, macro or a HLSL define.
You can find (go to / peek) the declaration of a DSHL variable, function, shader, block statement, macro, HLSL define, or to the included file.

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

### Go to / Peek implementations

You can find (go to / peek) the implementation of DSHL function, shader, block statement, macro or a HLSL define.
You can find (go to / peek) the implementation of DSHL function, shader, block statement, macro, HLSL define, or to the included file.

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

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

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

### 1.5.0

- Diagnostics
- Code formatting
- Migrating includes from document links to go to declaration/definition/implementation
- Other smaller improvements

### 1.4.2 Pre-release

- Migrating includes from document links to go to declaration/definition/implementation
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.4.2",
"version": "1.5.0",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
Expand Down
Binary file added res/screenshots/diagnostics.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed res/screenshots/document-link.gif
Binary file not shown.
Binary file added res/screenshots/format.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ecbe92b

Please sign in to comment.