JetBrains IntelliJ IDEA、DataGrip 实用设置

JetBrains IntelliJ IDEA、DataGrip 实用设置

Created by wangjing on 02/25/2022 18:37 Fri

关键词:
idea 设置 中文,注释,方法分隔符,字体,颜色,代码提示,代码助手,拼写检查,标签多行,代码折叠,头部注释,作者,日期,署名
DataDrip 时区错乱问题 clickhouse

JetBrains 旗下软件通用设置:

主题

File | Settings | Editor | Color Scheme

全局字体

File | Settings | Editor | Font

注释字体颜色

File | Settings | Editor | Color Scheme | Language Defaults
// hex:77C8CB

方法分隔符

File | Settings | Editor | General | Appearance

代码提示忽略大小写

FileFile | Settings | Editor | General | Code Completion | Match case

取消代码块绿框

File | Settings | Editor | Color Scheme | Database | Conlole | Effects

标签多行显示

File | Settings | Editor | General | Editor Tabs

界面语言中文

File | Settings | Plugins | MarkPlace | Chinese (Simplified) Language Pack / 中文语言包

JetBrains IntelliJ IDEA

maven路径设置

File | Settings | Build, Execution, Deployment | Build Tools | Maven

代码宽度

File | Settings | 编辑器 | 代码样式 |右边距()

取消拼写检查

File | Settings | Editor | Color Scheme | General | typo

取消代码折叠

File | Settings | Editor | General | Code Folding 

取消勾选以下两项:

  • one-line methods
  • “Closures” (annoymous classes implementing one method, before Java 8)

编译器版本配置

File | Settings | Build, Execution, Deployment | Compiler | Java Compiler

IDE配置文件

C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.2\bin\idea64.exe.vmoptions

自动头部注释

File | Settings | Editor | File and Code Templates
style a
/**
 * Created by ${USER} on ${DATE} ${TIME} ${DAY_NAME_SHORT}
 */

效果示例:

/**
 * Created by Wangjing on 02/25/2022 18:37 Fri
 */
style b
/**
 * @Author  ${USER}
 * @Date    ${DATE} ${TIME} ${DAY_NAME_SHORT}
 * @Version 1.0
*/

效果示例:

/**
 * @Author Wangjing
 * @Date 02/25/2022 18:34 Fri
 * @Version 1.0
 */

JetBrains DataGrip

时区问题(重点踩坑)

File | DataSource... | Advanced | 选中需要修改的库
nameValue
use_time_zoneBeijng
use_uncompressed_cachetrue
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值