E
E
Eugene2019-08-02 16:54:25
Syntax highlighting
Eugene, 2019-08-02 16:54:25

How can I customize the highlighting of my custom tags?

I can't find where I can add and customize the highlight color of my own tag. Which is not registered and, accordingly, is not in the standard ColorScheme:
well, for example for
<newtag> </newtag> или <<!-- --!>>
Version: phpStrom 2019.1.3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Koshelenko, 2019-08-02
@atachrus

You can add custom tags here:
Settings > Editor > Inspections > HTML > Unknown HTML tag > Options > Custom HTML tags
As for highlighting:
Settings > Editor > Color scheme > HTML > tag
They will be highlighted in the same way as other tags. You cannot set a separate color for custom ones (as far as I know).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question