[IntelliJ 11.0.2 Mac] quick doc lookup on tag doesn't work in html5 files
Step to reproduce:
1) create a new project with Java Module in IntelliJ 11.0.2
2) using the "new" action and create a html file with "HTML5 file" as kind.
3) The html file should looks like the following:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
4) move the caret to any tag.
5) invoke the "Quick Doc" action (^J). it always says "no document found".
However, if a html file is created using "HTML file" (not HTML5 file) as kind, "Quick Doc" works as expected. This file has http://www.w3.org/TR/html4/loose.dtd associated.
FYI, In project preference, my "Schema and DTD" setting has the "Default HTML language level" set to "HTML 5".
-- Danny
请先登录再写评论。
Same behaviour on my MacBook Pro (OS X Lion, Intellij IDEA 11.1.2).
For all other html file types (HTML, XHTML) the QuickDocumentation and External Documentation functionality is working fine.
Hope this will be fixed soon.
Regards,
Andreas