This repository was archived by the owner on Jun 22, 2024. It is now read-only.
Releases: vknabel/vscode-swift-development-environment
Releases · vknabel/vscode-swift-development-environment
Hotfix: vscode support
- Hotfix release: outdated vscode dependencies #31 (thanks to @akdor1154)
Hotfix: autocompletion
- Hotfix release: fixes autocompletion
Fixes cross module autocomplete
- Dummy module did always precede real ones leading to bad completion behavior
Fixes no autocomplete
- Extension did not work correctly
- Can now be disabled by
"sde.enable": false
Swift Building Params
2.4.0
- Bumped internal dependencies to be more reliable on newer vscode versions
- New setting
sde.swiftBuildingParamsallows run other commands thanswift 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
- 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
2.3.1
- Accidentially logged SourceKit's
key.kindandkey.description - Removed unused config
editor.quickSuggestions - Will no longer write
sde.buildOnSaveoreditor.quickSuggestionsto workspace settings #will now trigger completions-targetwill now be detected forUIKit,AppKit,WatchKitandFoundationon macOS and linux #15- Index all swift files together when no
Package.swiftdefined #14
2.3.1-beta.0
- Accidentially logged SourceKit's
key.kindandkey.description - Removed unused config
editor.quickSuggestions - Will no longer write
sde.buildOnSaveoreditor.quickSuggestionsto workspace settings #will now trigger completions-targetwill now be detected forUIKit,AppKit,WatchKitandFoundationon macOS and linux #15- Index all swift files together when no
Package.swiftdefined #14
Hover Documentation and Autocompletion Fixes
Compiler Options for UIKit support
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.