href error "selector matches unknown element references"
I'm trying out Webstorm for a simple EXTJS 4 project.
Here's the HTML:
<!DOCTYPE html>
<html>
<head>
<title>Test Drive</title>
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css"/>
<script type="text/javascript" src="extjs/ext-all-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
</body>
</html>
In the stylesheet link the extjs/resources/css is highlighted in red with the following message: selector matches unknown element resources.
Any thoughts?
thanks,
请先登录再写评论。
It seems you've injected CSS language to "extjs/resources/css/ext-all.css" string literal. Place caret there, press Alt+Enter, choose "Uninject language"