Skip to content

Skylark13/vscode-shader

 
 

Repository files navigation

vscode-shader

GitHub issues GitHub license button VS Code marketplace button Gitter chat button

Description

Shader languages support for VS Code

  • HLSL - High-Level Shading Language
  • GLSL - OpenGL Shading Language
  • Cg - C for Graphics

Main Features

All languages

Syntax highlighting for shader languages

Syntax Highlighting

HLSL

Show Code Completion Proposals

Code Completion

Help With Function and Method Signatures

Signature Help

Show Hover

Show Hover

HLSL Documentation

HLSL Documentation Clicking on the link in the Hover box will open HLSL documentation (when available)

Find References and Definition

Find References

Document and Workspace Symbols

document-symbols workspace-symbols

Formatting Code

(Experimental) Require MS CppTools to be installed

Configuration

  • hlsl.suggest.basic Configures if the HLSL language suggestions are enabled
  • hlsl.openDocOnSide Open HLSL Documentation link in editor and on the side, instead of in external browser

Installation

  1. Install Visual Studio Code (1.17.0 or higher)
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extensions
  5. Choose the extension Shader languages support for VS Code
  6. Reload Visual Studio Code

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Requirements

Visual Studio Code v1.17.0

Credits

License

MIT

About

Shader languages support for VS Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%