You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-11-NN-swift-gsoc-2025-highlight-1-vscode-swiftly.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,6 @@ If you'd like to learn more, please check out the full version of their posts on
27
27
28
28
## Bringing Swiftly support to VS Code
29
29
30
-
Hi Swift community! 👋
31
-
32
30
I am Priyambada Roul. I'm incredibly excited to share what I've been working on over the past three months as part of Google Summer of Code 2025 with Swift.org, alongside my mentors, @cmcgee1024@matthewbastien
33
31
34
32
My project focused on integrating **Swiftly** (Swift's toolchain manager) into the **VS Code Swift extension.**
@@ -38,11 +36,8 @@ My project focused on integrating **Swiftly** (Swift's toolchain manager) into t
38
36
We've made switching toolchains easier with Swiftly, allowing you to install and switch between Swift versions without leaving VS Code.
39
37
40
38
1.**Switch Swift versions** with a single click
41
-
42
39
2.**Install new toolchains** without leaving VS Code
43
-
44
40
3.**See real-time progress** during installations
45
-
46
41
4.**Automatically sync** with project-specific Swift versions
47
42
48
43
## What's New for Swift Developers
@@ -52,21 +47,15 @@ We've made switching toolchains easier with Swiftly, allowing you to install and
52
47
The VS Code extension now provides an entirely **seamless toolchain management experience**:
53
48
54
49
* We now support macOS too!
55
-
56
50
* See your current Swift version in the VS Code status bar.
57
-
58
51
* Click the version to switch between installed toolchains instantly.
59
-
60
52
* Install any Swift version directly from VS Code with real-time progress.
61
-
62
53
* Automatic detection of .swift-version files with prompts to switch
63
54
64
55
### Enhanced Swiftly CLI
65
56
66
57
* Swiftly now supports a machine-readable JSON output format.
67
-
68
58
* Swiftly now reports toolchain installation progress updates in **JSONL format**
69
-
70
59
* We have polished error reporting.
71
60
72
61

@@ -75,18 +64,17 @@ The VS Code extension now provides an entirely **seamless toolchain management e
75
64
76
65

77
66
67
+
This experience is already shipping in the latest update of the VS Code extension, so you can try it yourself now!
68
+
78
69
### Things I learnt
79
70
80
71
* Making a VS Code extension. While I have experience with TypeScript from web development, the VS Code extension API and its development workflow are different from what I'm used to.
81
-
82
72
* I understood the structure and distribution of Swift toolchains, as well as how different versions can coexist on the same system using symlinks, environment variables, and PATH manipulation, across both macOS and Linux.
83
-
84
73
* The extension spawns Swiftly processes and reads their JSON output streams in real-time. This involved learning about IPC mechanisms, stdin/stdout buffering and process lifecycle management.
85
74
86
75
Want to see what we built? Check out the repositories:
87
76
88
77
***VS Code Swift Extension**: [github.com/swiftlang/vscode-swift](https://github.com/swiftlang/vscode-swift)
I have linked all pull requests and technical details in my **[detailed project report](https://docs.google.com/document/d/1Mnb9ybmVkpL6pAgrpMbSg6EV3owA2rz_FgltvAXdnUE/edit?tab=t.0)**, which provides an in-depth look into the specific changes.
@@ -96,4 +84,4 @@ This GSoC experience has been transformative. I came in as someone intimidated b
96
84
97
85
---
98
86
99
-
If you'd like to learn more about this project, please [check out the full post on the Swift forums](https://forums.swift.org/t/gsoc-2025-bringing-swiftly-support-to-vs-code/81886)!
87
+
If you'd like to learn more about this project, please [check out the full post on the Swift forums](https://forums.swift.org/t/gsoc-2025-bringing-swiftly-support-to-vs-code/81886)!
0 commit comments