layout | group | subgroup | title | menu_title | menu_node | menu_order | version | github_link |
---|---|---|---|---|---|---|---|---|
default |
config-guide |
04_CLI |
URN highlighter |
URN highlighter |
215 |
2.0 |
config-guide/cli/config-cli-subcommands-urn.md |
By default, an IDE like PHPStorm is not configured to recognize URNs and, as a result, they display in red text as follows:
The magento dev:urn-catalog:generate
command enables your IDE (currently, only PHPStorm) to recognize and highlight URNs like the following:
Specifically, this command creates the following PHPStorm configuration:
{% include install/first-steps-cli.html %} Currently, only PHPStorm is supported.Command syntax:
magento dev:urn-catalog:generate <path>
where <path>
is the path to your PHPStorm misc.xml
file, which is located relative to your project root. Typically, <path>
is .idea/misc.xml