Skip to content

Commit

Permalink
Merge pull request #6 from GaijinEntertainment/version-1.5.0.0
Browse files Browse the repository at this point in the history
Version 1.5.0.0
  • Loading branch information
zalan-racz-gaijin authored Apr 9, 2024
2 parents 629fa3f + 2450a30 commit 00a532c
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 8 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Change Log

## [1.3.0] - 2024.02.14.
## [1.5.0] - 2024.04.09.

### Added

- Diagnostics (only on save at the moment)
- Code formatting (whole document, range, ranges)
- Includes work with go to declaration/definition/implementation

### Fixed

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

## [1.3.0] - 2024.03.14.

### Added

Expand Down
10 changes: 10 additions & 0 deletions DagorShaderLanguageSupport/DagorShaderLanguageSupport.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,18 @@
<Content Include="Resources\Screenshots\auto-close.gif" />
<Content Include="Resources\Screenshots\bracket-match.gif" />
<Content Include="Resources\Screenshots\comment-toggle.gif" />
<Content Include="Resources\Screenshots\completion.gif" />
<Content Include="Resources\Screenshots\declaration.gif" />
<Content Include="Resources\Screenshots\definition.gif" />
<Content Include="Resources\Screenshots\diagnostics.gif" />
<Content Include="Resources\Screenshots\format.gif" />
<Content Include="Resources\Screenshots\highlights.gif" />
<Content Include="Resources\Screenshots\hover.gif" />
<Content Include="Resources\Screenshots\icons.png" />
<Content Include="Resources\Screenshots\implementation.gif" />
<Content Include="Resources\Screenshots\indentation.gif" />
<Content Include="Resources\Screenshots\signature-help.gif" />
<Content Include="Resources\Screenshots\symbols.gif" />
<Content Include="Resources\Screenshots\syntax-highlight-dark.png" />
<Content Include="Resources\Screenshots\syntax-highlight-light.png" />
<None Include="source.extension.vsixmanifest">
Expand Down
4 changes: 2 additions & 2 deletions DagorShaderLanguageSupport/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@

[assembly: ComVisible(false)]

[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion DagorShaderLanguageSupport/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Gaijin.DagorShaderLanguageSupport" Version="1.3.0.0" Language="en-US" Publisher="Gaijin Entertainment" />
<Identity Id="Gaijin.DagorShaderLanguageSupport" Version="1.5.0.0" Language="en-US" Publisher="Gaijin Entertainment" />
<DisplayName>Dagor Shader Language Support</DisplayName>
<Description xml:space="preserve">Language support extension for the Dagor Shader Language.</Description>
<MoreInfo>https://github.com/GaijinEntertainment/Dagor-Shader-Language-Support-for-Visual-Studio</MoreInfo>
Expand Down
25 changes: 22 additions & 3 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](DagorShaderLanguageSupport/Resources/Screenshots/syntax-highlight-light.png)

### Diagnostics

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

![diagnostics](DagorShaderLanguageSupport/Resources/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 when available.
Expand Down Expand Up @@ -45,21 +51,27 @@ The extension can provide outline information and breadcrumbs about DSHL variabl

![symbols](DagorShaderLanguageSupport/Resources/Screenshots/symbols.gif)

### Formatting

The extension can format the whole document, or the selected region.

![format](DagorShaderLanguageSupport/Resources/Screenshots/format.gif)

### 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](DagorShaderLanguageSupport/Resources/Screenshots/definition.gif)

### Go to declarations

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

![declarations](DagorShaderLanguageSupport/Resources/Screenshots/declaration.gif)

### Go to implementations

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

![implementations](DagorShaderLanguageSupport/Resources/Screenshots/implementation.gif)

Expand Down Expand Up @@ -91,6 +103,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
- Includes work with go to declaration/definition/implementation
- Other smaller improvements

### 1.3.0

- Code completion (for DSHL variables, shaders, and block statements)
Expand Down

0 comments on commit 00a532c

Please sign in to comment.