Skip to content

Commit

Permalink
Rename the extension from sswg.swift-lang to swiftlang.vscode-swift
Browse files Browse the repository at this point in the history
In preparation for the move in the VS Code marketplace, rename the
extension ID and associated references in the documentation.
  • Loading branch information
plemarquand committed Oct 11, 2024
1 parent d106e4c commit cb9d182
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ If you haven't already, follow the instructions in [Development](#development) t
npm run dev-package
```

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

```sh
code --install-extension swift-lang-[version]-dev.vsix
code --install-extension vscode-swift-[version]-dev.vsix
```

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...`.
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ This extension adds language support for Swift to Visual Studio Code. It support

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.

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.
The aim is to provide a first-class, feature complete extension to make developing Swift applications on all platforms a seamless experience.

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).

## Contributing

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).
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).

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/).

## Installation

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.
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.

## Features

Expand Down
4 changes: 2 additions & 2 deletions docs/remote-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ First create the directory. Next, create `devcontainer.json` and insert the foll
"name": "Swift 5.5",
"image": "swift:5.5",
"extensions": [
"sswg.swift-lang"
"swiftlang.vscode-swift"
],
"settings": {
"lldb.library": "/usr/lib/liblldb.so"
Expand Down Expand Up @@ -73,7 +73,7 @@ Your `devcontainer.json` should look something like this
"service": "app",
"workspaceFolder": "/workspace",
"extensions": [
"sswg.swift-lang",
"swiftlang.vscode-swift",
],
"settings": {
"lldb.library": "/usr/lib/liblldb.so"
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "swift-lang",
"name": "vscode-swift",
"displayName": "Swift",
"description": "Swift Language Support for Visual Studio Code.",
"version": "1.11.3",
"publisher": "sswg",
"publisher": "swiftlang",
"icon": "icon.png",
"repository": {
"type": "git",
Expand All @@ -20,6 +20,7 @@
],
"keywords": [
"swift",
"swiftlang",
"sswg"
],
"activationEvents": [
Expand Down Expand Up @@ -1329,4 +1330,4 @@
"vscode-languageclient": "^9.0.1",
"xml2js": "^0.6.2"
}
}
}
4 changes: 2 additions & 2 deletions test/integration-tests/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function getRootWorkspaceFolder(): vscode.WorkspaceFolder {

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

0 comments on commit cb9d182

Please sign in to comment.