【道勤網(wǎng)】- bmrsportswear.com 軟件視頻自學(xué)教程|免費教程|自學(xué)電腦|3D教程|平面教程|影視動畫教程|辦公教程|機械設(shè)計教程|網(wǎng)站設(shè)計教程!【道勤網(wǎng)】

標(biāo)題: sublime text如何實現(xiàn)代碼的查找和替換 [打印本頁]

作者: 學(xué)習(xí)NO.1    時間: 2015-10-3 11:47
標(biāo)題: sublime text如何實現(xiàn)代碼的查找和替換

今天道勤小編在使用sublime text在給道勤的一個客戶在開發(fā)新的站點的時候遇到了一個非常棘手的問題,那就是如何實現(xiàn)代碼段的查找和替換-這里我給大家講述下快捷鍵是ctrl+f 如何是進(jìn)行替換的話,那就是ctrl+f+shift

Searching  =========

To open the search panel for files, press Ctrl + Shift + F. You can use the keyboard to control the search panel and some search actions: 使用 Ctrl + Shift + F 鍵可以打開多文件搜索面板。搜索面板與搜索動作可以使用快捷鍵進(jìn)行操作:

Search Scope 搜索作用域 ============

The Where field in the search panel determines where to search. You can define the scope of the search in several ways: 搜索面板中的 Where 字段決定搜索文件的范圍。你可以通過以下幾種方式來確定文件的搜索作用域:

You can combine these filters separing them with commas, for example: 你可以在一次搜索中組合使用以上確定作用域的方式,并且在不同方式之間用逗號分隔,例如:

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

Press the ... button in the search panel to display a menu containing these options. 通過在搜索面板中按 ... 按鈕來顯示包含這些選項的菜單。

(譯者注:Unix風(fēng)格的文件路徑指的是使用 / 來區(qū)分目錄結(jié)構(gòu),例如 /Users/voidmain/ ,在 Windows平臺上,可以使用 /C/Users/ 來指定盤符)

Results Format 搜索結(jié)果顯示方式 ==================

In the search panel, you can find the following options to customize the results format: 在搜索面板中,可以使用下面的選項來自定義搜索結(jié)果的顯示方式:

Navigating Results 搜索結(jié)果跳轉(zhuǎn) ==================

If the search yields matches, you can move through the sequence using the following key bindings: 一旦找到了符合要求的內(nèi)容,你就可以使用以下的快捷鍵進(jìn)行結(jié)果之間的跳轉(zhuǎn):







歡迎光臨 【道勤網(wǎng)】- bmrsportswear.com 軟件視頻自學(xué)教程|免費教程|自學(xué)電腦|3D教程|平面教程|影視動畫教程|辦公教程|機械設(shè)計教程|網(wǎng)站設(shè)計教程!【道勤網(wǎng)】 (http://bmrsportswear.com/) Powered by Discuz! X3.4