How to search the debug console in vscode?

后端 未结 2 1974
星月不相逢
星月不相逢 2021-02-05 07:20

This is currently a feature request, so I know the answer isn\'t straight forward, but I assume some clever people found clever workarounds for this.

One way is to copy/

2条回答
  •  醉梦人生
    2021-02-05 07:41

    Looks like this answer is now outdated, see the accepted one ☝️


    A type-to-filter functionality has been added. To use it:

    1. Give focus to the debug console (By clicking it, for instance.)
    2. Press cmd + F / ctrl + F
    3. Start typing

    You will see what you type in the upper right corner of the debug console.

    You can then "enable filter on type" (the 3 lines left of the 'x') and only matching lines will show in the debug console. Press Escape to clear the search.

    So it's not exactly the search feature OP was looking for, plus you can't type spaces, but it's the best built in tool for now (July 2019).

提交回复
热议问题