S
S
Sergey Shevchenko2018-09-12 19:03:28
phpstorm
Sergey Shevchenko, 2018-09-12 19:03:28

How can I make it so that I can immediately see in the code where it is written in Latin and where in Cyrillic in Jetbrains products?

Now I started debugging the work of one script and figured out for a very long time (about an hour) why it can’t “include” a file, when it “included” others nearby

{if $smarty.get.submen=='countries'}
    {include file="adm/charts/countries.tpl"}
{/if}
...
{if $smarty.get.submen=='carriers'}
    {include file="adm/charts/carriers.tpl"}
{/if}

And the template engine began to swear that I couldn’t find the file, at first I thought because of the rights (since I created a bunch of files through the terminal) I set the rights and still doesn’t look, I already give 777 and still can’t find it, I copied the path from the error output to the file and started searching in the storm for the project files (by the search string "adm/charts/carriers.tpl") and he said that there is no such file. I started deleting the path from the beginning and after I deleted "adm / c" then the storm found the file right away, I did not understand, I add with my hands what I deleted and the file was found! Eureka! It turns out that in the word charts the letter " c " was Cyrillic.
So there is some kind of plugin or setting that would display the Cyrillic alphabet differently (for example, a different font or background or something else so that I would immediately understand that there is a “cant” here!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
⚡ Kotobotov ⚡, 2018-09-13
@angrySCV

as an option, use a font in which there is no support for Cyrillic, instead of it some kind of unreadable crap (there are plenty of such from foreign fonts), then it will probably be more noticeable.

S
Sergey delphinpro, 2018-09-13
@delphinpro

Doesn't the program underline misspelled words for you?
In my opinion, this case will just be marked by a spell checker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question