Skip to content

Commit b40cca1

Browse files
ww-mwclaude
andcommitted
Rename extension id to simulink-data-explorer; bump to 1.2.6
The Marketplace permanently reserves an unpublished extension id, so the original mathworks.data-explorer-vscode id can't be reused. Rename the package `name` to simulink-data-explorer (displayName and the GitHub repo are unchanged). Update the extension-id lookups in the integration suite, the VSIX filename in the release workflow, and the install example in the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 0851d86 commit b40cca1

9 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
echo "Tag $GITHUB_REF_NAME (=$VERSION) does not match package.json version $PKG_VERSION" >&2
4444
exit 1
4545
fi
46-
npx vsce package --out "data-explorer-vscode-${VERSION}.vsix"
46+
npx vsce package --out "simulink-data-explorer-${VERSION}.vsix"
4747
4848
- name: Create GitHub Release
4949
uses: softprops/action-gh-release@v2
5050
with:
51-
files: data-explorer-vscode-*.vsix
51+
files: simulink-data-explorer-*.vsix
5252
generate_release_notes: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ It adds a native experience for Simulink file types — a **Simulink Data Explor
2626
then install it either from the command line:
2727

2828
```sh
29-
code --install-extension data-explorer-vscode-<version>.vsix
29+
code --install-extension simulink-data-explorer-<version>.vsix
3030
```
3131

3232
or from within VS Code via the Extensions view → **** menu →

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "data-explorer-vscode",
2+
"name": "simulink-data-explorer",
33
"displayName": "Simulink Data Explorer",
44
"description": "Explore Simulink models, data dictionaries, MAT-files, and projects as interactive tables and relationship trees.",
5-
"version": "1.2.5",
5+
"version": "1.2.6",
66
"publisher": "mathworks",
77
"icon": "media/icon.png",
88
"private": true,

test-integration/suite/binaryEditor.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { BinaryEditorProvider } from '../../src/host/BinaryEditorProvider';
1313
const TABLE_VIEW = 'dataExplorer.tableView';
1414

