terhechte / SourceKittenDaemon

Swift Auto Completions for any Text Editor
MIT License
529 stars 37 forks source link

Cant install on Linux swift tool version for FileSystemWatcher is old #81

Closed mikebgrep closed 2 years ago

mikebgrep commented 2 years ago

I can't install it on Linux this package is using old swift tool version is have some another way to install it

#if os(Linux)
package.dependencies.append(.Package(url: "https://github.com/felix91gr/FileSystemWatcher.git",
        majorVersion: 1))
#endif
terhechte commented 2 years ago

Hey, not that I'd know of. It might be reasonably easy to use a different File watcher library (something that is newer or maintained and works on Linux). However, there're a couple other Swift LSP Libraries, some of which might work out of the box. I'm not using Swift on Linux, so I don't have much knowledge here:

If you're using vscode on Linux, then there's a semi official library from the Swift Server Work Group:

There's also this one which advertises Linux support: https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment

mikebgrep commented 2 years ago

@terhechte Thank you for your answer, I will give a chance to vscode.