How to set the style of line comment in phpstorm
问题 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 } 回答1: You can change this in "Options -> Code Style -> PHP -> Wrapping and Braces" and check "Comment at first colum". 回答2: For "Ctrl+/" line commenting it is in "Settings->Code Style->PHP->Other->Code Commeting->Line comment at first column". 回答3: Version 2017.3 and greater Looking at this answer, noticed that it needs