[Issue 19352] New: mago: Remove expander for strings in Visual D
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 3 08:25:56 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19352
Issue ID: 19352
Summary: mago: Remove expander for strings in Visual D
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: visuald
Assignee: nobody at puremagic.com
Reporter: r.sagitario at gmx.de
from https://forum.dlang.org/thread/bjlzrthffvkynzhbjfqm@forum.dlang.org:
Strings have an expander and are treated like arrays but they don't have to be.
The string is already shown in the value and there is the text viewer for them.
The expander just gets in the way.
The problem is that sometimes one might click on the expander and it expands
far too much. It most cases it is not needed.
Maybe you could make it an option(have an options page for things like this
that tweak things for personal taste) that you can add over time that doesn't
get in the way of normal functionality.
VS has a memory window for looking at arrays in a more meaningful way which is
nearly just as easy to use.
Since 95%+ of the time one doesn't need to look at the character data of a
string(since it's a string and not a byte array), the expenders are not needed.
In most of the other cases the memory window could be used. If anyone is needed
such behavior consistently then it can be enabled(or disabled, I don't care
about default behavior as long as I can override it).
The goal is to make the debugging experience easy nice as possible so it is not
so frustrating. Everyone is different and has different needs.
--
More information about the Digitalmars-d-bugs
mailing list