Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sort symbols pane by location #809

@mcclurgm

Description

@mcclurgm

Prerequisites

  • I have searched open and closed issues for duplicates.

Feature

The symbols pane is very useful, but I find it difficult to use because it sorts the symbols alphabetically. In other code editors (like Builder and Visual Studio), the symbols outline is sorted by where it appears in the code, or there's an option to do so. So functions that appear at the top of the file appear at the top of the outline, and so on. I think of my code spatially, so this is much more natural to me than alphabetically hunting down the function I'm looking for.

Here's what it looks like in Visual Studio Code. I've included the file with functions collapsed, so you can see how the outline maps functions to their locations in code exactly.
Screenshot from 2020-05-04 10 28 41

I don't expect this to be the only option, so it would probably require a switching interface of some sort. Again, here's what Visual Studio Code does:
Screenshot from 2020-05-04 10-21-48_modified

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DesignNeeds the UX team to specify or implement a solution. May need new icons or css for exampleStatus: IncompleteNeeds more information before we can take action

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions