title: Visual Studio Create New Javascript Snippet
body: <p>I am fairly new to snippet creation.  I have successfully created multiple snippets for C# and HTML.  When I ran into troubles I started using the <a href="http://visualstudiogallery.msdn.microsoft.com/b08b0375-139e-41d7-af9b-faee50f68392" rel="nofollow">MS Snippet Designer</a>.  The trouble I had was when I created a snippet for JS using the following code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"&gt;
    &lt;CodeSnippet Format="1.0.0"&gt;
      &lt;Header&gt;
        &lt;SnippetTypes&gt;
          &lt;SnippetType&gt;Expansion&lt;/SnippetType&gt;
        &lt;/SnippetTypes&gt;
        &lt;Title&gt;tjready&lt;/Title&gt;
        &lt;Author&gt;admin&lt;/Author&gt;
        &lt;Description&gt;
        &lt;/Description&gt;
        &lt;HelpUrl&gt;
        &lt;/HelpUrl&gt;
        &lt;Shortcut&gt;$().ready(function() {&lt;/Shortcut&gt;
      &lt;/Header&gt;
      &lt;Snippet&gt;
        &lt;Code Language="javascript"&gt;&lt;![CDATA[$().ready(function() {
  //This is a test of the onready
      });]]&gt;&lt;/Code&gt;
      &lt;/Snippet&gt;
    &lt;/CodeSnippet&gt;
  &lt;/CodeSnippets&gt;
  </code></pre>
  
  <p>My goal is to create the snippet for either JS or CSHTML files.  The above does not work in either type of file after an import using the Code Snippet Manager (Tools > CSM).  I tried placing the snippet in both the html and JavaScript categories.  I also tried modifying the language type of the snippet.</p>
  
  <p>Does anyone see what I am doing wrong?</p>