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

Toolchain Path

20 Jan 10:16
Compare
Choose a tag to compare

Diagnostics

21 Nov 16:39
Compare
Choose a tag to compare
  • Fixed diagnostics not being shown #58 #57

Mostly linux

08 Sep 15:15
Compare
Choose a tag to compare
  • Fixed an issue preventing autocompletion to work reliably on Linux, fixes #54
  • Installation instructions now correctly link /usr/lib/libsourcekitdInProc.so, noticed by @kennethz3
  • Support quoted arguments in settings, fixed by @haifengkao

2.8.0

09 Aug 11:42
4e9dd7e
Compare
Choose a tag to compare
  • Now LSP-mode sourcekite supports sourcekit-lsp.toolchainPath after updating to [email protected]

sourcekit-lsp.serverPath fix

23 Apr 06:56
Compare
Choose a tag to compare
  • sourcekit-lsp.serverPath wasn't read correctly, fixed by M1xA @AnyCPU

Swift 5, sourcekit-lsp, documentation

11 Apr 14:34
Compare
Choose a tag to compare
  • Latest sourcekite is now compatible with Swift 5.
  • Added options for sourcekit-lsp: sourcekit-lsp.serverPath and sourcekit-lsp.toolchainPath. #39
  • sde.languageServerMode now explicitly offers sourcekit-lsp.
  • Updated installation instructions with a stronger emphasize on sourcekit-lsp.

More details at SDE 2.7.0 released

langserver-swift

29 Oct 12:06
Compare
Choose a tag to compare

Add support for alternative language servers like RLovelett/langserver-swift #21

Probably Apple's recently announced language server will be supported, too. See https://forums.swift.org/t/new-lsp-language-service-supporting-swift-and-c-family-languages-for-any-editor-and-platform/17024 for more infos.

If you prefer RLovelett's LangserverSwift, SDE will read your old swift.languageServerPath-config. In order to actually use it your need to set sde.languageServerMode to langserver.

Warnings are not failures

25 Sep 19:12
Compare
Choose a tag to compare
  • Warnings indicated a build failure

Home dir & better hover docs

24 Sep 20:23
Compare
Choose a tag to compare
  • Resolve ~ to the home dir #30
  • Removed unuseful data from hover docs
  • Remove code formatter, use vknabel/vscode-swiftformat instead
  • Installation instructions had wrong argument order for ln -s (thanks to @mijo-gracanin)
  • Added note about installing libcurl4-openssl-dev (thanks to @mijo-gracanin)

Autocompletion for SPM dependencies

10 Sep 12:59
6c619fd
Compare
Choose a tag to compare
  • Autocompletion for SPM dependencies #27 (thanks to @yeswolf)
  • Better support for vscode workspaces
  • New setting swift.targets for supporting autocompletion if SDE can't.

Especially when using Xcode projects SDE cannot infer the correct compiler arguments. Now you can fix this by explicitly supplying targets with their sources and compiler arguments. SDE will still detect other targets automatically.

{
  "swift.targets": [
    {
      "name": "YourWatchExtension",
      "path": "YourProject/YourWatchExtension",
      "sources": ["**/*.swift"],
      "compilerArguments": [
        "-sdk",
        "/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk",
        "-target",
        "armv7k-apple-watchos4.0"
      ]
    }
  ]
}