Skip to content

Commit c79191e

Browse files
committed
feat: Rename shaderlab section to shaderls
1 parent d9e7f6a commit c79191e

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,22 @@
44
[![Release](https://img.shields.io/github/tag/shader-ls/vscode-shader.svg?label=release&logo=github)](https://github.com/shader-ls/vscode-shader/releases/latest)
55

66
# vscode-shader
7-
Shader languages support for Visual Studio Code
7+
> Shader languages support for Visual Studio Code
8+
9+
## 💾 Installation
10+
11+
12+
13+
## 📇 Commands
14+
15+
| Commands | Description |
16+
|:----------------------|:-----------------------------------|
17+
| `vscode-shader.start` | Start the `shader langauge server` |
18+
| `vscode-shader.stop` | Stop the `shader langauge server` |
19+
20+
## 🔧 Configuration
21+
22+
| Name | Description |
23+
|:--------------------------|:--------------------------------|
24+
| `ShaderLS.CompletionWord` | True to enable word completion. |
25+

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@
3232
"commands": [
3333
{
3434
"command": "vscode-shader.start",
35-
"title": "Start `shader langauge server`"
35+
"title": "Start the `shader langauge server`"
3636
},
3737
{
3838
"command": "vscode-shader.stop",
39-
"title": "Stop `shader langauge server`"
39+
"title": "Stop the `shader langauge server`"
4040
}
4141
],
4242
"configuration": {
4343
"title": "Shader LS",
4444
"properties": {
45-
"ShaderLab.CompletionWord": {
45+
"ShaderLS.CompletionWord": {
4646
"type": "boolean",
47-
"description": "Non-nil to enable word completion.",
47+
"description": "Ture to enable word completion",
4848
"default": true
4949
}
5050
}
@@ -76,4 +76,4 @@
7676
"dependencies": {
7777
"vscode-languageclient": "^8.1.0"
7878
}
79-
}
79+
}

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let client: LanguageClient;
1616
// This method is called when your extension is activated
1717
// Your extension is activated the very first time the command is executed
1818
export function activate(context: vscode.ExtensionContext) {
19-
const serverExecutable = { command: 'shader-ls', args: ['--stdio'] };
19+
const serverExecutable = { command: 'D:/_workspace/LSP/shader-language-server/Server/bin/Debug/net7.0/shader-ls', args: ['--stdio'] };
2020

2121
const serverOptions: ServerOptions = {
2222
run: serverExecutable,

0 commit comments

Comments
 (0)