Perl tags generator for VIM
ptags.pl path tags_file [--exclude pattern] [--lang] (where lang is --C, --Java, --Python, --JS, --Perl, --Ruby, --Kotlin, --Go, --CS, --Swift, --PHP)
tagname<tab>file<tab>/pattern/
:set tags=tags_file # set the tags file
:set tags+=tags_file # append to list of existing tags
This requires adding a check for the filetype, removing comments, stripping out string literals. Most importantly, it should filter out the language's keywords.
The identifier split should be the same (I believe) and the unique symbol check and sort should be the same. However, its better to output to different tag files symbols of different languages.
(jump to tag) if more than one match, type in number for selecting from multiple matches
return back to previous tag
go back to tag match Can also give number like :5tag
Roger Doss
opensource [at] rdoss [dot] com