public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ray" <ray.ni@intel.com>
To: Tomas Pilar <tpilar@solarflare.com>, Devel EDK2 <devel@edk2.groups.io>
Subject: Re: [edk2-devel] Anyone successfully enabled clangd in edk2 code?
Date: Wed, 25 Dec 2019 01:39:26 +0000	[thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C3AAA0A@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <dae1fc84b7fa4f708c03701a156ea44c@ukex01.SolarFlarecom.com>

[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]

Can you please share the clang-format configuration file?

From: Tomas Pilar <tpilar@solarflare.com>
Sent: Tuesday, December 24, 2019 8:37 PM
To: Devel EDK2 <devel@edk2.groups.io>; Ni, Ray <ray.ni@intel.com>
Subject: RE: [edk2-devel] Anyone successfully enabled clangd in edk2 code?

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@edk2.groups.io<mailto:devel@edk2.groups.io>>; 'ray.ni@intel.com' <ray.ni@intel.com<mailto:ray.ni@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@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Ni, Ray
Sent: 24 December 2019 08:14
To: Devel EDK2 <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; Ni, Ray <ray.ni@intel.com<mailto:ray.ni@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@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Ni, Ray
Sent: Tuesday, December 24, 2019 4:14 PM
To: devel@edk2.groups.io<mailto:devel@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


[-- Attachment #2: Type: text/html, Size: 7118 bytes --]

  reply	other threads:[~2019-12-25  1:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <15E34088D3BE24A2.19430@groups.io>
2019-12-24  8:14 ` Anyone successfully enabled clangd in edk2 code? Ni, Ray
2019-12-24 12:35   ` [edk2-devel] " Tomas Pilar (tpilar)
2019-12-24 12:36     ` Tomas Pilar (tpilar)
2019-12-25  1:39       ` Ni, Ray [this message]
2020-01-07  4:54         ` Sean
2020-01-07 10:34           ` Tomas Pilar (tpilar)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=734D49CCEBEEF84792F5B80ED585239D5C3AAA0A@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox