Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Releases: vknabel/vscode-swift-development-environment

Hotfix: vscode support

21 Aug 12:27
Compare
Choose a tag to compare
  • Hotfix release: outdated vscode dependencies #31 (thanks to @akdor1154)

Hotfix: autocompletion

04 Jun 17:00
Compare
Choose a tag to compare
  • Hotfix release: fixes autocompletion

Fixes cross module autocomplete

04 Jun 16:16
Compare
Choose a tag to compare
  • Dummy module did always precede real ones leading to bad completion behavior

Fixes no autocomplete

03 Jun 18:46
Compare
Choose a tag to compare
  • Extension did not work correctly
  • Can now be disabled by "sde.enable": false

Swift Building Params

02 Jun 08:26
Compare
Choose a tag to compare

2.4.0

  • Bumped internal dependencies to be more reliable on newer vscode versions
  • New setting sde.swiftBuildingParams allows run other commands than swift build #24 jinmingjian/sde#32

Building Params

It is now possible to run different commands when building swift code.

  • "sde.swiftBuildingParams": ["build"]: default setting
  • "sde.swiftBuildingParams": ["build", "--build-path", ".vscode-build"]: build in different directory, see #24
  • "sde.swiftBuildingParams": ["build", "--build-tests"]: compile tests, but do not run them
  • "sde.swiftBuildingParams": ["test"]: runs unit tests jinmingjian/sde#32

Code Format Fixes

28 Apr 10:06
Compare
Choose a tag to compare
  • Code format did fail #19
  • Code format always indented by 4 spaces. Now configurable.

Tab Width

By default editor.tabSize will be used. As this setting is global and affects all code, you can optionally override it using "[swift]": { "tabSize": 2 }.

Better support for non-SPM projects

21 Apr 09:07
Compare
Choose a tag to compare

2.3.1

  • Accidentially logged SourceKit's key.kind and key.description
  • Removed unused config editor.quickSuggestions
  • Will no longer write sde.buildOnSave or editor.quickSuggestions to workspace settings
  • # will now trigger completions
  • -target will now be detected for UIKit, AppKit, WatchKit and Foundation on macOS and linux #15
  • Index all swift files together when no Package.swift defined #14

2.3.1-beta.0

19 Apr 07:16
Compare
Choose a tag to compare
2.3.1-beta.0 Pre-release
Pre-release
  • Accidentially logged SourceKit's key.kind and key.description
  • Removed unused config editor.quickSuggestions
  • Will no longer write sde.buildOnSave or editor.quickSuggestions to workspace settings
  • # will now trigger completions
  • -target will now be detected for UIKit, AppKit, WatchKit and Foundation on macOS and linux #15
  • Index all swift files together when no Package.swift defined #14

Hover Documentation and Autocompletion Fixes

31 Mar 21:31
Compare
Choose a tag to compare

2.3.0

  • Fixes autocompletion for methods and invocations leading to invalid syntax #9
  • Fixes a bug that lead the extension to stop working #10
  • Display documentation on Hover #11

Compiler Options for UIKit support

14 Mar 11:01
Compare
Choose a tag to compare

2.2.0

  • Autocompletion for external libraries like AppKit and UIKit after restart #8
  • Display short documentation on autocompletion
  • More reliable autocompletion, especially for global namespace
  • New "sde.sourcekit.compilerOptions" setting

How do I get autocompletion for UIKit?

Just add "sde.sourcekit.compilerOptions": ["-target", "arm64-apple-ios11.0"] to your workspace settings in Visual Studio Code and restart it.