|
1 | | -# 查找替换 |
| 1 | +# Find and replace |
2 | 2 |
|
3 | | -- 查找文件 |
4 | | -- 查找替换字符串(按文件、按项目、按目录),且支持正则 |
5 | | -- 查找索引符号 |
| 3 | +- Find files |
| 4 | +- Find and replace strings (by file, by project, by directory), and support regular |
| 5 | +- Find symbol in editor |
| 6 | +- Find in selection |
6 | 7 |
|
7 | | -## 快速查找文件 |
| 8 | +## Find files |
8 | 9 |
|
9 | | -`ctrl+p (MacOSX: ⌘P)`,可以定位到搜索框,输入文件名,快速打开任何文件。 |
| 10 | +`ctrl+p (MacOSX: ⌘P)`, You can navigate to the search box, enter the file name, and quickly open any file. |
10 | 11 |
|
11 | | -文件名后,敲击空格,输入项目名称,可以只搜索指定项目下文件。 |
| 12 | +After the file name, hit the space and enter the project name, you can search only the files under the specified project. |
12 | 13 |
|
13 | 14 | <img src="/static/snapshots/tutorial/find_file.jpg" style="zoom: 50%;border-radius: 24px;border:1px solid #eee;"/> |
14 | 15 |
|
15 | | -按住`Ctrl+Tab`, 可以查看在编辑器中,打开的所有文件的列表。 |
| 16 | +Press and hold `Ctrl+Tab`, you can view the list of all files opened in the editor. |
16 | 17 |
|
17 | 18 | <img src="/static/snapshots/tutorial/find_file_2.jpg" style="zoom: 48%;border-radius: 24px;border:1px solid #eee;"/> |
18 | 19 |
|
19 | | -## 查找索引符号 |
| 20 | +## Find symbol |
20 | 21 |
|
21 | | -在当前文件,按下`Ctrl + Shift + O`, 可以查找索引符号。 |
| 22 | +In the current file, press `Ctrl + Shift + O` to find symbol. |
22 | 23 |
|
23 | 24 | <img src="/static/snapshots/tutorial/find_symbol.jpg" style="zoom: 48%;border-radius: 24px;border:1px solid #eee;"/> |
24 | 25 |
|
25 | | -## 查找字符串 |
| 26 | +## Find string |
26 | 27 |
|
27 | 28 | - 范围:字符串查找,支持`按当前文件`、`按目录`、`按左侧选中`、`按当前项目`、`按所有项目`进行搜索查找。 |
28 | 29 | - 功能:字符串查找,支持`整词匹配`、`正则匹配`、`大小写匹配`,且支持`排除`特定目录 |
29 | 30 |
|
30 | 31 | <img src="/static/snapshots/tutorial/find_str.jpg" style="zoom: 45%;border-radius: 24px;border:1px solid #eee;"/> |
31 | 32 |
|
32 | | -## 区域内搜索 |
| 33 | +## Find in selection |
33 | 34 |
|
34 | | -> 仅支持HBuilderX 3.1.15+版本 |
| 35 | +> Only supports HBuilderX 3.1.15+ version |
35 | 36 |
|
36 | 37 | HBuilderX,支持选中一段文字,在顶部搜索栏选中区域搜索【Ctrl+Shift+f】,可以在特殊背景区内`搜索`、`替换`、`全选相同词` |
37 | 38 |
|
|
0 commit comments