Skip to content

vknabel/vscode-swift-development-environment-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples for vscode-swift-development-environment

Sets up autocompletion using vscode-swift-development-environment. If the plugin itself does not work, open an issue for SDE.

  1. Run ./install.sh. It will clone and build all your dependencies. In practice you should do this globally.
  2. Open .vscode/settings.json, replace ~/Desktop/vscode-swift-development-environment-examples with your actual path.
  3. Make sure you have SDE installed.
  4. Now reload the vscode window.
  5. Open some swift files e.g. Sources/Greet/main.swift and hover around.

Debugger Support

Sets up debugging using LLDB Debugger. If the plugin itself does not work, open an issue for LLDB Debugger.

  1. Make sure you ran 1 and 2 from above.
  2. Make sure you have LLDB Debugger installed.
  3. Put a breakpoint into Sources/Greet/main.swift and Tests/ExampleProjectTests/ExampleProjectTests.swift.
  4. Select the debuggers tab.

SwiftFormat for VS Code

Sets up autocompletion using vscode-swiftformat. If the plugin itself does not work, open an issue for vscode-swiftformat.

  1. Make sure you ran 1 and 2 from above.
  2. Make sure you have SwiftFormat installed.
  3. Open some swift files e.g. Sources/Greet/main.swift, make some changes and save.

About

An example Swift project configuration for using VS Code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published