Win系统初始化
更新: 2/10/2025 字数: 0 字 时长: 0 分钟
1、软件安装
开发工具
常用软件
类别 | 软件名称 | 访问地址 |
---|---|---|
操作系统 | Windows10 | https://www.microsoft.com/zh-cn/software-download/windows10 |
操作系统 | Windows11 | https://www.microsoft.com/zh-cn/windows |
终端工具 | Windows Terminal | https://apps.microsoft.com/detail/9n0dx20hk701?rtc=1&hl=zh-cn&gl=CN |
效率工具 | uTools | https://u.tools/download |
搜索文件 | Everything | https://www.voidtools.com/zh-cn/downloads/ |
截图神器 | Snipaste | https://zh.snipaste.com/download.html |
科学上网 | Clash for Windows | https://ikuuu.one |
接口调试 | ApiFox | https://apifox.com |
手势软件 | WGestures 2 | https://www.yingdev.com/projects/wgestures2 |
视频播放 | PotPlayer | https://potplayer.tv/?lang=zh_CN |
解压缩软件 | BandZip、WinRAR 、7-zip | https://www.bandisoft.com/bandizip https://www.rarlab.com/ https://www.7-zip.org/ |
文本编辑 | Notepad++ | https://notepad-plus-plus.org |
文本编辑 | Markdown Editor | https://www.marktext.cc https://typoraio.cn https://editor.mdnice.com |
素材管理 | Eagle | https://eagle.cool/ |
办公软件 | WPS | https://platform.wps.cn |
文件搜索 | Everything | https://www.voidtools.com/zh-cn/ |
其他软件
类别 | 软件名称 | 访问地址 |
---|---|---|
软件卸载 | GeekUninstaller | https://geekuninstaller.com/ |
2、环境配置
shell
## 在系统上禁止使用脚本解决方法 | 以管理员身份运行power shell
set-executionpolicy remotesigned
## 密钥生成
ssh-keygen -t rsa -b 4096 -C "zhanghaijun_java@163.com"
## Git配置
git config --global --list
git config --global user.name "zhanghaijun"
git config --global user.email "zhanghaijun_java@163.com"
git config --global core.ignorecase false
## nodejs配置
npm install -g yrm --registry https://registry.npmmirror.com
yrm del taobao
yrm add taobao https://registry.npmmirror.com
yrm use taobao
npm install -g pnpm --registry https://registry.npmmirror.com
3、Maven配置
settings.xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<localRepository>C:\\develop\\maven\\maven-local</localRepository>
<mirrors>
<!-- 阿里云镜像 -->
<mirror>
<id>aliyun-mirror</id>
<mirrorOf>central,jcenter,!rdc-releases,!rdc-snapshots</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
<!-- 华为云镜像 -->
<mirror>
<id>huawei-mirror</id>
<mirrorOf>central</mirrorOf>
<name>huawei nexus</name>
<url>https://mirrors.huaweicloud.com/repository/maven</url>
</mirror>
<!-- 仓库官方-->
<mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<mirrorOf>central</mirrorOf>
<url>http://repo.maven.apache.org/maven2</url>
</mirror>
</mirrors>
</settings>
4、Idea配置
1、配置JDK
、Maven
2、配置编码:settings
->Editor
->File Encodings
调整为 UTF-8
3、插件安装:Lombok
、MyBatisX
、Mermaid
、SonarQube fro IDE
、Key Promoter X
、Maven Helper
、Bookmark
、Rainbow Brackets
4、idea配置注释模板:settings
->Editor
->File and Code Templates
->files
->class
java
/**
* 【说明类功能】
*
* @author ${USER}
* @since ${DATE}
*/
public class ClassName {
}
java
/**
* 【接口功能说明】
*
* @author ${USER}
* @since ${DATE}
*/
public interface InterfaceName {
}
java
/**
* 【枚举功能说明】
*
* @author ${USER}
* @since ${DATE}
*/
public enum EnumName {
}
java
/**
* 【记录功能说明】
* <简要描述该记录的作用,例如:用于表示一个用户信息>
*
* @author ${USER}
* @since ${DATE}
*/
public record RecordName(String name, int age) {
}
java
/**
* 【注解功能说明】
* <简要描述该注解的作用,例如:用于标记方法需要缓存、标识某个字段的约束等>
*
* @author ${USER}
* @since ${DATE}
*/
public @interface AnnotationName {
}
text
# Help->Edit Custom VM Options...
-Duser.name=haijun.zhang