Visual Studio代码仅搜索选定的行

col*_*bes 4 visual-studio-code

试图弄清楚如何仅在Visual Studio代码(版本1.17.2)中搜索选定行内的文本。我看到了许多其他选择,但肯定没有。

建议表示赞赏。

Ale*_*lex 5

settings.json Ctrl +,

"editor.find.autoFindInSelection": true
Run Code Online (Sandbox Code Playgroud)
  1. 选择文字
  2. 搜索将查找所选文本