Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Swift Project CreationNew to Visual Studio Code? Get it now.
Swift Project Creation

Swift Project Creation

Christian Grévisse

|
7,260 installs
| (0) | Free
Allows to create an empty Swift project in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Swift Project Creation

This extension allows to create an empty Swift project in VS Code. The necessary Package.swift file, a dummy main.swift file as well as VS Code-specific workspace files are generated. The user only needs to select a root folder for his workspace and indicate a project name.

The minimal Swift version (swift-tools-version) to be used in the Package.swift file can be set in the Settings (swift-project-creation.swift.toolsVersion).

This extension works well with the Swift for Visual Studio Code extension.

Installation

You can install this extension from the Visual Studio Marketplace.

Usage

  • Install the extension and reload VS Code.
  • Press Ctrl+Shift+P and enter swift. The autocompletion should suggest the option Create a Swift Project.
  • Choose a root folder where the Swift project will be created in. A new folder with the necessary files will be created inside.
  • Indicate the name of your Swift project.
  • The newly created workspace will be opened. Please find the main.swift file inside the Sources folder.
  • Happy Swift-ing :-)

Contributors

  • Christian Grévisse, @cgrevisse, University of Luxembourg.

Bugs, Comments, Suggestions, Contributions?

Feel free to drop me a line or open an issue for any kind of report or collaboration.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft