首页 > 代码库 > sublime搜索和替换--多文件搜索替换
sublime搜索和替换--多文件搜索替换
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 Expressions | Alt +R |
Toggle Case Sensitivity | Alt +C |
Toggle Exact matches | Alt +W |
Find Next | Enter |
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 Match | F4 |
Previous Match | Shift + F4 |
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。