You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list variables in sorted order to make navigation easier #798
Your proposal
When debugging ruby in vscode the variables are displayed in seemingly random order which makes it difficult to locate a specific variable when the list is long. It would be helpful and hopefully easy to display this list in sorted order.
Additional context
Add any other context or screenshots about the feature request here.
It seems we're not able to search variables in VSCode like we usually do in the console with info c /my_variable/ even though I think the sort feature might be useful for the info command in general, I mean, not only for the VSCode addon.
It seems we're not able to search variables in VSCode like we usually do in the console with info c /my_variable/
Yes. I'm thinking to support debug command on the debug console. This is different idea so I'll make new issue or PR.
BTW I think it is better that the debug console should support only Ruby REPL (not accept debug commands) because VSCode (or IDE) has GUI buttons for step/next/.... and i should show the variable i (not info command).
So I'm thinking to support escape character such as # and #i c /pat/ runs i c /pat/ command. Current problem is which character is better for the escaping.
Activity
ko1 commentedon Nov 11, 2022
I see. simple
sortworks?wenderjean commentedon Nov 13, 2022
It seems we're not able to search variables in VSCode like we usually do in the console with
info c /my_variable/even though I think the sort feature might be useful for theinfocommand in general, I mean, not only for the VSCode addon.ko1 commentedon Nov 14, 2022
Yes. I'm thinking to support debug command on the debug console. This is different idea so I'll make new issue or PR.
BTW I think it is better that the debug console should support only Ruby REPL (not accept debug commands) because VSCode (or IDE) has GUI buttons for step/next/.... and
ishould show the variablei(notinfocommand).So I'm thinking to support escape character such as
#and#i c /pat/runsi c /pat/command. Current problem is which character is better for the escaping.wenderjean commentedon Nov 14, 2022
@ko1 Do you think the simple sort is useful? It sounds to me like a good first issue. I'd like to give it a try.
DAP: sort by instance variable names
DAP: sort by instance variable names
DAP: sort by instance variable names