当前位置:网站首页>Idea how to set the guide package without * sign
Idea how to set the guide package without * sign
2022-06-12 16:41:00 【Why is there a bug list】
idea If not set The default more than 5 A class with the same package will become * Number ,
This is actually very easy to satisfy , And as the amount of code increases , We often don't notice the leading package code at the top .
When a class imports too many packages , It will often affect the starting speed of the whole project , Add cache .
So we should try to avoid this kind of import * Operation of No 
The operation is as follows :
Two values here , It means that when there are several identical guided packets, it will be converted to guided packets * package , Just make it bigger .
If this is set to 3, Like this :
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
At this time idea The compiler will automatically convert these three lines of code into :
import java.net.*;
Here I set it to 999, This means that only when the same class under the same package is imported more than 999 Time , Will all be imported , Basically, import is completely avoided * It's possible
边栏推荐
- Three paradigms of database
- generate pivot data 0
- Project training of Shandong University rendering engine system (VII)
- Why is your next computer a computer? Explore different remote operations
- Learning notes of MySQL series by database and table
- Acwing 797 differential
- mysql语句
- WebRTC 的音频网络对抗概述
- The process of "unmanned aquaculture"
- Possible problems of long jump in gaussdb
猜你喜欢

Leetcode 2190. The number that appears most frequently in the array immediately after the key (yes, once)

generate pivot data 0

Leetcode 2190. 数组中紧跟 key 之后出现最频繁的数字(可以,一次过)

acwing 802. Interval sum (discretization)

MySQL interview arrangement

Batch --04--- moving components

Contract awarding and AQS

QCustomplot笔记(一)之QCustomplot添加数据以及曲线

acwing 790. The cubic root of a number (floating-point number in half)

Qcustomplot notes (I): qcustomplot adding data and curves
随机推荐
【树莓派】:(四)Camera 进阶
The C Programming Language(第 2 版) 笔记 / 8 UNIX 系统接口 / 8.1 文件描述符
ISCC-2022 部分wp
WebRTC 的音频网络对抗概述
Leetcode 2190. The number that appears most frequently in the array immediately after the key (yes, once)
Leetcode 2190. 数组中紧跟 key 之后出现最频繁的数字(可以,一次过)
Postgresql错误码是如何构造的
Project training of Shandong University rendering engine system (V)
canvas 高级功能(下)
acwing 790. The cubic root of a number (floating-point number in half)
你的下一台电脑何必是电脑,探索不一样的远程操作
\begin{algorithm} 笔记
Large scale real-time quantile calculation -- a brief history of quantitative sketches
key为断言的map是怎么玩的
Understand go modules' go Mod and go sum
acwing 801. Number of 1 in binary (bit operation)
The C programming language (version 2) notes / 8 UNIX system interface / 8.4 random access (lseek)
h t fad fdads
Acwing high precision multiplication
JS écoute si l'utilisateur allume le focus de l'écran