/vscode-swift

An extension for VS Code which provides support for the Swift language.

Primary LanguageTypeScriptMIT LicenseMIT

Swift for Visual Studio Code

This extension adds rich language support for the Swift language to VS Code. These features are provided by the Swift framework itself through SourceKit and SourceKitten.

https://github.com/RLovelett/vscode-swift/blob/master/vscode-swift-language/images/vscode-swift-documentation.gif?raw=true

Development setup

  • run npm install inside the vscode-swift-language and vscode-swift-language-server folders
  • open VS Code on vscode-swift-language and vscode-swift-language-server

Developing the server

  • open VS Code on vscode-swift-language-server
  • run npm run compile or npm run watch to build the server and copy it into the vscode-swift-language folder
  • to debug press F5 which attaches a debugger to the server

Developing the extension/client

  • open VS Code on vscode-swift-language
  • run F5 to build and debug the extension