Where in PHPStorm I can change align for commented block option?

28 Views Asked by At

When in in PHPStorm 2021.1 I comment some part of code “//” chars are left aligned, like

//        foreach ($categories as $category) {
//            $retArray[] = [
//                'id' => $category->id,
//                'title' => $category->snippet->title,
//                'channelId' => $category->snippet->channelId
//            ];
//        };

When I apply pint (with psr12 set) left margings are set for “//” chars

  //        foreach ($categories as $category) {
  //            $retArray[] = [
  //                'id' => $category->id,
  //                'title' => $category->snippet->title,
  //                'channelId' => $category->snippet->channelId
  //            ];
  //        };

It seems to for that pint works ok. Where in PHPStorm I can change this option ?

Thanks in advance!

0

There are 0 best solutions below