1515
function ctx(): vscode.ExtensionContext {
16-
const ext = vscode.extensions.getExtension('mathworks.data-explorer-vscode');
16+
const ext = vscode.extensions.getExtension('mathworks.simulink-data-explorer');
1717
assert.ok(ext, 'the extension must be present');
1818
// The provider only reads context.extensionUri; a minimal stand-in suffices.
1919
return { extensionUri: ext!.extensionUri } as unknown as vscode.ExtensionContext;
@@ -37,7 +37,7 @@ suite('BinaryEditorProvider', () => {
3737
let provider: BinaryEditorProvider;
3838

3939
suiteSetup(async () => {
40-
await vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.activate();
40+
await vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.activate();
4141
});
4242

4343
setup(() => (provider = new BinaryEditorProvider(ctx())));

test-integration/suite/liveEdit.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function waitForActiveViewType(expected: string, timeoutMs = 5000): Promis
8282

8383
suite('Data Explorer .sldd live edit', () => {
8484
suiteSetup(async () => {
85-
await vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.activate();
85+
await vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.activate();
8686
});
8787

8888
teardown(async () => {
@@ -111,7 +111,7 @@ suite('Data Explorer .sldd live edit', () => {
111111
// The extension is still healthy and the same URI is shared by both views.
112112
assert.strictEqual(doc.uri.toString(), uri.toString());
113113
assert.ok(
114-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
114+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
115115
'extension remains active after the edit',
116116
);
117117
});
@@ -165,7 +165,7 @@ suite('Data Explorer .sldd live edit', () => {
165165

166166
// The extension survives its own onDidChangeTextDocument re-parse.
167167
assert.ok(
168-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
168+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
169169
'extension remains active after the write-back edit',
170170
);
171171
});
@@ -237,7 +237,7 @@ suite('Data Explorer .sldd live edit', () => {
237237
'the table tab is still present after the edit',
238238
);
239239
assert.ok(
240-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
240+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
241241
'extension remains active after the table->text sync edit',
242242
);
243243
});
@@ -280,7 +280,7 @@ suite('Data Explorer .sldd live edit', () => {
280280
// observe.
281281
assert.ok(doc0.isDirty, 'the shared document is dirty after a text-view edit');
282282
assert.ok(
283-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
283+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
284284
'extension remains active',
285285
);
286286
});
@@ -298,7 +298,7 @@ suite('Data Explorer .sldd live edit', () => {
298298
});
299299
assert.strictEqual(applied, true);
300300
assert.ok(
301-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
301+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
302302
'extension survives an invalid-JSON edit',
303303
);
304304
});
@@ -319,7 +319,7 @@ suite('Data Explorer .sldd live edit', () => {
319319
);
320320
assert.strictEqual(tab!.isDirty, false, 'a freshly opened table tab is not dirty');
321321
assert.ok(
322-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
322+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
323323
'extension is active after opening the table',
324324
);
325325
});
@@ -341,7 +341,7 @@ suite('Data Explorer .sldd live edit', () => {
341341
assert.ok(tab, 'an .slx tab is active');
342342
assert.strictEqual(tab!.isDirty, false, 'a read-only binary tab is not dirty');
343343
assert.ok(
344-
vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
344+
vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
345345
'extension is active after opening the binary .slx',
346346
);
347347
});
@@ -356,7 +356,7 @@ suite('Data Explorer .sldd live edit', () => {
356356
assert.ok(tab, 'a read-only tab is active for the binary .sldd');
357357
assert.strictEqual((tab!.input as {viewType?:string})?.viewType, BINARY_VIEW);
358358
assert.strictEqual(tab!.isDirty, false, 'a read-only binary .sldd tab is not dirty');
359-
assert.ok(vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.isActive,
359+
assert.ok(vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.isActive,
360360
'extension stays active after opening a binary .sldd');
361361
});
362362
});

test-integration/suite/propertiesView.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function fakeView(extensionUri: vscode.Uri): Recorded {
7878
}
7979

8080
function extensionUri(): vscode.Uri {
81-
const ext = vscode.extensions.getExtension('mathworks.data-explorer-vscode');
81+
const ext = vscode.extensions.getExtension('mathworks.simulink-data-explorer');
8282
assert.ok(ext, 'the extension must be present');
8383
return ext!.extensionUri;
8484
}

test-integration/suite/sectionsTree.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { SectionsTreeProvider } from '../../src/host/SectionsTreeProvider';
1313
import { HEALTH_QUERY } from '../../src/host/health';
1414

1515
function extensionUri(): vscode.Uri {
16-
const ext = vscode.extensions.getExtension('mathworks.data-explorer-vscode');
16+
const ext = vscode.extensions.getExtension('mathworks.simulink-data-explorer');
1717
assert.ok(ext, 'the extension must be present');
1818
return ext!.extensionUri;
1919
}
@@ -27,7 +27,7 @@ suite('SectionsTreeProvider', () => {
2727
let provider: SectionsTreeProvider;
2828

2929
suiteSetup(async () => {
30-
await vscode.extensions.getExtension('mathworks.data-explorer-vscode')?.activate();
30+
await vscode.extensions.getExtension('mathworks.simulink-data-explorer')?.activate();
3131
});
3232

3333
setup(() => {

test-integration/suite/toggle.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async function waitForActiveTextEditor(
8787
suite('Data Explorer .sldd editor toggle', () => {
8888
suiteSetup(async () => {
8989
// Give the extension host a moment to activate on the .sldd language.
90-
const ext = vscode.extensions.getExtension('mathworks.data-explorer-vscode');
90+
const ext = vscode.extensions.getExtension('mathworks.simulink-data-explorer');
9191
await ext?.activate();
9292
});
9393

0 commit comments

Comments
 (0)