Vscode-ruby: Outline view support

Created on 17 Jul 2018  路  12Comments  路  Source: rubyide/vscode-ruby

The Outline View is now out of preview and in mainstream VSCode

Is this extension where support for that would go? Is this on the roadmap? It would be a super useful feature for me.

Thanks!

Most helpful comment

I believe this will be supported once we're reporting full document symbols back. Once I work through the tree-sitter stuff and can merge #366 then the next step on my plan is to work the linters and symbol support (which enables stuff like this and go to definition).

All 12 comments

I believe this will be supported once we're reporting full document symbols back. Once I work through the tree-sitter stuff and can merge #366 then the next step on my plan is to work the linters and symbol support (which enables stuff like this and go to definition).

@coffenbacher @wingrunr21 I'm seeing that #366 is merged and it appears that the outline view does work for ruby files! I'm not seeing it work for rspec files though, which would be super helpful to me. What are your thoughts?

405 adds outline view not #366

For some files, I see outline content for half of the file...

Outlline view hasn't shipped yet so not sure how that's happening

Scratch that, I do see it all. I just needed to adjust the sorting to realize I saw everything. Using 0.21.1 on vscode 1.31.1. This is the only Ruby extension I have installed.

I seem to remember it started showing up after installing all of the extras mentioned in the readme (rubocop, rcodetools, debug support, etc).

It must be one of the older integrations providing legacy symbols for the outline view. Would you mind posting a screenshot? I don't have that in my VSCode installs and I don't want the outline view support in #405 to potentially regress.

405 has been merged which will bring outline view support (although maybe not a new feature?)

Sorry for the slowness. Apparently I got the release. Now I have two trees, one more detailed than the other.

ruby symbols

Are you using rubyLocate?

Yes. My configuration is rcodetools for code completion, rubyLocate for intellisense, no bundler, language server enabled. And I installed just about every package mentioned in the readme. :)

Probably a bit late disclaimer: I'm not normally a Ruby developer, but I just inherited a couple of Ruby projects at my employer. So I only recently set up vscode and my local machine for this.

Ok great. One of those tools must be sending over the data for VSCode to populate the outline view. I鈥檒l take a look.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mmarinaccio picture mmarinaccio  路  3Comments

resistorsoftware picture resistorsoftware  路  3Comments

epk picture epk  路  5Comments

Snake-Sanders picture Snake-Sanders  路  4Comments

SerkanOruc picture SerkanOruc  路  5Comments