Skip to content

Commit 9ef0ecf

Browse files
committed
Refactoring the code
1 parent dec1de1 commit 9ef0ecf

File tree

7 files changed

+173
-232
lines changed

7 files changed

+173
-232
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Added
66

7+
- Swiftly toolchain installation support with commands to install stable and snapshot releases, progress tracking, and secure post-install script handling ([#1780](https://github.com/swiftlang/vscode-swift/pull/1780))
78
- Prompt to restart `SourceKit-LSP` after changing `.sourcekit-lsp/config.json` files ([#1744](https://github.com/swiftlang/vscode-swift/issues/1744))
89
- Prompt to cancel and replace the active test run if one is in flight ([#1774](https://github.com/swiftlang/vscode-swift/pull/1774))
910
- A walkthrough for first time extension users ([#1560](https://github.com/swiftlang/vscode-swift/issues/1560))

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,11 @@
338338
"title": "Install Swiftly Toolchain...",
339339
"category": "Swift"
340340
},
341+
{
342+
"command": "swift.installSwiftlySnapshotToolchain",
343+
"title": "Install Swiftly Snapshot Toolchain...",
344+
"category": "Swift"
345+
},
341346
{
342347
"command": "swift.runSnippet",
343348
"title": "Run Swift Snippet",

src/commands.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ import { generateLaunchConfigurations } from "./commands/generateLaunchConfigura
5151
import { runTest } from "./commands/runTest";
5252
import { generateSourcekitConfiguration } from "./commands/generateSourcekitConfiguration";
5353
import { SwiftLogger } from "./logging/SwiftLogger";
54-
import { installSwiftlyToolchain } from "./commands/installSwiftlyToolchain";
55-
import { installSwiftlySnapshotToolchain } from "./commands/installSwiftlySnapshotToolchain";
54+
import {
55+
installSwiftlyToolchain,
56+
installSwiftlySnapshotToolchain,
57+
} from "./commands/installSwiftlyToolchain";
5658

5759
/**
5860
* References:

src/commands/installSwiftlySnapshotToolchain.ts

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)