SublimeText / CTags

CTags support for Sublime Text
MIT License
987 stars 167 forks source link

Fix show_symbols for relative sub directories #346

Closed deathaxe closed 9 months ago

deathaxe commented 1 year ago

This PR updates show_symbols command in order to...

  1. convert path of source file relative to its .tags file to unix format by replacing \\ by /. That's required as paths use the former on Windows, while path in .tags file are always given in unix format.

  2. creates a common cache key __all__ for running command with type=multi, instead of using active view's relative path. This enables multiple views to share the same cache object for "all symbols".