[cfe-dev] [clangd-dev] Question about: How to configure coretly the VSC and launch.json for clang?

Sam McCall via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 8 09:27:42 PDT 2019


If i understand right, you're asking about using VSCode to build your
project using clang and possibly run it.

I'm not a vscode user myself so i can't really advise. However you should
know that clangd is not the same as clang: it's for editing (code
completion, diagnostics, go-to-definition etc) but doesn't build/run.
That's why the questions/addons you linked don't seem relevant, they're for
clangd rather than clang.

Sorry if this is confusing.

To build/run, you may want a plug-in that integrates with your build system
(cmake etc) rather than clang itself.

On Sat, Apr 6, 2019, 16:06 Eric Liu via clangd-dev <
clangd-dev at lists.llvm.org> wrote:

> +via clangd-dev <clangd-dev at lists.llvm.org>
>
> On Sat, Apr 6, 2019 at 4:03 PM via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>
>> Hello,
>>
>>
>>
>> I put post on
>> https://stackoverflow.com/questions/55543841/how-to-configure-coretly-the-vsc-and-launch-json-for-clang
>>
>> How to configure correctly the VSC and launch.json for clang?
>>
>> There is other post that not solving problem
>>
>>
>> https://stackoverflow.com/questions/51885784/how-to-setup-vs-code-for-c-with-clangd-support
>>
>>
>> https://stackoverflow.com/questions/51402740/visual-studio-code-clangd-extension-configuration
>>
>>
>>
>> https://github.com/llvm-vs-code-extensions/vscode-clangd - there is info
>> about as DEPRECATED, so I’m not sure
>>
>> https://github.com/llvm-mirror/clang-tools-extra - which is actual
>>
>>
>>
>> Due the unclear situation
>>
>>
>>
>> The extension is published under llvm-vs-code-extensions account, which
>> is currently maintained by clangd developers. If you want to make a new
>> release, please contact cfe-dev at lists.llvm.org.
>>
>>
>>
>> Regards
>>
>> Robert
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
> _______________________________________________
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190408/caf4f5cf/attachment.html>


More information about the cfe-dev mailing list