symbols-tree-view
symbols-tree-view copied to clipboard
Some options
Hello,
In order to adapt symbols-tree-view to fit my needs, after I forked it, I added three small yet practical options:
- one to choose to have all collapsable entries collapsed by default
- one to choose whether icons are displayed or not
- one to let the user choose an alternative binary for ctags creation (what could be a workaround for issues https://github.com/xndcn/symbols-tree-view/issues/117 and https://github.com/xndcn/symbols-tree-view/issues/114)
I don't trust myself sending a pull request though because:
- I am not an experienced coffee scripter, maybe this could be written in a better way?
- there are already several pending PR waiting, so?
Unlike in the screen shot below, the default values match the default behaviour of symbols-tree-view.
Also I have started to add an option to colorize the entries, matching the syntax theme but as this is quite dirty and partial (even if it works perfectly for my python files), it's only in the dedicated "colors" branch now.
Can you let me know whether it's worth sending a PR? Thanks!
Also added a fix for the recent deprecations (not 100 % sure it is correct, but it works and there are no deprecations warnings any more). Branch 'deprecations_fix' (and ported to 'colors' branch too)