[edk2-devel] Anyone successfully enabled clangd in edk2 code?

Tomas Pilar (tpilar) tpilar at solarflare.com
Tue Dec 24 12:36:45 UTC 2019


Oh but I am using clang-format to get vscode to format things according to proper code style.

From: Tomas Pilar
Sent: 24 December 2019 12:36
To: Devel EDK2 <devel at edk2.groups.io>; 'ray.ni at intel.com' <ray.ni at intel.com>
Subject: RE: [edk2-devel] Anyone successfully enabled clangd in edk2 code?

I don't know about clangd but I am successfully using the vscode intellisense with EDKII including the multiple workspaces.

It took some time to configure things with paths and includes to make it work correctly but the only problem I have at the moment is to get it to use the correct AutoGen.h based on the module that's being used.

From: devel at edk2.groups.io<mailto:devel at edk2.groups.io> <devel at edk2.groups.io<mailto:devel at edk2.groups.io>> On Behalf Of Ni, Ray
Sent: 24 December 2019 08:14
To: Devel EDK2 <devel at edk2.groups.io<mailto:devel at edk2.groups.io>>; Ni, Ray <ray.ni at intel.com<mailto:ray.ni at intel.com>>
Subject: Re: [edk2-devel] Anyone successfully enabled clangd in edk2 code?

https://clang.llvm.org/extra/clangd/<https://urldefense.proofpoint.com/v2/url?u=https-3A__clang.llvm.org_extra_clangd_&d=DwMFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=SzAVyxtJHZm7PriTfxFyvkqqZ_OgUqnNtgjrlf7jVU4&m=hnezvCcoVJIKY_yJZu5tuv8S8Tit-sBbRAwCHamwdmk&s=TnaXlQG1xx6x6HWjkVx-915p4vBuyjSBIrGN6AG6CIg&e=>

From: devel at edk2.groups.io<mailto:devel at edk2.groups.io> <devel at edk2.groups.io<mailto:devel at edk2.groups.io>> On Behalf Of Ni, Ray
Sent: Tuesday, December 24, 2019 4:14 PM
To: devel at edk2.groups.io<mailto:devel at edk2.groups.io>
Subject: [edk2-devel] Anyone successfully enabled clangd in edk2 code?

All,
I am interested in using clangd to support symbolic navigation in Visual Studio Code.
But since EDKII doesn't have a master makefile, I am not sure how to enable clangd.
Anyone tried that recently?

Thanks,
Ray


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52549): https://edk2.groups.io/g/devel/message/52549
Mute This Topic: https://groups.io/mt/69246459/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20191224/d824949e/attachment.htm>


More information about the edk2-devel-archive mailing list