Sublime Forum

[Solved] "Create new snippet" menu item is gone

#1

I’ve just installed Sublime Text 3, build 3114 on a 64-bit Xubuntu, and there is no longer the “Create new snippet” menu entry under Tools. I’ve looked over the other menu categories, but I haven’t found it anywhere else either.

Is this a bug, or has it been moved?

On a similar note, I would love to be able to create a new snippet from the command palette. That seemed to have never been implemented.

0 Likes

#2

Tools -> Developer -> New Snippet...

if you want it in the command palette, you can add it yourself:

  1. Tools -> Browse Packages

  2. Navigate into User folder

  3. Create a file called something like NewSnippet.sublime-commands (note that the file extension is important, but the file name itself isn’t)

  4. Open it

  5. Give it the following contents:

     [
         {
             "caption": "Create Snippet",
             "command": "new_snippet"
         }
     ]
    
  6. Save it

2 Likes

#3

Tools -> Developer -> New Snippet.

0 Likes

#4

Awesome!!
Thank you.

0 Likes