Intellij comment format

There is an option in: Code Style > Java > Code Generation > Comment Code

intellij cfg

With “Line comment at first column” you can switch between:

    //System.out.println("");
//  System.out.println("");

So, you don’t have a ‘space’ after comment (in first line), but its close enough 🙂

Idea 2017.2+

Recent versions of IntelliJ IDEA support adding a space after the line comment. The setting is at the same location.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)