当前位置:网站首页>Idea's gradle project Chinese garbled
Idea's gradle project Chinese garbled
2022-07-24 02:14:00 【The hunter is eating meat】
List of articles
1、idea To configure
open idea ,File-> Settings-> File Encodings

2、 To configure build.gradle
In the project build.gradle To add the following :
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
The whole project needs to be recompiled to take effect .
Every Gradle Projects need to insert a piece of code , so much trouble ?!
3、 win10 Environment variable configuration
Every Gradle Projects need to insert a piece of code , so much trouble . There is another way to do it once and for all , That is, the environment variable specifies the code .
GRADLE_OPTS=-Dfile.encoding=utf-8

idea and Console to restart , To take effect .
4、idea64.exe.vmoptions To configure
4.1、 Method 1
open idea ,Help -> Edit Custom VM Options

On the idea64.exe.vmoptions To add the following :
-Dfile.encoding=UTF-8
explain : In general , idea64.exe.vmoptions stay C:\Users\admin\AppData\Roaming\JetBrains\IntelliJIdea Version number Under the table of contents .
4.2、 Method 2
idea The installation directory , C:\Program Files\JetBrains\IntelliJ IDEA Version number \bin Under the path , find idea64.exe.vmoptions To configure .
stay idea64.exe.vmoptions To add the following :
-Dfile.encoding=UTF-8
4.3、 Method 3
above 4.1 、 4.2 Medium idea64.exe.vmoptions , No idea The actual profile used , The actual profile used In other locations .
such as ,

stay idea.vmoptions Add :
-Dfile.encoding=UTF-8
边栏推荐
- Jmeter+influxdb+grafana pressure measurement real-time monitoring platform construction
- After five years of contact with nearly 100 bosses, as a headhunter, I found that the secret of promotion was only four words
- [machine learning basics] common operations of Feature Engineering
- [重要通知]星球线上培训第三期来袭!讲解如何在QTYX上构建自己的量化策略!...
- Notes - record the solution to the failure of @refreshscope dynamic refresh configuration
- Precautions for using XXL job
- College degree want to 0 basic programming after looking for a job feasible?
- Small volume stock trading record | based on multi task crawler technology, realize level1 sampling of A-share real-time market
- async await详解 & Promise
- STM32概念和安装【第一天】
猜你喜欢

The new red envelope cover platform can build the source code of the independent background of the sub station

jmeter+influxdb+grafana压测实时监控平台搭建

Graduation design campus information publishing platform website source code

Local empowerment learning

2022.7.22 JS entry common data types and methods

Preliminary use of 145 keep alive

Decrypt redis to help the e-commerce seckill system behind the double 11

Build a CPU Simulator

Construction and test of hfish honey pot

ACM SIGIR 2022 | interpretation of selected papers of meituan technical team
随机推荐
LeetCode 70爬楼梯、199二叉树的右视图、232用栈实现队列、143重排链表
Study and use of burpsuite plug-in
Sword finger offer II 031. Least recently used cache
Qt::WA_ Transparentformouseevents
[pumpkin Book ml] (task3) decision tree (updating)
145-keep-alive的初步使用
What is restful
Notes - record a dynamic datasource please check the setting of primary problem solving
CANopen communication - PDO and SDO
以科技传递温度,vivo守护生物多样性之美
什么叫裸写SQL?express操作mysql用什么中件间或插件好呢?
认识传输层协议—TCP/UDP
Reconnaître le Protocole de couche de transport - TCP / UDP
Exchange 2010 wildcard SSL certificate installation document
NETCORE - how to ensure that icollection or list privatization is not externally modified?
async await详解 & Promise
Is it safe for Huatai Securities to open an account? Is it true? Is it formal
xxl-job使用注意事项
Tensorflow 2.0 deep learning tutorial
Detailed explanation of php7 garbage collection mechanism