After upgrade to Magento 2, in IDE PhpStorm, the UI component file show a lot of errors , like
Element argument is not allowed here,
Element xxx is not allowed here etc.
But, the UI component file is working well in system. And the official UI component file also has the errors. Like
How to fix it?