住房与城乡建设网站,wordpress首页不同列表样式,大唐网站首页,海外设计网站建设设置来源于尚硅谷宋红康老师 第1组#xff1a;通用型 说明 快捷键
复制代码-copy ctrl c 粘贴-paste ctrl v 剪切-cut ctrl x 撤销-undo ctrl z 反撤销-redo ctrl shift z 保存-save all ctrl s 全选-select all ctrl a
第2组#xff1a;提高编写速度#xff08;上…设置来源于尚硅谷宋红康老师 第1组通用型 说明 快捷键
复制代码-copy ctrl c 粘贴-paste ctrl v 剪切-cut ctrl x 撤销-undo ctrl z 反撤销-redo ctrl shift z 保存-save all ctrl s 全选-select all ctrl a
第2组提高编写速度上 说明 快捷键
智能提示-edit alt enter 提示代码模板-insert live template ctrlj 使用xx块环绕-surround with … ctrlaltt 调出生成getter/setter/构造器等结构-generate … altinsert 自动生成返回值变量-introduce variable … ctrlaltv 复制指定行的代码-duplicate line or selection ctrld 删除指定行的代码-delete line ctrly 切换到下一行代码空位-start new line shift enter 切换到上一行代码空位-start new line before current ctrl alt enter 向上移动代码-move statement up ctrlshift↑ 向下移动代码-move statement down ctrlshift↓ 向上移动一行-move line up altshift↑ 向下移动一行-move line down altshift↓ 方法的形参列表提醒-parameter info ctrlp
第3组提高编写速度下 说明 快捷键
批量修改指定的变量名、方法名、类名等-rename shiftf6 抽取代码重构方法-extract method … ctrlaltm 重写父类的方法-override methods … ctrlo 实现接口的方法-implements methods … ctrli 选中的结构的大小写的切换-toggle case ctrlshiftu 批量导包-optimize imports ctrlalto
第4组类结构、查找和查看源码 说明 快捷键
如何查看源码-go to class… ctrl 选中指定的结构 或 ctrln 显示当前类结构支持搜索指定的方法、属性等-file structure ctrlf12 退回到前一个编辑的页面-back ctrlalt← 进入到下一个编辑的页面-forward ctrlalt→ 打开的类文件之间切换-select previous/next tab alt←/→ 光标选中指定的类查看继承树结构-Type Hierarchy ctrlh 查看方法文档-quick documentation ctrlq 类的UML关系图-show uml popup ctrlaltu 定位某行-go to line/column ctrlg 回溯变量或方法的来源-go to implementation(s) ctrlaltb 折叠方法实现-collapse all ctrlshift - 展开方法实现-expand all ctrlshift
第5组查找、替换与关闭 说明 快捷键
查找指定的结构 ctrlf 查找与替换-replace ctrlr 直接定位到当前行的首位-move caret to line start home 直接定位到当前行的末位 -move caret to line end end 全项目搜索文本-find in path … ctrlshiftf
第6组调整格式 说明 快捷键
格式化代码-reformat code ctrlaltl 使用单行注释-comment with line comment ctrl / 使用/取消多行注释-comment with block comment ctrl shift / 选中数行整体往后移动-tab tab 选中数行整体往前移动-prev tab shift tab