当前位置:网站首页>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
边栏推荐
- [tf1] save and load parameters
- 二分查找(折半查找)
- DelayQueue延迟队列的使用和场景
- SD_ CMD_ SEND_ SHIFT_ REGISTER
- Initialization of global and static variables
- Do you choose pandas or SQL for the top 1 of data analysis in your mind?
- Ros2 - first acquaintance with ros2 (I)
- Ros2 - configuration development environment (V)
- Lexin interview process
- 第 2 章:小试牛刀,实现一个简单的Bean容器
猜你喜欢
Ros2 - node (VII)
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
C语言数组专题训练
ROS2——工作空间(五)
[software testing] 02 -- software defect management
ROS2——配置开发环境(五)
SD_ CMD_ SEND_ SHIFT_ REGISTER
Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
Powermanagerservice (I) - initialization
PowerManagerService(一)— 初始化
随机推荐
Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
Ros2 topic (VIII)
Energy conservation and creating energy gap
Typescript get timestamp
ROS2——配置开发环境(五)
Special training of C language array
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
[tf1] save and load parameters
Ggplot2 drawing learning notes in R
基于FPGA的一维卷积神经网络CNN的实现(八)激活层实现
苏打粉是什么?
What does soda ash do?
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
Ros2 - workspace (V)
【Node】nvm 版本管理工具
[OBS] x264 Code: "buffer_size“
U-Boot初始化及工作流程分析
SD_ CMD_ SEND_ SHIFT_ REGISTER
Implementation of one-dimensional convolutional neural network CNN based on FPGA (VIII) implementation of activation layer
Ros2 - function package (VI)