IDEA sets the single-line comment at the beginning of the code line

need

By default, IntelliJ IDEA puts the slash of the comment at the beginning of the line number for the single-line comment of the Java code. I personally feel uncomfortable, so the two slashes set as a single-line comment follow the head of the code

solution

Note:
1: The slash is displayed at the beginning of the code line.
2: The slash is displayed at the front of the entire line.
The effect of setting it to 1 is as follows:

Guess you like

Origin blog.csdn.net/qq_44138925/article/details/128843158