目录
1、Maven
打开自己的
Maven中的settings.xml文件
配置阿里云镜像
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
配置 jdk1.8 编译项目
<profiles>
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
</profiles>
2、Idea&VsCode
idea 安装 lombok 、 mybatisx 插件
Vscode 安装开发必备插件Vetur —— 语法高亮、智能感知、 Emmet 等包含格式化功能, Alt+Shift+F (格式化全文), Ctrl+K Ctrl+F (格式化选中代码,两个 Ctrl 需要同时按着)EsLint —— 语法纠错Auto Close Tag —— 自动闭合 HTML/XML 标签Auto Rename Tag —— 自动完成另一侧标签的同步修改JavaScript(ES6) code snippets — — ES6 语 法 智 能 提 示 以 及 快 速 输 入 , 除 js 外 还 支持 .ts , .jsx , .tsx , .html , .vue ,省去了配置其支持各种包含 js 代码文件的时间HTML CSS Support —— 让 html 标签上写 class 智能提示当前项目所支持的样式HTML Snippets —— html 快速自动补全Open in browser —— 浏览器快速打开Live Server —— 以内嵌服务器方式打开Chinese (Simplified) Language Pack for Visual Studio Code —— 中文语言包
3、安装配置 git
1、下载 git
https://git-scm.com
2、配置 git,进入 git bash
# 配置用户名
git config --global user.name "username" //(名字)
# 配置邮箱
git config --global user.email "username@email.com" //(注册账号时用的邮箱)
3、配置 ssh 免密登录
https://gitee.com/help/articles/4181#article-header0
进入 git bash ;使用: ssh-keygen -t rsa -C "xxxxx@xxxxx.com" 命令。 连续三次回车。一般用户目录下会有
或者 cat ~/.ssh/id_rsa.pub登录进入 gitee ,在设置里面找到 SSH KEY 将 .pub 文件的内容粘贴进去
查看生成的密钥,然后进行复制
登录gitee账号,点击设置,找到安全是设置中的ssh公钥设置
按需填写标题,将刚刚复制的公钥粘贴进公钥,点击确定就ok
使用 ssh -T git@gitee.com 测试是否成功即可
Git+码云教程 https://gitee.com/help/articles/4104