How to set the style of line comment in phpstorm

Tranch Xiao picture Tranch Xiao · Oct 17, 2013 · Viewed 8.1k times · Source

How to change the default style of line comment in PHPStorm to at indentation level rather than at first column?

if ($condition) {
// At first column.
    // At indentation level
}

Answer

pandasauce picture pandasauce · Jul 9, 2014

For "Ctrl+/" line commenting it is in "Settings->Code Style->PHP->Other->Code Commeting->Line comment at first column".