sublime搜索和替换--多文件搜索替换

来源:互联网 发布:品牌营销找优爵网络 编辑:程序博客网 时间:2024/04/30 12:23

Search and Replace - Multiple Files

Searching

To open the search panel for files, press Ctrl+ Shift +F. You can use thekeyboard to control some search panel options and search actions:

Toggle Regular ExpressionsAlt +RToggle Case SensitivityAlt +CToggle Exact matchesAlt +WFind NextEnter

Search Scope

The Where field in the search panel determines search scope. You candefine scopes in several ways:

  • Adding individual directories (Unix-style paths, even on Windows)
  • Adding/excluding files based on a pattern
  • Adding symbolic locations (<openfolders>, <openfiles>)

It is also possible to combine these filters using commas; for example:

/C/Users/Joe/Top Secret,-*.html,<open files>

Press the ... button in the search panel to display a menu containingthese options.

Results Format

In the search panel, you can customize the display of results with the followingoptions:

  • Show in Separate Buffer/Output Panel
  • Show Context

Navigating Results

If the search yields matches, you can move through the sequence using thefollowing key bindings:

Next MatchF4Previous MatchShift + F4
0 0
原创粉丝点击