VS Code language protocol

There is an increasing number of languages and IDEs supporting VS Code’s language agnostic server protocol.

Alex

There is an increasing number of languages and IDEs supporting VS Code’s
language agnostic server protocol.

Protocol Implementations · microsoft/language-server-protocol Wiki · GitHub

While it is unclear from that email what your suggestion goal is. I can
say that this is something I had been looking into. I was originally
looking to use libIDE to generate something that would conform to this
protocol.

Though it now looks like SourceKit is coming to Linux so I'm in a
holding pattern to see what comes of that.

Long-story short I think this would be a great way to get some IDEs
besides Xcode for platforms besides OS X.

Out of curiosity have you started working on something?

···

On Wed, Jun 8, 2016, at 09:33 AM, Alex Blewitt via swift-dev wrote:

Alex
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

This is very interesting, I opened a JIRA feature to keep track, and I’ve put some thoughts on how we could go about supporting this.

Any feedback is welcome!

···

On Jun 9, 2016, at 1:13 PM, Ryan Lovelett via swift-dev <swift-dev@swift.org> wrote:

On Wed, Jun 8, 2016, at 09:33 AM, Alex Blewitt via swift-dev wrote:

There is an increasing number of languages and IDEs supporting VS Code’s
language agnostic server protocol.

https://github.com/Microsoft/vscode-languageserver-protocol/wiki/Protocol-Implementations

While it is unclear from that email what your suggestion goal is. I can
say that this is something I had been looking into. I was originally
looking to use libIDE to generate something that would conform to this
protocol.

Though it now looks like SourceKit is coming to Linux so I'm in a
holding pattern to see what comes of that.

Long-story short I think this would be a great way to get some IDEs
besides Xcode for platforms besides OS X.

Out of curiosity have you started working on something?

Alex
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Any chance to see this coming up in SourceKit ? It would help a lot in Swift adoption/world domination :)

Some progress has been made in the 2 years since this post. :smile:

3 Likes

You may be interested to read this: [cfe-dev] Apple's investment into Clangd and refactoring tooling

It sounds like Apple agrees with you, and is looking at using some variation of the Language Server Protocol in a future release of Xcode, so chances it will get a lot easier for other IDEs/editors such as Microsoft's Visual Studio Code to more fully support Swift.

2 Likes

Are you sure they do? I couldn't parse all of the jargon in the email, so I'm probably wrong... but it sounded like they mean to put this feature only on Darwin.

No, I'm not sure, but my reading of the mailing list post is that things appear to be headed in that direction. It was just an interesting bit of related information.

I'm sorry, I didn't mean it in a negative way. Thanks for sharing the info :slight_smile:

Not to worry, I didn't take it that way - you are right to ask for more information :slight_smile:

1 Like

I hope it is. First-party support for the LSP would be amazing :)

@tonyarnold thanks for the link. Indeed it seems that apple is moving into integrating LSP, that's good news! With some luck we'll see first steps into Xcode 10 :slight_smile:
@rlovelett Great work BTW