Closed fommil closed 9 years ago
Try this:
(speedbar-add-supported-extension "\\.scala")
(add-to-list 'speedbar-fetch-etags-parse-list
'("\\.scala" . speedbar-parse-c-or-c++tag))
I just get a list of scala files when I call up the speedbar. I don't use ctags
or etags
in scala because ENSIME is doing a lot of the smarter stuff.
I turned on ctags when I save my scala files and the speedbar still just shows the filenames, not the contents within.
hmm... for me it worked without any ctags/etags things. Must look later how it works for me.
Hi. While hacking on scala-mode and popup.el, I'v put scala file summary into a popup menu. Please, take a look at https://github.com/ancane/scala-outline-popup.
@ancane I could mention that under some section in the README.md of scala-mode2
@hvesalai Thank you. It would be great!
This can be closed now.
@IvanMalison I'm actually confused by the recent PR... has the scala-outline-popup now been merged into scala-mode2 or is it a separate functionality? How can I try out the new feature?
It's not using scala-outline-popup. The functionality was implemeted using imenu which can be accessed with M-x imenu. This should open a completing read of the available symbols in the completion system that you use. With helm it will look something like this
I'm not sure if this is best implemented in ENSIME or
scala-mode2
: https://github.com/ensime/ensime-server/issues/471It may well be done with regexes instead of having to understand the AST.
What do you think?