diff --git a/_posts/2022-07-14-vscode-extension.md b/_posts/2022-07-14-vscode-extension.md index 1e8dbb2b3..e26fa00bf 100644 --- a/_posts/2022-07-14-vscode-extension.md +++ b/_posts/2022-07-14-vscode-extension.md @@ -6,7 +6,7 @@ title: Swift Extension for Visual Studio Code author: adam-fowler --- -As Swift is deployed across more platforms, it is important that Swift can be developed on more platforms as well. The [Swift Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) provides a cross-platform solution for Swift development supporting macOS, Linux, and Windows. +As Swift is deployed across more platforms, it is important that Swift can be developed on more platforms as well. The [Swift Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode) provides a cross-platform solution for Swift development supporting macOS, Linux, and Windows. ## Motivation diff --git a/_posts/2022-08-18-sswg-server-guides.md b/_posts/2022-08-18-sswg-server-guides.md index 77b9590bd..bca398e24 100644 --- a/_posts/2022-08-18-sswg-server-guides.md +++ b/_posts/2022-08-18-sswg-server-guides.md @@ -10,7 +10,7 @@ The [Swift Server Workgroup](/sswg/) has maintained a set of open source guides The guides cover a number of useful topics: - * [Setting up your environment](/documentation/server/guides/setup-and-ide-alternatives.html) + * [Setting up your environment](/tools) * [Building]({{site.url}}/documentation/server/guides/building.html) and [testing]({{site.url}}/documentation/server/guides/testing.html) * [Profiling]({{site.url}}/documentation/server/guides/performance.html) and [deploying]({{site.url}}/documentation/server/guides/deployment.html) (including AWS, Digital Ocean, Heroku, and GCP) * [Docker best practices]({{site.url}}/documentation/server/guides/packaging.html) diff --git a/_posts/2023-08-17-sswg-update-2023.md b/_posts/2023-08-17-sswg-update-2023.md index 585899c99..98147e8d7 100644 --- a/_posts/2023-08-17-sswg-update-2023.md +++ b/_posts/2023-08-17-sswg-update-2023.md @@ -42,7 +42,7 @@ We're also excited to see the introduction of [Custom Actor Executors](https://g Notable highlights in tooling include: -* The [Swift Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) reached version 1.0.0 and added new features like Swift Package plugin integration, Test Coverage and Test Explorer support, and more. +* The [Swift Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode) reached version 1.0.0 and added new features like Swift Package plugin integration, Test Coverage and Test Explorer support, and more. * Swift Package plugins have seen adoption in many libraries, from formatters and linters, to code generators such as [SwiftProtobuf](https://github.com/apple/swift-protobuf/tree/main/Plugins/SwiftProtobufPlugin), [gRPC swift](https://github.com/grpc/grpc-swift/tree/main/Plugins/GRPCSwiftPlugin), [Smoke](https://github.com/amzn/smoke-framework-application-generate/tree/main/Plugins), and [Soto](https://soto.codes/2022/12/build-plugin-experiments.html). * [Swiftly](https://github.com/swift-server/swiftly) is now available to try out and provides a simple way to install Swift on Linux and switch between versions. diff --git a/assets/images/getting-started-with-vscode-swift/installation.png b/assets/images/getting-started-with-vscode-swift/installation.png index df445844b..d11d85a99 100644 Binary files a/assets/images/getting-started-with-vscode-swift/installation.png and b/assets/images/getting-started-with-vscode-swift/installation.png differ diff --git a/documentation/articles/getting-started-with-vscode-swift.md b/documentation/articles/getting-started-with-vscode-swift.md index f547c649e..5f2b69b3e 100644 --- a/documentation/articles/getting-started-with-vscode-swift.md +++ b/documentation/articles/getting-started-with-vscode-swift.md @@ -30,7 +30,7 @@ The Swift extension is designed to support the following projects: [Getting Started Guide on Swift.org](/getting-started/). 2. Download and install [Visual Studio Code](https://code.visualstudio.com/Download). 3. Install the Swift extension from the - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) + [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode) or directly from within the VS Code extensions pane. ![Installing the vscode-swift extension from the extensions pane](/assets/images/getting-started-with-vscode-swift/installation.png) diff --git a/documentation/server/guides/index.md b/documentation/server/guides/index.md index 804a662f9..1c57d9cac 100644 --- a/documentation/server/guides/index.md +++ b/documentation/server/guides/index.md @@ -7,7 +7,6 @@ The Swift Server Workgroup and Swift on Server community have developed a number They focus on how to compile, test, deploy and debug such application and provides tips in those areas. -- [Setup and code editing](/documentation/server/guides/setup-and-ide-alternatives.html) - [Building](/documentation/server/guides/building.html) - [Testing](/documentation/server/guides/testing.html) - [Debugging Memory leaks](/documentation/server/guides/memory-leaks-and-usage.html) diff --git a/documentation/server/guides/setup-and-ide-alternatives.md b/documentation/server/guides/setup-and-ide-alternatives.md deleted file mode 100644 index 1bb2953cc..000000000 --- a/documentation/server/guides/setup-and-ide-alternatives.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -redirect_from: "server/guides/setup-and-ide-alternatives" -layout: page -title: Installing Swift and using with IDEs ---- - -## Installing Swift - -The [supported platforms](/platform-support/) for running Swift on the server and the [ready-built tools packages](/download/) are all hosted here on swift.org together with installation instructions. There's also the [language reference documentation](/documentation/) section for viewing more information about Swift. - -## IDEs/Editors with Swift Support - -A number of editors you may already be familiar with have support for writing Swift code. Here we provide a non-exhaustive list of such editors and relevant plugins/extensions, sorted alphabetically. - -* [Atom IDE support](https://atom.io/packages/ide-swift) - * [Atomic Blonde](https://atom.io/packages/atomic-blonde) a SourceKit based syntax highlighter for Atom. - -* [Emacs plugin](https://github.com/swift-emacs/swift-mode) - -* [VIM plugin](https://github.com/keith/swift.vim) - -* [Visual Studio Code](https://code.visualstudio.com) - * [Swift for Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) - -* [Xcode](https://developer.apple.com/xcode/ide/) - -## Language Server Protocol (LSP) Support - -The [SourceKit-LSP project](https://github.com/swiftlang/sourcekit-lsp) provides a Swift implementation of the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/), which provides features such as code completion and jump-to-definition in supported editors. - -The project has both an [extensive list of editors that support it](https://github.com/swiftlang/sourcekit-lsp/tree/main/Editors) and setup instructions for those editors, including many of those listed above. - -_Do you know about another IDE or IDE plugin that is missing? Please submit a PR to add them here!_ diff --git a/gsoc2024/index.md b/gsoc2024/index.md index 210134949..8c1bf3901 100644 --- a/gsoc2024/index.md +++ b/gsoc2024/index.md @@ -147,7 +147,7 @@ Provide all keyword or punctuator completions that are valid at a certain positi Swift Macros allow the generation of source code at compile time. While this provides concise code and avoids repetition of common paradigms, understanding the source code can become harder if it is unknown what the macro expands to. -Visual Studio Code using the [Swift Extension](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang) currently has limited ability to show the code generated by a macro by invoking a code action that replaces the macro by its generated code inside the current source file. +Visual Studio Code using the [Swift Extension](https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode) currently has limited ability to show the code generated by a macro by invoking a code action that replaces the macro by its generated code inside the current source file. The project's goal is to implement a code action to show the macro-generated code without modifying the current source file. This includes the implementation of a request in [sourcekit-lsp](https://github.com/swiftlang/sourcekit-lsp) to compute the contents of the macro expansion and support in the Visual Studio Swift Extension to display that content. Some initial discussion of how the design could look like can be found in [this thread](https://github.com/swiftlang/sourcekit-lsp/pull/892#discussion_r1358428808).