mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 15:01:57 +01:00
Implement HLSL syntax highlighting
And use HLSL grammar to highlight CG blocks in ShaderLab shaders.
This commit is contained in:
19
extensions/hlsl/package.json
Normal file
19
extensions/hlsl/package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "hlsl",
|
||||
"version": "0.1.0",
|
||||
"publisher": "vscode",
|
||||
"engines": { "vscode": "*" },
|
||||
"contributes": {
|
||||
"languages": [{
|
||||
"id": "hlsl",
|
||||
"extensions": [".hlsl",".hlsli",".fx",".fxh",".vsh",".psh",".cginc",".compute"],
|
||||
"aliases": ["HLSL", "hlsl"],
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
"language": "hlsl",
|
||||
"path": "./syntaxes/hlsl.json",
|
||||
"scopeName":"source.hlsl"
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user