InteliJIDEA 使用小技巧

IDEA 使用说明:

alt+1调整切换到对应视图栏

项目之间的跳转 ctrl+alt+[ 跳回来ctrl+alt+]

文件之间的跳转 ctrl+e 搜索动作ctrl+shift+A

改动过文件的跳转 ctrl+shift+e

跳转到上一次修改的位置 ctrl+q

浏览到上一次的文章 alt+左箭头 alt+右箭头

利用书签跳转 ctrl+shift+f11 带标签ctrl+shift+alt+f11 跳转标签 ctrl+数字

收藏位置和文件 alt+shift+f

字符跳转插件emacsIdea置跳转 ctrl+j p

编辑区和文件区来回跳转 alt+1 跳转回去 esc

精准搜索

类 ctrl+shift+t

文件 ctrl+shift+r

符号 ctrl+alt+shift+n

字符串 ctrl+h Match case是否匹配大小写 Words是否是单词 Regex正则表达式

列操作

move caret to next ctrl+shift+右箭头 选中单词

ctrl+shift+u切换大小写

move caret to line start home

moce caret to line end end

ctrl+alt+y 批量操作

f2找到错误

ctrl+alt+l整理格式

live template

main

psfi psfs

pac pic

postfix

Postfix Completion 不可编辑

.fori

.sout

.field

.return 返回

.nn 不等于null

alter enter

自动创建函数

list replace

字符串format 或者build

实现接口 implement interface

单词拼写 type change to

导包

重构refactor

rename alt+shift+r

change signature alt+shift+c

抽取

抽取变量 alt+shift+l

抽取静态变量

抽取成员变量

抽取方法参数

抽取函数

寻找修改轨迹

git的集成

local history

show history

put label 这次更改的记录

关联一切

与spring的关联

file/project structure/facets/spring/+全选

数据库的关联

database/data source/mysql/test connection

断点调试debug

添加断点 ctrl+shift+b

单步运行 alt+shift+f9启动调试 f6下一步

resume 跳转下一个断点 或结束运行

查看所有断点 ctrl+shift+f8

禁止所有断点 mute breakpoints

条件断点

表达式求值 evaluate expression ctrl+u

运行到指定行 run to Cursor ctrl+r

setValue variables

run anywhere if you can

debug context configuration

在当前可运行列表中选择一个运行 alt+shift+f9

编辑当前运行

文件操作

在当前文件同一级目录下面新建一个文件

New in this directory/file Preferences/Other/ New

复制当前文件 f5

移动当前文件 f6

文本操作

复制路径 ctrl+shift+c

粘贴剪切板 ctrl+shift+v

结构图

查看当前field,method大纲

查看maven依赖,类图 ctrl+alt+shift+u

方法调用层次 ctrl+alt+h

查看类继承结构 alt+8

call hierarchy

猜你喜欢

转载自blog.csdn.net/loulanyue_/article/details/89424013