5 ms·
I so badly want to use ST, but I need a sidebar with a function list like several editors & IDE can generate (yeah, I know fuzzy search, no, it's not what I nee
by ozh 13y ago
I so badly want to use ST, but I need a sidebar with a function list like several editors & IDE can generate (yeah, I know fuzzy search, no, it's not what I need).
Seriously, if anyone with enough python-foo wants to code this, I'm sending cash their way.
- epsylon 13y agoWhich language are you using? Text editors like ST usually rely on third party tools like ctags to do the indexing (which is the hard part).
- roryokane 13y agoIn fact, there seems to already be a Sublime Text plugin that uses ctags to offer a function list: https://github.com/SublimeText/CTags https://github.com/SublimeText/CTags. It apparently shows the tags in the file tree instead of in a separate pane, which some people may not prefer. But it sounds like basically what ozh wants.
- ozh 13y agoFiles are correctly parsed, .tag files are correctly generated, but for the life of me I cannot display anything anywhere. Edit: although the "navigate to definition" feature is quite neat
- rmccue 13y agoSublimeCodeIntel (mostly) works: https://github.com/SublimeCodeIntel/SublimeCodeIntel https://github.com/SublimeCodeIntel/SublimeCodeIntel I use it every day, and the only real issue for me is that occasionally the built-in suggestions override CodeIntel's, which is kind of annoying.
- ozh 13y agoThat's not what I need. I'm used to having a list of all functions / declaration in the current file, always visible, and I just can't live without it.
- Denzel 13y agoCould you provide a link to a screenshot/example of what you're talking about. I understand the gist of what you're describing; I believe I've been looking for the same thing.
- roryokane 13y agoThe Vim plugin Tagbar matches ozh’s description. The Tagbar site has some screenshots: http://majutsushi.github.io/tagbar/ http://majutsushi.github.io/tagbar/. An equivalent plugin would be harder to implement in Sublime Text, because Vim has identification of “tags” (function/class names) built-in, and the Tagbar plugin just displays them. I don’t think Sublime Text’s syntax highlighting rules do any equivalent thing. So a Tagbar-like plugin might need to parse the code itself to identify tags.
- ozh 13y agoI'm used to something like this: http://i.imgur.com/gAQhd.png http://i.imgur.com/gAQhd.png and I have a very hard time not using it (function list on the right). When hovering a function you also get a hint on parameters.
- mixmastamyk 13y agoCan be moved to the right: http://www.geany.org/uploads/Gallery/geany_vte.png http://www.geany.org/uploads/Gallery/geany_vte.png
- m_mueller 13y agoFor functions there's cmd-R. Declarations I'm not sure though, I think this would need a language specific plugin. One thing though, cmd-R doesn't work very well with closures, it gets a bit messy - the good thing is that you can just start typing words you know from the function's name and it will list anything relevant.