简体   繁体   English

如何在 VSCode 终端中隐藏特定的字符串 Output?

[英]How to hide specific String Output in VSCode Terminal?

I am getting spammed with these 2 lines我收到这两条线的垃圾邮件

V/AudioManager(10244): getStreamMaxVolume  treamType: 3
V/AudioManager(10244): getStreamVolume  streamType: 3 volume: 3

in my Terminal and I would like to hide these 2 messages because it makes reading my own outputs nearly impossible.在我的终端中,我想隐藏这两条消息,因为它几乎不可能读取我自己的输出。 This is the launch.json for flutter:这是发布。flutter 的 json:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "habit_app_new",
            "request": "launch",
            "type": "dart"
        }
    ]
}

Is there some kind of "filter" option in VSCode? VSCode 中是否有某种“过滤器”选项?

I have not used dart or flutter, but this answer for flutter seems spot on.我没有使用过 dart 或 flutter,但 flutter 的这个答案似乎是正确的。

I think it should work for you.我认为它应该对你有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM