码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-06-23 22:01:48      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:als   cut   body   users   group   dir   target   several   control   

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 (<open folders>, <open files>)

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

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

标签:als   cut   body   users   group   dir   target   several   control   

原文地址:http://www.cnblogs.com/yutingliuyl/p/7071640.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!