What's New

Space Sea Lion

2017-05-07T14:04:54Z

There are a few significant changes with this release.

  • It adds support for the hover method of the Language Server Protocol textdocument/hover.
  • Additionally it uses libSwiftPM to parse Package.swift to determine dependencies.
  • It depends on Swift 3.1.1.

Binary

The attached binary was built using the command swift build -Xswiftc -static-stdlib -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11 -c release using the swift-3.1.1 toolchain on macOS Sierra 10.12.5.

Of course you can always build it locally on your macOS system.

$ git clone https://github.com/RLovelett/langserver-swift.git
$ git checkout 0.2.0
$ swift build -Xswiftc -static-stdlib -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11 -c release

Swift Language Server

macOS Linux Apache 2 Join the chat at https://gitter.im/langserver-swift

Overview

A Swift implementation of the open Language Server Protocol. The Language Server protocol is used between a tool (the client) and a language smartness provider (the server) to integrate features like auto complete, goto definition, find all references and alike into the tool.

Currently this implementation is used by Swift for Visual Studio Code.

Prerequisites

Swift

  • The toolchain that comes with Xcode 8.3 (Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38))

macOS

  • macOS 10.12 (Sierra) or higher
  • Xcode Version 8.3 (8E162) or higher using one of the above toolchains (Recommended)

Linux

  • Coming Soon

Build

% cd <path-to-clone>
% swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11

or with Xcode

% cd <path-to-clone>
% swift package generate-xcodeproj --xcconfig-overrides settings.xcconfig

Test

% cd <path-to-clone>
% swift test -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11

Description

  • Swift Tools 3.1.0
View More Packages from this Author

Dependencies

Last updated: Sun Oct 20 2024 14:16:21 GMT-0900 (Hawaii-Aleutian Daylight Time)