Skip to content

Commit 8c76503

Browse files
committed
Simplify create project step
Remove additional details and make the "Try it out" button launch the swift extension create new project command directly.
1 parent 5d38f46 commit 8c76503

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

assets/walkthrough/createNewProject.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
# Create a New Swift Project
22
![Create new project](./images/createNewProject.gif)
33

4-
There are several project templates to choose from:
5-
- `Library`: A package with a library. Use this to publish code for other packages to consume.
6-
- `Executable`: A package with an executable. Use this for command line utilities.
7-
- `Tool`: A package with an executable that uses Swift Argument Parser. Use this if you plan to have a rich set of command line arguments.
8-
- `Build Tool Plugin`: A package that vents a Swift build tool plugin.
9-
- `Command Plugin`: A package that vends a Swift command plugin.
10-
- `Macro`: A package that vends a Swift macro.
11-
- `Empty`: An empty package with just a `Package.swift` manifest.
12-
13-
Once you select a template, you'll be prompted to enter a name for your new project. This will be the name of the folder created in your workspace.
14-
15-
Finally, you'll be prompted to select a location for your new project. You can choose any location in your workspace, or create a new folder.
4+
When you select a project template, you'll be prompted to enter a name for your new project. This will be the name of the folder created in your workspace. You can then choose any location in your workspace, or create a new folder for the project.
165

176
# Opening Existing Projects
187

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
{
7171
"id": "creating-new-project",
7272
"title": "Create a Swift project",
73-
"description": "You can create a new Swift project with \n``Swift: Create New Project``\n in the Command Palette. \n[Try it out](command:workbench.action.showCommands)",
73+
"description": "You can create a new Swift project with \n``Swift: Create New Project``\n in the Command Palette. \n[Try it out](command:swift.createNewProject)",
7474
"media": {
7575
"markdown": "assets/walkthrough/createNewProject.md"
7676
}
@@ -105,10 +105,7 @@
105105
"description": "Explore commands available in the Command Palette prefixed with ``> Swift:``\n See documentation for [available commands](https://docs.swift.org/vscode/documentation/userdocs/commands/). \n[Open Command Palette](command:workbench.action.showCommands)",
106106
"media": {
107107
"markdown": "assets/walkthrough/swiftCommands.md"
108-
},
109-
"completionEvents": [
110-
"onLink:https://docs.swift.org/vscode/documentation/userdocs/commands/"
111-
]
108+
}
112109
},
113110
{
114111
"id": "selecting-toolchain",

0 commit comments

Comments
 (0)