File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -205,12 +205,12 @@ public class Main {
205
205
206
206
### Extract Method
207
207
208
- **快捷键:alt +command+m**
208
+ **快捷键:Alt +command+m**
209
209
210
210
**作用:扩展方法**
211
211
212
212
- 选中System.out.println(result_add);
213
- - 按下alt +command+m
213
+ - 按下 Alt +command+m
214
214
- 在弹出的窗口中输入mprint
215
215
216
216
于是有了
@@ -233,12 +233,12 @@ private static void mprint(int result_sub) {
233
233
234
234
### Inline Method
235
235
236
- **快捷键:alt +command+n**
236
+ **快捷键:Alt +command+n**
237
237
238
238
**作用:内联方法**
239
239
240
240
- 选中main中的mprint
241
- - alt +command+n
241
+ - Alt +command+n
242
242
- 选中Inline all invocations and remove the method(2 occurrences) 点确定
243
243
244
244
然后我们等于什么也没有做了~~:
@@ -305,7 +305,7 @@ Mac:木有
305
305
306
306
Windows/Linux:木有
307
307
308
- 或者:` ` Shift` ` +` ` alt ` ` +` ` command` ` +` ` T` ` 再选择 ` ` Replace Temp with Query` `
308
+ 或者:` ` Shift` ` +` ` Alt ` ` +` ` command` ` +` ` T` ` 再选择 ` ` Replace Temp with Query` `
309
309
310
310
鼠标:**Refactor** | ` ` Replace Temp with Query` `
311
311
You can’t perform that action at this time.
0 commit comments