这是错误:
Error parsing content for snippet Packages/User/servlet-definition.sublime-snippet: Empty key
这是代码:
<snippet>
<content><![CDATA[
<servlet>
<servlet-name>$1</servlet-name>
<servlet-class>${2:spray.servlet.Servlet30ConnectorServlet}</servlet-class>
<async-supported>${3:true}</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>$1</servlet-name>
<url-pattern>$(4:/*}</url-pattern>
</servlet-mapping>
${5}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sdef</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>XML</scope> -->
</snippet>