DVT IDE for VS Code VHDL User Guide
Rev. 24.1.5, 13 March 2024

24.3 Content Filters Examples

  • Hide the Types and Problems from a library

<filter kind="HIDE" name="Base classes">
    <description>Hide the Types, Tasks and Problems from /path/to/my_base_classes</description>
    <view-set match="TRUE">
        <view name="TYPES" />
        <view name="PROBLEMS" />
    </view-set>
    <path-set match="TRUE">
        <path pattern="/path/to/my_base_classes/*" />
    </path-set>
</filter>

  • Hide the Problems from a library

<filter kind="HIDE" name="My library">
    <description>Hide the Problems from files included by my_library_top.svh</description>
    <view-set match="TRUE">
        <view name="PROBLEMS" />
    </view-set>
    <path-set match="TRUE">
        <path include-children="TRUE" pattern="*/my_library_top.svh" />
    </path-set>
</filter>

  • Hide from Outline View the functions and fields introduced by specific macros

<filter kind="HIDE" name="Noisy macros">
    <description>Hide from Outline View the functions and fields introduced by macros defined in files under $MY_MACROS_LIBRARY</description>
    <view-set match="TRUE">
        <view name="OUTLINE" />
    </view-set>
    <path-set apply-to-macro-call-stack="TRUE" match="TRUE">
        <path pattern="$MY_MACROS_LIBRARY/*" />
    </path-set>
    <element-type-set match="TRUE">
        <element-type name="FUNCTION"/>
        <element-type name="FIELD"/>
    </element-type-set>
</filter>