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

Deactivate by default Exclude all upper-case variables option in Variable Explorer #16402

Closed
texadactyl opened this issue Sep 11, 2021 · 3 comments

Comments

@texadactyl
Copy link

texadactyl commented Sep 11, 2021

spyder_version

Program source:

C = 3e8 # m/s
CSQ = C * C
csq = C * C
D = C + 1
DSQ = D * D
dsq = D * D
E = D + 1

This is what I see in the Variable Explorer:
ve

Why are some of the variables whose names are spelled in all caps not displayed?

@ccordoba12
Copy link
Member

Hey @texadactyl, thanks for reporting. You need to deactivate the option called Exclude all upper-case variables in the Options menu of the Variable Explorer:

imagen

I think having that option activated by default is counterintuitive and it usually surprises people the wrong way (like in this case). @texadactyl, what do you think? Should we deactivate it?

@texadactyl
Copy link
Author

Thanks, @ccordoba12
That really was a surprise. Works fine now.
Yes, I think that it should be deactivated by default for the reason you said - counterintuitive.

@ccordoba12
Copy link
Member

Yes, I think that it should be deactivated by default for the reason you said - counterintuitive.

Ok, we'll fix that in our next version (5.2.0), to be released next month.

@ccordoba12 ccordoba12 changed the title Variable Explorer does not show all variables Deactivate by default Exclude all upper-case variables option in Variable Explorer Sep 11, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.2.0, v5.2.1, v5.2.2 Nov 23, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.2.2, v5.3.0 Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants