-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update uctags.vim #885
Update uctags.vim #885
Conversation
\ {'short' : 'E', 'long' : 'enumerators', 'fold' : 0, 'stl' : 0}, | ||
\ {'short' : 'A', 'long' : 'assertions', 'fold' : 0, 'stl' : 0}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems to be non-standard. I just pulled and recompiled the latest universal ctags and the enumerators
kind is still a lower case e
, and the assertions
kind is not listed. Is this a custom definition you have somewhere? Or is it tied to a new change that is not yet merged into the latest stable universal ctags?
host ~$ ctags --version
Universal Ctags 6.1.0(eb42eec1b), Copyright (C) 2015-2023 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Jul 23 2024, 08:36:30
URL: https://ctags.io/
Output version: 0.0
Optional compiled features: +wildcards, +regex, +gnulib_regex, +iconv, +option-directory, +xpath, +packcc, +optscript, +pcre2
host ~$ ctags --list-kinds=vera
c classes
d macro definitions
e enumerators (values inside an enumeration)
f function definitions
g enumeration names
i interfaces
l local variables [off]
m class, struct, and union members
p programs
P function prototypes [off]
s signals
t tasks
T typedefs
v variable definitions
x external variable declarations [off]
h included header files
D cpp macro parameters [off]
host ~$
autoload/tagbar/types/uctags.vim
Outdated
\ {'short' : 'c', 'long' : 'constants', 'fold' : 0, 'stl' : 0}, | ||
\ {'short' : 'O', 'long' : 'constraints', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'Q', 'long' : 'prototypes', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'C', 'long' : 'classess', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'e', 'long' : 'events', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'E', 'long' : 'enumerators', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'f', 'long' : 'functions', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'm', 'long' : 'modules', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'P', 'long' : 'packages', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'b', 'long' : 'blocks', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'n', 'long' : 'net data types', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'R', 'long' : 'properties', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'S', 'long' : 'tructs', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'T', 'long' : 'typedefs', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'L', 'long' : 'clocking', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'V', 'long' : 'covergroup', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'b', 'long' : 'blocks', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'd', 'long' : 'defines', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'P', 'long' : 'programs', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'p', 'long' : 'ports', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 'r', 'long' : 'register data types', 'fold' : 0, 'stl' : 1}, | ||
\ {'short' : 't', 'long' : 'tasks', 'fold' : 0, 'stl' : 1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look fully complete, and the blocks
kind is listed twice.
From the latest universal ctags, we have the following. Do we specifically want to exclude the missing ones? That is ok if we do, I just want to confirm as I'm not familiar to working with systemverilog or verilog:
host ~$ ctags --list-kinds=systemverilog | sort
A assertions (assert, assume, cover, restrict)
b blocks (begin, fork)
C classes
c constants (parameter, specparam, enum values)
d text macros
E enumerators
e events
f functions
H checkers
i instances of module or interface
I interfaces
K packages
L clocking
l interface class
M modports
m modules
n net data types
N nettype declarations
O constraints
p ports
P programs
Q prototypes (extern, pure) [off]
q sequences
R properties
r variable data types
S structs and unions
t tasks
T type declarations
V covergroups
w struct and union members
’q sequences;n net data types;N nettype declarations;H checkers;P programs ‘almost out of use |
ctags --list-kinds-full=SystemVerilog |
I have deleted it. |
add for systemverilog