当前位置:网站首页>IDEA overview and installation and debugging
IDEA overview and installation and debugging
2022-07-31 06:34:00 【Go to bed early tonight】
1.IDEA概述和安装
1.1 IDEA概述
IDEA 全称 IntelliJ IDEA,是java编程语言开发的集成环境.IntelliJ在业界被公认为最好的java开发工具,尤其在智能代码助手、代码自动提示、重构、JavaEE支持、各类版本工具(git、svn等)、JUnit、CVS整合、代码分析、 创新的GUI设计等方面的功能可以说是超常的.IDEA是JetBrains公司的产品,这家公司总部位于捷克共和国的首都布拉格,开发人员以严谨著称的东欧程序员为主.
集成环境:把代码编写,编译,执行,调试等多种功能综合到一起的开发工具.
IDEA的下载:https://www.jetbrains.com/idea/
两个选择,Ultimate版本(收费)和Community版本(免费).Versions can also be selected,2021.2.3The version above and above has the trial function officially banned, 本次演示用Ultimate的2021.1.1版本
1.2 IDEA的安装
下载完成后,双击开始安装
1.3使用IDEA创建一个maven项目
1.4 配置"TomCat"(This section of the test failed,不用看)
此时,报错:
Skipped installing application listeners due to previous error(s)
Say yes onlinetomcat与jdk的版本不符
于是,进入tomcat的官网:https://tomcat.apache.org/whichversion.html
可以看到,tomcat7用于jdk6和7以后,换个tomcat9再试一下
报此错误:
28-Apr-2022 22:47:05.879 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s)
Given just playingjava,初步判定是jar包问题,这个问题后面解决.
2.IDEA的HelloWorld
2.1 IDEA的HelloWorld的编写步骤
package com.test;
public class HelloWorld {
//可直接输入psvm,One-click generation of down-line code
public static void main(String[] args) {
System.out.println("HelloWorld");
}
}
3.IDEA中项目结构
3.1 回顾Helllo World案例步骤
3.2 IDEA项目结构
3.3 设置字体
4. IDEA中内容辅助键和快捷键
4.1 内容辅助键
快速生成语句
快速生成main()方法:psvm,回车
快速生成输出语句:sout,回车
内容辅助键
Ctrl+Alt+space(内容提示,代码补全等) ---如果用不了,Maybe the input method hotkey is occupied
4.2 快捷键
注释
单行:选中代码,Ctrl+/,再来一次,就是取消
多行:选中代码,Ctrl+Shift+/,再来一次,就是取消
格式化
Ctrl+Alt+L
5. IDEA中模块操作
5.1 IDEAMedium module operation classification
新建模块 删除模块 导入模块
5.2 IDEAThe New Module action in
5.3 IDEAThe middle module is deleted
5.4 IDEA中导入模块
边栏推荐
- Cholesterol-PEG-Amine CLS-PEG-NH2 胆固醇-聚乙二醇-氨基科研用
- CAS:474922-22-0 Maleimide-PEG-DSPE Phospholipid-Polyethylene Glycol-Maleimide Brief Description
- 活体检测PatchNet学习笔记
- Research reagents Cholesterol-PEG-Maleimide, CLS-PEG-MAL, Cholesterol-PEG-Maleimide
- cv2.resize()是反的
- Attention based ASR(LAS)
- random.randint函数用法
- Four common ways of POST to submit data
- YOLOX中的SimOTA
- 机器学习和深度学习概述
猜你喜欢
box-shadow相关属性
Numpy常用函数
mPEG-DSPE 178744-28-0 甲氧基-聚乙二醇-磷脂酰乙醇胺线性PEG磷脂
mPEG-DMPE Methoxy-polyethylene glycol-bismyristyl phosphatidylethanolamine for stealth liposome formation
Research reagents Cholesterol-PEG-Maleimide, CLS-PEG-MAL, Cholesterol-PEG-Maleimide
PyTorch学习笔记08——加载数据集
CNN的一点理解
WIN10,配置adb环境
IDEA概述和安装及调试
PyTorch Study Notes 08 - Loading Datasets
随机推荐
Software Testing Interview Questions 2021
[Solved] ssh connection report: Bad owner or permissions on C:\\Users/XXX/.ssh/config
Wangeditor rich text editor to upload pictures and solve cross-domain problems
拒绝采样小记
Jupyter内核正忙、内核挂掉
ImportError: cannot import name ‘Xxxx‘ from partially initialized module ‘xx.xx.xx‘
化学试剂磷脂-聚乙二醇-氨基,DSPE-PEG-amine,CAS:474922-26-4
安装显卡过程中遇到问题汇总
CAS:474922-22-0 Maleimide-PEG-DSPE Phospholipid-Polyethylene Glycol-Maleimide Brief Description
日志jar包冲突,及其解决方法
浏览器中的画中画(Picture-in-Picture)API
DSPE-PEG-Azide DSPE-PED-N3 磷脂-聚乙二醇-叠氮脂质PFG
pytorch模型微调finetuning训练image_dog(kaggle)
【Rhapsody学习笔记】3:Dishwasher
cv2.resize()是反的
The array technique, my love
Pytorch常用函数
Introduction to CLS-PEG-FITC Fluorescein-PEG-CLS Cholesterol-PEG-Fluorescein
mPEG-DMPE Methoxy-polyethylene glycol-bismyristyl phosphatidylethanolamine for stealth liposome formation
关于Iframe