Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see and navigate through functions list in rails, using vscode?

I have visual studio code.

How do I see and navigate through the functions list in rails?

I don't see any methods in the "outline view". Also, when I use ctrl + shift + o, I get the following message: "the active text editor does not provide symbol information".

Is there an extension that need to be installed? Or is it something in settings?

like image 410
Noam B. Avatar asked Oct 16 '22 02:10

Noam B.


1 Answers

See discussion thread about possible options here: https://github.com/rubyide/vscode-ruby/issues/40

At the time of writing, I think the best option is to add the ruby-symbols extension here: https://github.com/MiguelSavignano/vscode-ruby-symbols

ruby-symbols-extension

Note also that for Windows, it's Ctrl + Shift + O.

And for Macs, it's Cmd + Shift + O.

like image 184
stwr667 Avatar answered Oct 21 '22 09:10

stwr667