Skip to content

Commit dff13ef

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 d106e4c commit dff13ef

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
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/swift-server/vscode-swift/issues/new) or post on the `#vscode-swift` channel on [Slack](https://swift-server.slack.com).
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: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 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.3",
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": [

test/integration-tests/extension.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function getRootWorkspaceFolder(): vscode.WorkspaceFolder {
2929

3030
export const globalWorkspaceContextPromise: Promise<WorkspaceContext> = (async () => {
3131
const workspaceFolder = getRootWorkspaceFolder();
32-
const ext = vscode.extensions.getExtension<Api>("sswg.swift-lang");
32+
const ext = vscode.extensions.getExtension<Api>("swiftlang.swift-lang");
3333
if (!ext) {
34-
throw new Error(`Unable to find extension "sswg.swift-lang"`);
34+
throw new Error(`Unable to find extension "swiftlang.swift-lang"`);
3535
}
3636
const api = await ext.activate();
3737
const packageFolder = testAssetUri("defaultPackage");

0 commit comments

Comments
 (0)