Closing tags across includes
II use an include so I get all my core css and js libs loaded uniformly. So of course things like my opening <html> tag is there too. But in the file where I close </html> it doesn't know about my opening tag in the include. Is there a way to solve that problem? It's mildly annoying but not critical.
请先登录再写评论。
Would you like to disable 'Closing tag matches nothing', etc. warnings? Unfortunately they can't be suppressed individually, as these are low-level checks performed by annotator. Disabling the error highlighting for your files is your only option... This can be done using Hector icon in the lower right corner: open your file in editor, click the Hector icon and then move the slider to change the Highlighting level to
None. See https://www.jetbrains.com/help/webstorm/2016.3/changing-highlighting-level-for-the-current-file.html. You will likely need to reopen the project to get the highlighting updated.