vscode-shader
vscode-shader copied to clipboard
Shader languages support for VS Code
vscode-shader
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
HLSL
Show Code Completion Proposals
Help With Function and Method Signatures
Show Hover
HLSL Documentation
Clicking on the link in the Hover box will open HLSL documentation (when available)
Find References and Definition
Document and 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
- Install Visual Studio Code (1.17.0 or higher)
- Launch Code
- From the command palette
Ctrl-Shift-P
(Windows, Linux) orCmd-Shift-P
(OSX) - Select
Install Extensions
- Choose the extension
Shader languages support for VS Code
- Reload Visual Studio Code
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Requirements
Visual Studio Code v1.17.0
Credits
- Visual Studio Code
- vscode-docs on GitHub
- Follow Redirects on GitHub
- HLSL Tools for Visual Studio
- Sublime Text - GLSL Package
License
MIT