V
V
vmal012019-02-27 19:08:36
phpstorm
vmal01, 2019-02-27 19:08:36

Why has the index.php file changed?

Good evening, I accidentally created an index file and recreated it in index.php and this happened
5c76b5b8b8b35252952184.png
And now all the files have become like this, and without code highlighting
Help, who faced such a problem)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Kovalchuk, 2019-02-27
@vmal01

You probably marked it as text here is how to change it back https://blog.jetbrains.com/phpstorm/2011/04/exclud...
____
Most likely you created index.php instead of index.php (looks the same, but in 2nd version instead of English p, Russian p) and therefore the development environment does not see it as php, when I created it myself, as a result, the context menu was exactly like yours

A
Andrey Andreev, 2019-02-27
@b0nn1e

Right click on the file. Should be something like Mark as php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question