Search project for duplicate HTML ids

Hi,

When I open HTML files in WebStorm, the editor flags duplicate HTML ids, which is very helpful. I'd like to run the inspection for all HTML files in our project. But I don't see that inspection as an option when I select Code | Analyze Code | Run Inspection by Name.

Is there a way to run the XML "Duplicate 'id' attribute" inspection for the project? I feel/hope I'm missing something obvious.

Thanks!

评论操作 固定链接

The issue has been submitted to developers as https://youtrack.jetbrains.com/issue/WEB-57433/XML-Duplicate-id-attribute-inspection-cant-be-run-via-Run-inspection-by-name, please follow in for updates

For now I can only suggest creating a new inspection profile with only this inspection enabled and choosing this profile when running Code > Inspect Code... for your project

0

请先登录再写评论。