Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

URN highlighter

In addition to the command arguments described in this topic, see Common arguments.

Run all Magento CLI commands as the Magento file system owner.

Overview of URN highlighter

Magento code references all XSD schemas as Uniform Resource Names (URNs). If you’re developing code and need to reference XSDs, this command configures your integrated developer environment (IDE) to recognize and highlight URNs. This makes development easier.

By default, an IDE like PhpStorm is not configured to recognize URNs and, as a result, they display in red text as follows:

The bin/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:

Configure your IDE

Currently, only PhpStorm is supported.

Command syntax:

1
bin/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.

Updated