Allow custom .ctags file to be specified in settings
Opened this issue · 2 comments
I have some extra ctags settings I use currently by modifying ~/.atom/packages/symbols-tree-view
. Whenever the package is updated, my changes are overwritten. I'd prefer to specify a separate .ctags file in settings that I could maintain outside the package structure, preventing the loss of changes during updates.
Could you tell more about your extra settings? Could they be simply included in the provided ctags file?
And I'm not sure, but this looks close to the issue there nicolashainaux#13 (-> could this be a solution to your issue?)
I work with Salesforce.com's Apex language, which is close enough to Java that using ctags' Java settings gives acceptable results in symbols tree view. The source files are .cls
files instead of .class
, so ctags doesn't recognize it by default. Currently I add one line to ~/.atom/packages/symbols-tree-view/.ctags
to treat .cls
files as Java:
--langmap=Java:.cls
I believe this could be added as an arg to ctags, so the linked issue might be sufficient. Eventually I'd like to build better Apex support using --langdef
and a set of Regexes, at which point an accessible .ctags
file might be easier due to volume, but the option to add command line args is a good solution for now.