←back to thread

392 points mfiguiere | 5 comments | | HN request time: 0.626s | source
1. rockwotj ◴[] No.35475432[source]
Does anyone know how IDE support for Buck2 is? I couldn't find anything except some xcode config rules. Half the battle with Bazel/Buck/etc is that getting and IDE or LSP to work for C++/Java/Kotlin/Swift/etc is always a pain because those tools don't really work out of the box.
replies(2): >>35476468 #>>35487294 #
2. habitue ◴[] No.35476468[source]
probably use a starlark plugin?
replies(1): >>35477063 #
3. piperswe ◴[] No.35477063[source]
How does that help with developing C in a Buck project?
4. sebastos ◴[] No.35487294[source]
The vscode bazel plugin is basically completely abandoned. There's an issue that has been open for 3 years asking to add intellisense support for C++. Seems completely ludicrous to put in the massive effort it took to build Bazel and then fumble at the goal line by not supporting vscode.
replies(1): >>35492589 #
5. rockwotj ◴[] No.35492589[source]
I think the recommendation for c/c++ in Bazel is to use this: https://github.com/hedronvision/bazel-compile-commands-extra...

And use the compile command json file to power clangd. I'm not a vscode person but I would hope the vscode c++ plugin would support that