当前位置:网站首页>I can't stand the common annotations of idea anymore
I can't stand the common annotations of idea anymore
2022-07-05 07:17:00 【I am the king of X】
1、Ctrl+N Search for classes by name
amount to eclipse Of ctrl+shift+R, Enter the class name to locate the class file , It's like idea It's the same in other search parts , The search class name can also match multiple parts of the content you want to search , And if you can match your own classes , Match your own classes first , You can search even if you don't write your own class .
2、Ctrl+Shift+N Search for files by file name
Similar to search , It just matches all kinds of files .
3、Ctrl+H
View the inheritance relationship of the class , for example HashMap The parent class is AbstractMap, Subclasses have a lot of .
4、Ctrl+Alt+B See subclass method implementation
Ctrl+B You can view the parent class or the parent method definition , But not as good as ctrl+ The left mouse button is convenient . But here ,Ctrl+B or ctrl+ Left mouse button can only see Map An abstract method of an interface put The definition of , It's not what we want , Now Ctrl+Alt+B You can look at HashMap Of put Method .
5、Alt+F7 Find out where classes or methods are used
amount to eclipse Of ctrl+shif+H, But it's much faster .
6、Ctrl+F/Ctrl+Shift+F Follow the text to find
amount to eclipse Of ctrl+H, Speed advantage is more obvious . among Ctrl+F It's on this page ,Ctrl+Shift+F It's a global search .
7、Shift+Shift Search for anything
shift+shift Very powerful , Searchable class 、 resources 、 Configuration item 、 Such method , It can also search the path . The search path is very practical , For example, you wrote a function called hello, stay java,js,css,jsp There are hello Folder , Then we can search for "hello/" Find the path that contains hello Folder .
8、 Check the implementation class of the interface
IDEA style ctrl + alt +B perhaps Ctrl+Alt+ Left mouse button
边栏推荐
- Now there are HTML files and MVC made with vs (connected to the database). How can they be connected?
- Matrix and TMB package version issues in R
- An article was opened to test the real situation of outsourcing companies
- 程序中的负数存储及类型转换
- NPM and package common commands
- 氢氧化钠是什么?
- [OBS] x264 Code: "buffer_size“
- D2L installation
- DelayQueue延迟队列的使用和场景
- 一文揭开,测试外包公司的真实情况
猜你喜欢
随机推荐
[tf1] save and load parameters
Ros2 - first acquaintance with ros2 (I)
SOC_ SD_ DATA_ FSM
The difference between NPM install -g/-save/-save-dev
npm install -g/--save/--save-dev的区别
[software testing] 02 -- software defect management
What does soda ash do?
HDU1232 畅通工程(并查集)
Ros2 - Service Service (IX)
ROS2——功能包(六)
Ros2 - ros2 vs. ros1 (II)
ROS2——初识ROS2(一)
基于FPGA的一维卷积神经网络CNN的实现(八)激活层实现
GPIO port bit based on Cortex-M3 and M4 with operation macro definition (can be used for bus input and output, STM32, aducm4050, etc.)
R language learning notes 1
2022.06.27_每日一题
Executealways of unity is replacing executeineditmode
Initialization of global and static variables
An article was opened to test the real situation of outsourcing companies
[vscode] search using regular expressions