E
E
Evgen2015-05-17 18:46:13
PHP
Evgen, 2015-05-17 18:46:13

Why did PHPStorm stop formatting the code of some PHP files?

PHPStorm stopped formatting the code of some PHP files, or rather, the entire file. I press a combination for a format, I select a file - a zero of emotions. If you select a piece inside the file, then this particular piece formats well. If you select everything - zero emotions. However, some PHP files are formatted correctly. I did not find any features that distinguish "unformatted" files. Has anyone experienced similar behavior? Version 8.0.3.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
index0h, 2015-05-17
@EASemashko

Clear the cache. This is possible if the indexing went wrong, or is not completed.

N
Nurlan, 2015-05-18
@daager

In 5.5, short tags are disabled by default, perhaps this version is set in the project settings and therefore files are not parsed. Similar in NetBeans was.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question