Skip to content

list variables in sorted order to make navigation easier #798

Closed

Description

@dscherger-stripe

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.

image

Activity

  1. ko1 commented on Nov 11, 2022

    @ko1
    Collaborator

    I see. simple sort works?

  2. wenderjean commented on Nov 13, 2022

    @wenderjean

    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.

  3. ko1 commented on Nov 14, 2022

    @ko1
    Collaborator

    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.

  4. wenderjean commented on Nov 14, 2022

    @wenderjean

    @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.

  5. added a commit that references this issue on Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions