Japanese does not fold back with specified line width in JetBrains IDE

Asked 2 years ago, Updated 2 years ago, 116 views

Verification Environment
Windows 10 64-bit IntelliJ IDEA 2017.2

File->Settings->Editor->Code Style->Right margin allows you to set the auto-fold line width, but this setting does not work for comments and other parts that use Japanese.
In Japanese, it's ideal to count one character as two characters wide and return it, but can't you set it up like that?

intellij-idea phpstorm

2022-09-30 11:05

1 Answers

It is registered below as a known problem of incorrect calculation of the width of full-width characters.
https://youtrack.jetbrains.com/issue/IDEA-150985

Unfortunately, we do not have any plans to revise it at this time.
Log in and vote (click on the thumb-up icon) to prompt the fix.


2022-09-30 11:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.