home.social

#sourcekitlsp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sourcekitlsp, aggregated by home.social.

fetched live
  1. 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!

    #swiftlang, #sourcekitlsp, #cmake, #ninja

  2. 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!

    #swiftlang, #sourcekitlsp, #cmake, #ninja

  3. 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!

    github.com/carlynorama/swift-c

    If anyone has thoughts on WHY it works better, please tell me!

    #swiftlang, #sourcekitlsp, #cmake, #ninja

  4. 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!

    github.com/carlynorama/swift-c

    If anyone has thoughts on WHY it works better, please tell me!

    #swiftlang, #sourcekitlsp, #cmake, #ninja

  5. 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.

  6. 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.