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

Support for HideRawView on Expand node #1458

Open
ookami125 opened this issue Jun 26, 2024 · 0 comments
Open

Support for HideRawView on Expand node #1458

ookami125 opened this issue Jun 26, 2024 · 0 comments

Comments

@ookami125
Copy link

I'm currently building a compiler and it would be nice to hide the raw views so I can hide the duplicate info. This is supported on Visual Studio, so this is a request for feature parity.

My current natvis looks similar to this which makes all DataTypes produce 2 RawViews for every single variable.

<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
    <Type Name="DataType">
        <DisplayString>{{{type}}}</DisplayString>
        <Expand HideRawView="1">
            <ExpandedItem Condition="type == DataType::INT">(DataTypeInt*)this,nd</ExpandedItem>
        </Expand>
    </Type>
    <Type Name="DataTypeInt">
        <Expand HideRawView="1">
            <Item Name="type">type</Item>
            <Item Name="castable">castable</Item>
            <Item Name="constant">constant</Item>
            <Item Name="Width">Width</Item>
            <Item Name="Signedness">Signedness</Item>
        </Expand>
    </Type>
</AutoVisualizer>
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

No branches or pull requests

1 participant