IDEA 个人配置记录

1. 全局修改 maven 源为阿里云

<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
                           https://maven.apache.org/xsd/settings-1.0.0.xsd">
    <localRepository/>
    <interactiveMode/>
    <usePluginRegistry/>
    <offline/>
    <pluginGroups/>
    <servers/>
    <mirrors>
        <mirror>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
    </mirrors>
    <proxies/>
    <profiles/>
    <activeProfiles/>
</settings>

2. 注释不显示在行首,并保持空格

进入 Settings -> Code Style -> Java ,在右边选择 “Code Generation” Tab,然后找到 Comment Code 那块,把
Line comment at first column
Block comment at first column
去掉前面两个的复选框
注释不显示在行首

3. 字体

修改编辑器字体为 Source Code Pro

编辑器字体

4. 下载 vim 插件

开启配置

imap jj <ESC>
set so=5
set vb
set surround

" 设置光标键跨行
set whichwrap+=<,>,h,l
" 关闭bell
set noeb
" 屏蔽了 vim 遇到无效命令时发出的蜂鸣声,而用一个快速的闪烁取而代之
set vb t_vb=
" 设置<ESC>键响应时间
set ttimeoutlen=0
" 允许光标出现在最后一个字符的后面
set virtualedit=block,onemore

5. 下载热启动插件 JRebel

服务器地址监听服务器地址:
GUID生成:https://www.guidgen.com/

激活URL: https://jrebel.qekang.com/GUID

生成的如下:
https://jrebel.qekang.com/69ce26e9-9888-4916-9af9-27e6afcbd074

image
快速搜索依赖的坐标

7. Markdown Image Support

markdown image support

让 Markdown 支持上传图片到图床

8. markdown-index

在 标签之前自动生成索引
image

9. MyBatis Log Free

自动拼接 mybatis sql 语句, 方便排查问题
image

10. MyBatisX

image
方便 mapper 文件和 xml 之间来回跳转

11. 经常忘的快捷键

ctrl+alt+[ 上一个项目

ctrl+alt+] 下一个项目

posted @ 2021-09-29 08:59  今天代码写完了吗  阅读(89)  评论(0编辑  收藏  举报