当前位置:网站首页>关于idea中src下 无法new一个package
关于idea中src下 无法new一个package
2022-06-10 21:59:00 【野犬17】
在idea中,我们会发现,有时候右键src无法new一个package,这是因为此时我们的项目中的src不是项目的根路径,只需要将其设置为根路径即可,具体方法如下:
此时我们发现无法new一个package
只需要:右键src→Mark Directory as→点击Sources Root
这样就可以在src下面创建包了。
边栏推荐
- Opencv_100问_第三章 (11-15)
- Assembly: assembly mixed with c-faction language and corresponding lldb common instructions
- Ribbon负载均衡策略
- unity 代码为动画注册事件
- 普通网络摄像头的拉取方法
- [tcapulusdb knowledge base] tcapulusdb tcapdb capacity expansion and contraction introduction
- untiy 重置动画
- But it shows that you are the most native zaifkmw in five counties
- Locking mechanism
- 200 c language words, please collect!
猜你喜欢

Blue Bridge Cup_ Pick substring_ Combinatorial mathematics_ Multiplication principle/ Ruler method

Software features and functions of the blind box mall app system development

Web3 ecological decentralized financial platform sealem Finance

vulnhub之dc4

【原创】医鹿APP九价HPV数据抓包分析
![[original] analysis of nine price HPV data capture of Yilu app](/img/e0/af4901d119a6e59de02a6786d427dd.png)
[original] analysis of nine price HPV data capture of Yilu app
![[tcapulusdb knowledge base] tcapulusdb tcapdb capacity expansion and contraction introduction](/img/5c/b24a94cb2d46fe571c172d232503d5.png)
[tcapulusdb knowledge base] tcapulusdb tcapdb capacity expansion and contraction introduction

Fallback operation in SVN

Blue Bridge Cup_ A fool sends a letter_ recursion

Keras deep learning practice (8) -- using data enhancement to improve neural network performance
随机推荐
[006] initial string
CCF CSP 202109-4 collect cards
DC2 of vulnhub
C automatically generates Oracle table creation statement according to excel
Opencv_ 100 questions_ Chapter IV (16-20)
【原创】医鹿APP九价HPV数据抓包分析
Vulnhub练习 DC-1靶机
Openjudge noi 1.13 15: finding modes in sequences
原生支持 ARM64 的首个版本!微软 Win11/10 免费工具集 PowerToys 0.59 发布
How about opening an account with flush? Is it safe to open an account?
Opencv_100问_第三章 (11-15)
Interpretation of dataset class of mmdetection
PKI/TLS瑞士军刀之cfssl
LuoYongHao: if I were the person in charge, I could make apple products go up more than three steps
Software features and functions of the blind box mall app system development
Auto. JS Pro development environment configuration
[tcapulusdb knowledge base] Introduction to tcapulusdb engine parameter adjustment
Software project management 6.10 Cost budget
Icml2022 | reexamine end-to-end voice to text translation from scratch
Native support for the first version of arm64! Microsoft win11/10 free tool set PowerToys 0.59 release