-
Notifications
You must be signed in to change notification settings - Fork 232
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
Long strings easily saturate the variable view #96
Comments
"type" really means "safe". It returns the repr for some safe types. Set the stringifier to the function You can disable wrapping on a variable with the |
@asmeurer @inducer I tried to do that by hitting Is there another place I should touch to set the stringifier? |
You'd have to write your own custom stringifier (see the prefs dialog) that calls "type". Irrespective of that, it seems to me that disabling line wrapping should resolve the issue you describe. Reopen if you disagree. |
I agree, it does solve the issue. Thanks. |
Maybe it would be useful to make it easier to write one-liner stringifiers without having to make a file. Also, it seems to me that "type" is confusing. It should maybe be renamed to "safe" or something like that. |
Agreed. Let's keep this bug to track these two. |
I am using the "type" stringifier, but it apparently still returns the full string representation for
str
instances. As a result, any long string easily saturates the variable view, such that you can see nothing but a small chunk of the string, let alone any other variables.The text was updated successfully, but these errors were encountered: