Find and replace in Visual Studio code

后端 未结 6 1835
不思量自难忘°
不思量自难忘° 2020-12-25 11:08

I have the following line in a file I\'m editing in VSCode:

...............111.........111.............111..

I want to replace all .

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-25 11:22

    From the VSCode devs:

    We used to enable find in selection automatically when opening the find widget with a selection, but it was too easy to trigger accidentally and produced a lot of complaints. You probably want to set "editor.find.autoFindInSelection": true which will make it work the way you expect.

    The VSCode GitHub issue has more details if anyone is interested.

    EDIT: The autoFindInSelection option is available starting from VSCode 1.13. That version is currently in development (as of 6/7/2017), so this fix won't work until the new version is released.

提交回复
热议问题