Skip to content

Commit 8461cc9

Browse files
committed
Rename the extension from sswg.swift-lang to swiftlang.vscode-swift
In preparation for the move in the VS Code marketplace, rename the extension ID and associated references in the documentation.
1 parent d88a5c8 commit 8461cc9

File tree

7 files changed

+20
-17
lines changed

7 files changed

+20
-17
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ If you haven't already, follow the instructions in [Development](#development) t
4444
npm run dev-package
4545
```
4646

47-
This builds a file that looks like `swift-lang-[version]-dev.vsix`. Now install the extension with:
47+
This builds a file that looks like `vscode-swift-[version]-dev.vsix`. Now install the extension with:
4848

4949
```sh
50-
code --install-extension swift-lang-[version]-dev.vsix
50+
code --install-extension vscode-swift-[version]-dev.vsix
5151
```
5252

5353
Alternatively you can install the extension from the Extensions panel by clicking the `...` button at the top of the panel and choosing `Install from VSIX...`.

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ This extension adds language support for Swift to Visual Studio Code. It support
1212

1313
Swift support uses [SourceKit LSP](https://github.com/apple/sourcekit-lsp) for the [language server](https://microsoft.github.io/language-server-protocol/overviews/lsp/overview/) to power code completion and [LLDB](https://github.com/vadimcn/vscode-lldb) to enable debugging.
1414

15-
The extension is developed by members of the Swift Community and maintained by the [SSWG](https://www.swift.org/sswg/). The aim is to provide a first-class, feature complete extension to make developing Swift applications on all platforms a seamless experience.
15+
The aim is to provide a first-class, feature complete extension to make developing Swift applications on all platforms a seamless experience.
1616

1717
If you experience any issues or want to propose new features please [create an issue](https://github.com/swiftlang/vscode-swift/issues/new) or post on the [swift.org forums](https://forums.swift.org) in the [VS Code Swift Extension category](https://forums.swift.org/c/related-projects/vscode-swift-extension/).
1818

1919
## Contributing
2020

21-
The Swift for Visual Studio Code extension is a community driven project, developed by the amazing Swift community. Any kind of contribution is appreciated, including code, tests and documentation. For more details see [CONTRIBUTING.md](CONTRIBUTING.md).
21+
The Swift for Visual Studio Code extension is a community driven project originally created by the [Swift Server Working Group](https://www.swift.org/sswg/) and now maintained as part of the [swiftlang organization](https://github.com/swiftlang/). Contributions are appreciated, including code, tests and documentation. For more details see [CONTRIBUTING.md](CONTRIBUTING.md).
22+
23+
To give clarity of what is expected of our members, Swift has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the [Code of Conduct](https://swift.org/code-of-conduct/).
2224

2325
## Installation
2426

25-
For the extension to work, you must have Swift installed on your system. Please see the [Getting Started Guide on Swift.org](https://www.swift.org/getting-started/) for details on how to install Swift on your system. Install the extension from [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) and open a Swift package! You'll be prompted to install and configure the CodeLLDB extension, which you should do so.
27+
For the extension to work, you must have Swift installed on your system. Please see the [Getting Started Guide on Swift.org](https://www.swift.org/getting-started/) for details on how to install Swift on your system. Install the extension from [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=swiftlang.vscode-swift) and open a Swift package! You'll be prompted to install and configure the CodeLLDB extension, which you should do so.
2628

2729
## Features
2830

docs/remote-dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ First create the directory. Next, create `devcontainer.json` and insert the foll
2121
"name": "Swift 5.5",
2222
"image": "swift:5.5",
2323
"extensions": [
24-
"sswg.swift-lang"
24+
"swiftlang.vscode-swift"
2525
],
2626
"settings": {
2727
"lldb.library": "/usr/lib/liblldb.so"
@@ -73,7 +73,7 @@ Your `devcontainer.json` should look something like this
7373
"service": "app",
7474
"workspaceFolder": "/workspace",
7575
"extensions": [
76-
"sswg.swift-lang",
76+
"swiftlang.vscode-swift",
7777
],
7878
"settings": {
7979
"lldb.library": "/usr/lib/liblldb.so"

package-lock.json

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

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "swift-lang",
2+
"name": "vscode-swift",
33
"displayName": "Swift",
44
"description": "Swift Language Support for Visual Studio Code.",
55
"version": "1.11.4",
6-
"publisher": "sswg",
6+
"publisher": "swiftlang",
77
"icon": "icon.png",
88
"repository": {
99
"type": "git",
@@ -20,6 +20,7 @@
2020
],
2121
"keywords": [
2222
"swift",
23+
"swiftlang",
2324
"sswg"
2425
],
2526
"activationEvents": [
@@ -1438,4 +1439,4 @@
14381439
"vscode-languageclient": "^9.0.1",
14391440
"xml2js": "^0.6.2"
14401441
}
1441-
}
1442+
}

test/integration-tests/ExtensionActivation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ suite("Extension Activation/Deactivation Tests", () => {
3333

3434
async function activate(currentTest?: Mocha.Test) {
3535
assert.ok(await activateExtension(currentTest), "Extension did not return its API");
36-
const ext = vscode.extensions.getExtension("sswg.swift-lang");
36+
const ext = vscode.extensions.getExtension("swiftlang.vscode-swift");
3737
assert.ok(ext, "Extension is not found");
3838
assert.strictEqual(ext.isActive, true);
3939
}
@@ -57,7 +57,7 @@ suite("Extension Activation/Deactivation Tests", () => {
5757
test("Deactivation", async function () {
5858
const workspaceContext = await activateExtension(this.test as Mocha.Test);
5959
await deactivateExtension();
60-
const ext = vscode.extensions.getExtension("sswg.swift-lang");
60+
const ext = vscode.extensions.getExtension("swiftlang.vscode-swift");
6161
assert(ext);
6262
assert.equal(workspaceContext.subscriptions.length, 0);
6363
});

test/integration-tests/utilities/testutilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const extensionBootstrapper = (() => {
129129
`Extension is already activated. Last test that activated the extension: ${lastTestName}`
130130
);
131131
}
132-
const extensionId = "sswg.swift-lang";
132+
const extensionId = "swiftlang.vscode-swift";
133133
const ext = vscode.extensions.getExtension<Api>(extensionId);
134134
if (!ext) {
135135
throw new Error(`Unable to find extension "${extensionId}"`);
@@ -138,7 +138,7 @@ const extensionBootstrapper = (() => {
138138
let workspaceContext: WorkspaceContext | undefined;
139139

140140
// We can only _really_ call activate through
141-
// `vscode.extensions.getExtension<Api>("sswg.swift-lang")` once.
141+
// `vscode.extensions.getExtension<Api>("swiftlang.vscode-swift")` once.
142142
// Subsequent activations must be done through the returned API object.
143143
if (!activator) {
144144
activatedAPI = await ext.activate();

0 commit comments

Comments
 (0)