IDEA初始化配置
- 1.文件编码配置
- 2. 修改快捷键
- 3.智能提示
- 4.优化导包
- 5.代码不折叠
- 6.不打开上一次关闭的工程,新窗口打开新工程
- 7.Ctrl + 滚轮改变字体大小
- 8.不提示更新软件
- 9.注释智能缩进
- 10.同一包下的类不以*代替
- 11.设置字体
- 12.类文件头模板
- 13.参数智能提示
- 14.git自动添加
- 15.maven配置
- 16.几大优秀插件
- 17.自动编译
- 18.序列化ID
- 19.Autowired爆红
- 20.打开工具栏
- 21.文件忽略
- 22.快捷键
- 23.重复代码
- 24 创建MyBatis配置文件模板
- 25 创建mybatis-mapper文件模板
- 26 HTML格式化问题
- 27.快捷注入 Autowired
- 28. 快捷写 SpringBoot 启动类
- 29. 创建 web.xml 模板文件
- 30. 创建 hbm 模板文件
- 31. 创建 hibernate.cfg 模板文件
- 31. 修改 vue 模板文件
- 32. 创建 logback.xml 模板文件
- 33. 创建 log4j.xml 文件
- 34. 添加 vue get 请求模板
- 35. 添加 vue post 请求模板
1.文件编码配置
2. 修改快捷键
3.智能提示
4.优化导包
5.代码不折叠
6.不打开上一次关闭的工程,新窗口打开新工程
7.Ctrl + 滚轮改变字体大小
8.不提示更新软件
9.注释智能缩进
10.同一包下的类不以*代替
11.设置字体
设置编辑器字体
设置控制台字体
12.类文件头模板
/**
* @ClassName ${NAME}
* @Description
* @Author ${USER}
* @Time ${DATE} ${TIME}
* @Version 1.0
*/
13.参数智能提示
14.git自动添加
15.maven配置
maven是依赖管理工具包,虽然IDEA自带,这个不好用,我们要自己配置
https://maven.apache.org/download.cgi
下面是我的配置
maven setting.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in ${user.home}/.m2/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -s /path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all Maven
| users on a machine (assuming they're all using the same Maven
| installation). It's normally provided in
| ${maven.conf}/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -gs /path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>D:\maven_local_space</localRepository>
<!-- interactiveMode
| This will determine whether maven prompts you when it needs input. If set to false,
| maven will use a sensible default value, perhaps based on some other setting, for
| the parameter in question.
|
| Default: true
<interactiveMode>true</interactiveMode>
-->
<!-- offline
| Determines whether maven should attempt to connect to the network when executing a build.
| This will have an effect on artifact downloads, artifact deployment, and others.
|
| Default: false
<offline>false</offline>
-->
<!-- pluginGroups
| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
|-->
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
<pluginGroup>com.your.plugins</pluginGroup>
-->
</pluginGroups>
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<