Hi, I just created a basic html5 snippet.
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>${1}</title>
</head>
<body>
${0}
</body>
</html>
]]></content>
<tabTrigger>html5</tabTrigger>
<scope>text.html</scope>
<description>HTML5 boilerplate</description>
</snippet>
My problem is that when I just create a new file cmd + N
and set the syntax to HTML, and type html5. I don’t see my description or any indication of the snippet. Why is that? Have I made a mistake?
The snippet does work, when typing html5, tab
results in:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
</body>
</html>