bowhead icon indicating copy to clipboard operation
bowhead copied to clipboard

Create PHPStorm Codestyle setting file for common CodeStyles

Open kremsy opened this issue 7 years ago • 2 comments

Would be great if there could be a common Codestyle that all looks the same, and phpstorm autostyle will not mess whole files which are commited later.

kremsy avatar Sep 12 '17 08:09 kremsy

good idea, my phpstorm file is kind of nuts for a lot of people because I used vim keybindings

rxmg-joeldg avatar Sep 13 '17 18:09 rxmg-joeldg

I have a quite good one (https://github.com/ManiaControl/ManiaControl/blob/master/.idea/codeStyleSettings.xml) , but I guess I need to modify it according to get it with most of the projects code in accordance, for example I generally use opening Brackets in same line:

public function bowhead_rsi_macd($pair, $data, $return_full=false){

instead of

    public function bowhead_rsi_macd($pair, $data, $return_full=false)
{

Will take a look into changing these minor things, and than I can provide the codestylesetting file.

kremsy avatar Sep 14 '17 08:09 kremsy