Skip to content

Commit 946d812

Browse files
authored
Publish the VS Code extension as astro-tools.gmat-mission-script (#59)
- Restore publisher: astro-tools (the astro-tools Marketplace publisher and Open VSX namespace now exist). - Rename the extension name gmat-script -> gmat-mission-script: the Marketplace enforces globally-unique extension names and gmat-script is already taken by another publisher. The id is now astro-tools.gmat-mission-script on both registries; displayName stays "GMAT Script". - The GitHub repo, PyPI package (gmat-script), and npm grammar (tree-sitter-gmat) identities are unchanged.
1 parent adfaa36 commit 946d812

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ repos:
8888

8989
## Editor tooling
9090

91-
[![VS Marketplace](https://img.shields.io/visual-studio-marketplace/v/djankov.gmat-script?label=VS%20Marketplace&color=311B92)](https://marketplace.visualstudio.com/items?itemName=djankov.gmat-script)
92-
[![Open VSX](https://img.shields.io/open-vsx/v/djankov/gmat-script?label=Open%20VSX&color=311B92)](https://open-vsx.org/extension/djankov/gmat-script)
91+
[![VS Marketplace](https://img.shields.io/visual-studio-marketplace/v/astro-tools.gmat-mission-script?label=VS%20Marketplace&color=311B92)](https://marketplace.visualstudio.com/items?itemName=astro-tools.gmat-mission-script)
92+
[![Open VSX](https://img.shields.io/open-vsx/v/astro-tools/gmat-mission-script?label=Open%20VSX&color=311B92)](https://open-vsx.org/extension/astro-tools/gmat-mission-script)
9393

9494
The same engine drives an editor experience — highlighting, hover docs, live diagnostics, completion,
9595
go-to-definition, an outline, and format-on-save.
9696

9797
- **VS Code** — the **GMAT Script** extension, on the
98-
[Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=djankov.gmat-script)
99-
and [Open VSX](https://open-vsx.org/extension/djankov/gmat-script). Highlighting works on
98+
[Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=astro-tools.gmat-mission-script)
99+
and [Open VSX](https://open-vsx.org/extension/astro-tools/gmat-mission-script). Highlighting works on
100100
install; the richer features come from the language server (`pip install "gmat-script[lsp]"`).
101101
- **Neovim, Emacs, Helix, and the rest** — a Language Server Protocol server (`gmat-script-lsp`,
102102
from the `lsp` extra) backs any LSP-capable editor.

docs/vscode.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ format-on-save for `.script` and `.gmf` files.
88

99
Install **GMAT Script** from either marketplace:
1010

11-
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=djankov.gmat-script)
11+
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=astro-tools.gmat-mission-script)
1212
— search *GMAT Script* in the Extensions view, or run
13-
`code --install-extension djankov.gmat-script`.
14-
- [Open VSX](https://open-vsx.org/extension/djankov/gmat-script) — for VSCodium, Cursor, Gitpod,
13+
`code --install-extension astro-tools.gmat-mission-script`.
14+
- [Open VSX](https://open-vsx.org/extension/astro-tools/gmat-mission-script) — for VSCodium, Cursor, Gitpod,
1515
and other Open VSX–based editors.
1616

1717
The extension bundles **syntax highlighting** as a TextMate grammar, so colouring works the moment

editors/vscode/package-lock.json

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

editors/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "gmat-script",
2+
"name": "gmat-mission-script",
33
"displayName": "GMAT Script",
44
"description": "Highlighting, hover docs, diagnostics, go-to-definition, completion, and format-on-save for GMAT mission scripts (.script / .gmf).",
55
"version": "0.3.0",
6-
"publisher": "djankov",
6+
"publisher": "astro-tools",
77
"license": "MIT",
88
"icon": "icons/gmat-script.png",
99
"homepage": "https://astro-tools.github.io/gmat-script/",

editors/vscode/src/test/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as os from "os";
88
import * as path from "path";
99
import * as vscode from "vscode";
1010

11-
const EXTENSION_ID = "djankov.gmat-script";
11+
const EXTENSION_ID = "astro-tools.gmat-mission-script";
1212

1313
function writeTempFile(name: string, content: string): vscode.Uri {
1414
const dir = fs.mkdtempSync(path.join(os.tmpdir(), "gmat-smoke-"));

0 commit comments

Comments
 (0)