ctags rules
Moderator: InsideQC Admins
2 posts
• Page 1 of 1
ctags rules
Hi. Anybody using ctags here? In combination with vim, emacs and perhaps some other editors it provides easy way to move around in bigger code via cross-referencing.
It doesn't support quakec, but fortunatelly, it can be expanded easily. Put this in ~/.ctags
This is how it looks in vim with vimtags plugin: ctags in action
It doesn't support quakec, but fortunatelly, it can be expanded easily. Put this in ~/.ctags
- Code: Select all
--langdef=quakec
--langmap=quakec:.qc
--regex-quakec=/^[ \t]*(void|float|vector|string|entity)[ \t]*\([^(]*\)[ \t]*([a-zA-Z0-9_]+)[ \t]*\=/\2/f,functions/
This is how it looks in vim with vimtags plugin: ctags in action
-

siska.robert - Posts: 58
- Joined: Wed Feb 17, 2010 7:51 pm
- Location: Czech Republic
Cool! Using emacs or vi to code quakec! But it's not too dark the layout? I'm asking myself if it's not eye-breaking to work on a dark layout
- toneddu2000
- Posts: 1352
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests