* [RFC] CTAGS prototypes
@ 2023-10-20 10:46 Philip Richard Oberfichtner
2023-10-20 17:50 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Philip Richard Oberfichtner @ 2023-10-20 10:46 UTC (permalink / raw)
To: u-boot; +Cc: Philip Richard Oberfichtner
Hi,
is there a specific reason why the ctags make target is compiled without
using '--kinds-c=+p'? Maybe it would make sense to (optionally) include
that in the Makefile?
I personally find it useful to jump to the header where a function is
declared to view the documentary comment. Or am I missing another option
to quickly get there?
Regards,
Philip
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-22 Fax: +49-8142-66989-80 Email: pro@denx.de
=====================================================================
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e0040a40d3..7f108330a5 100644
--- a/Makefile
+++ b/Makefile
@@ -2085,7 +2085,7 @@ FIND := find
FINDFLAGS := -L
tags ctags:
- ctags -w -o ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
+ ctags -w -o ctags --kinds-c=+p `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
-name '*.[chS]' -print`
ln -s ctags tags
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC] CTAGS prototypes
2023-10-20 10:46 [RFC] CTAGS prototypes Philip Richard Oberfichtner
@ 2023-10-20 17:50 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2023-10-20 17:50 UTC (permalink / raw)
To: Philip Richard Oberfichtner; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
On Fri, Oct 20, 2023 at 12:46:07PM +0200, Philip Richard Oberfichtner wrote:
> Hi,
>
> is there a specific reason why the ctags make target is compiled without
> using '--kinds-c=+p'? Maybe it would make sense to (optionally) include
> that in the Makefile?
>
> I personally find it useful to jump to the header where a function is
> declared to view the documentary comment. Or am I missing another option
> to quickly get there?
To answer the first half of this, it's whatever the last person to use
ctags related things was. Perhaps looking at and syncing that part of
the kernel tree would be helpful?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-20 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 10:46 [RFC] CTAGS prototypes Philip Richard Oberfichtner
2023-10-20 17:50 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox