Open genericptr opened 3 years ago
You need either a compile_commands.json file or your swift project needs to be built around the swift package manager.
Yes but the bug is that the plugin gets stuck in an infinite loop. It should of course just fail once and not try again.
You’re right, it shouldn’t get into an init loop.
Describe the bug
Running LSP-SourceKit on an Xcode project fails with an error "could not find manifest, or not a SwiftPM package" and then gets stuck in an infinite loop shutting down and re-initializing. I probably just don't know how to the use the server correctly but LSP shouldn't try to reload in this case.
Example output