[英]Visual Studio Code: How do I delete a row of text if a string found on that row?
I want to use visual studio code to find a string of text and delete that whole row if the string of text is detected.如果检测到文本字符串,我想使用 Visual Studio 代码查找一串文本并删除整行。
All from the find widget, ie, you don't need to move focus.全部来自查找小部件,即您无需移动焦点。 @rioV8's version works as well with the only difference that you switch focus to the editor during the sequence otherwise essentially the same.
@rioV8 的版本也可以正常工作,唯一的区别是您在序列期间将焦点切换到编辑器,否则基本相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.