Skip to content

Commit c72f862

Browse files
committed
Change publisher from tebjan to stride - bump to 0.7.4
Publisher "tebjan" was accidentally deleted from VS Marketplace and could not be restored. Re-publishing under the "stride" publisher. Extension ID changes from tebjan.sdsl to stride.sdsl.
1 parent f77327d commit c72f862

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ A tool showing the [built-in shaders](https://doc.stride3d.net/latest/en/manual/
33

44
## VS Code Extension
55

6-
<a href="https://marketplace.visualstudio.com/items?itemName=tebjan.sdsl">
6+
<a href="https://marketplace.visualstudio.com/items?itemName=stride.sdsl">
77
<img src="VSCode/vscode-extension/icons/icon.png" alt="Stride Shader Tools" width="128px"/>
88
</a>
99

10-
**[Stride Shader Tools](https://marketplace.visualstudio.com/items?itemName=tebjan.sdsl)** - VS Code extension for SDSL shader development with:
10+
**[Stride Shader Tools](https://marketplace.visualstudio.com/items?itemName=stride.sdsl)** - VS Code extension for SDSL shader development with:
1111

1212
* Syntax highlighting for `.sdsl` files
1313
* IntelliSense with completions for shaders, variables, and methods
@@ -17,7 +17,7 @@ A tool showing the [built-in shaders](https://doc.stride3d.net/latest/en/manual/
1717
* Inheritance tree view panel
1818
* Template shader support
1919

20-
Install from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=tebjan.sdsl).
20+
Install from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=stride.sdsl).
2121

2222
---
2323

VSCode/vscode-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"displayName": "Stride SDSL Shader Tools",
44
"description": "IntelliSense, (future) debugging, and assistance for Stride and vvvv SDSL shaders",
55
"icon": "icons/icon.png",
6-
"version": "0.7.3",
7-
"publisher": "tebjan",
6+
"version": "0.7.4",
7+
"publisher": "stride",
88
"engines": {
99
"vscode": "^1.95.0"
1010
},

VSCode/vscode-extension/src/extension.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from './ExternalShaderProvider';
1515
import { UnifiedTreeProvider } from './panels';
1616

17-
const EXTENSION_ID = 'tebjan.stride-shader-tools';
17+
const EXTENSION_ID = 'stride.sdsl';
1818

1919
let client: LanguageClient | undefined;
2020

@@ -573,6 +573,27 @@ async function startLanguageServer(context: vscode.ExtensionContext): Promise<vo
573573
if (vscode.window.activeTextEditor?.document.languageId === 'sdsl') {
574574
unifiedTreeProvider.refresh();
575575
}
576+
577+
// Notify language server when shader path settings change
578+
context.subscriptions.push(
579+
vscode.workspace.onDidChangeConfiguration((e) => {
580+
if (e.affectsConfiguration('strideShaderTools.shaderPaths')) {
581+
const updatedConfig = vscode.workspace.getConfiguration('strideShaderTools');
582+
const paths = updatedConfig.get<string[]>('shaderPaths') ?? [];
583+
client.sendNotification('stride/updateShaderPaths', { additionalShaderPaths: paths });
584+
}
585+
})
586+
);
587+
588+
// Notify language server when workspace folders are added or removed
589+
context.subscriptions.push(
590+
vscode.workspace.onDidChangeWorkspaceFolders((e) => {
591+
client.sendNotification('stride/updateWorkspaceFolders', {
592+
added: e.added.map((f) => f.uri.fsPath),
593+
removed: e.removed.map((f) => f.uri.fsPath),
594+
});
595+
})
596+
);
576597
} catch (error) {
577598
console.error('Failed to start language server:', error);
578599
vscode.window.showWarningMessage(

0 commit comments

Comments
 (0)