#sourcekitlsp — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #sourcekitlsp, aggregated by home.social.
-
Okay, wait, nope nope, going back and checking using a generated compile_commands.json from CMake left untouched in the build folder the same way as the Ninja file maybe does work, too?
Clearly I was doing something else wrong!
Didn't want to leave CMake improperly maligned!
My grasp on this clang convention is weak (can't seem to write a working one by hand, don't know why the ninja and CMake ones look so different) but it's getting better!
-
Okay, wait, nope nope, going back and checking using a generated compile_commands.json from CMake left untouched in the build folder the same way as the Ninja file maybe does work, too?
Clearly I was doing something else wrong!
Didn't want to leave CMake improperly maligned!
My grasp on this clang convention is weak (can't seem to write a working one by hand, don't know why the ninja and CMake ones look so different) but it's getting better!
-
I don't know who will ever need this information, but as of 2024 Dec, if you need to generate a compile_commands.json for a non-swiftpm Swift project to talk to sourcekit-lsp, use Ninja's generator not CMake's
[NOTE: CMake's DOES work. See follow up reply]
ReadMe will improve over the next few days (weeks) BUT IT WORKS!
https://github.com/carlynorama/swift-cmake
If anyone has thoughts on WHY it works better, please tell me!
-
I don't know who will ever need this information, but as of 2024 Dec, if you need to generate a compile_commands.json for a non-swiftpm Swift project to talk to sourcekit-lsp, use Ninja's generator not CMake's
[NOTE: CMake's DOES work. See follow up reply]
ReadMe will improve over the next few days (weeks) BUT IT WORKS!
https://github.com/carlynorama/swift-cmake
If anyone has thoughts on WHY it works better, please tell me!
-
In my ongoing quest to find a suitable replacement for #AppCode, I'm now experimenting with #DoomEmacs and #SourceKitLSP. I've got #LSP working but I'm struggling with key remapping.
-
In my ongoing quest to find a suitable replacement for #AppCode, I'm now experimenting with #DoomEmacs and #SourceKitLSP. I've got #LSP working but I'm struggling with key remapping.