Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Pretty basic stuff. STRG or CTRL + ALT + l reformats the code, but in a way that is rather strange:
if ( $a > $b )
echo "a is größer als b";
if ( $a == $b )
echo "a ist gleich groß wie b";
echo "a ist kleiner als b";
There is no template or anything that I would know of that could trigger this. Nevertheless, it is a nuisance to have the code changed in such a kind of way.
The question is: how can I prevent PhpStorm from doing this. It appears only in since the latest update of the software (PhpStorm 2016.2.2) not in earlier ones.
The version of PhpStorm is
PhpStorm 2016.2.2
Build #PS-162.2380.11, built on October 24, 2016
JRE: 1.8.0_112-release-287-b3 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
–
–
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.