AnarchyTools / SublimeAnarchy

SourceKit can crash more than just Xcode
4 stars 0 forks source link

Linux port #8

Open drewcrawford opened 8 years ago

drewcrawford commented 8 years ago

Found during another bug: https://bugs.swift.org/browse/SR-710

Note that SourceKit is not supported on linux.

Seems that the main barrier is GCD support: https://github.com/jpsim/SourceKitten/issues/179, which we now have. But nobody has actually ported it yet.

Another possibility would be to rely on libIDE instead, which has some completion features (maybe): https://github.com/apple/swift/tree/master/lib/IDE

dunkelstern commented 8 years ago

Seems the IPC to SourceKit is bound to XPC which is not available on Linux (and will not be) so we're stuck supporting OSX only currently it seems

drewcrawford commented 8 years ago

I'd like to eventually move to libIDE

https://github.com/apple/swift/blob/master/lib/IDE/CodeCompletion.cpp

Should support this in the Swift 3timeframe

drewcrawford commented 8 years ago

After lobbying and cajoling, upstream has assented to porting SK to Linux.