Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort local/static/global/sbvalue variables by name #1114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nobodywasishere
Copy link

Fixes #688

image

@nobodywasishere
Copy link
Author

It currently also sorts the registers, which isn't ideal. Can't figure out a way to sort everything but these - not very familiar with rust or this codebase.

image

@cmrschwarz
Copy link

The current sorting order reflects the order in which variables were declared. This is true for structs aswell as function scopes. I personally find that behavior much more convenient, as there is symmetry between the code and the variables window. It also means that when stepping forward the order doesn't change at all and new variables will be added at the bottom, where you don't have to 'search' for them at all. If you decide to change this, please make it configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support alphabetical sorting of variables
2 participants