koko1000ban / SublimeGtags

GNU GLOBAL(gtags) support for Sublime Text 2/3
21 stars 19 forks source link

Show symbols for currently open files only #15

Open ibensw opened 9 years ago

ibensw commented 9 years ago

Show symbols for open files only

When working in large codebases (GTAGS > 500 MB) it can take a while (5+ seconds) to show all symbols. When working on a single feature it might be useful to only show the symbols that are defined in the files that are currently open. Global has support to show the symbols for a subset of files (-f flag). I created a new command that uses this option (GtagsShowOpenFilesSymbols). Feel free to comment or improve.