For template the shortname is usually tpl and filenames can be written as tpl-projects.

What is the best shortname for snippet?


Anything else? I need a 3 characters long shortname.

  • /snippets/ ... – Martijn Jan 13 '17 at 9:20

On the web there are many cases where spt is used so I guess that would be the most correct shortname for it.

An example:


Search for spt in the text.

| improve this answer | |

Why are we stuck in a way of thinking that file extensions must be 3 characters? This is a throwback to the days of DOS - who can remember that :o) - that had a 3 character limitation.

Wouldn't it be much easier for users if your file was named dosomething.snippet rather than dosomething.spt?

There is no limitation apart from a total length of 255 characters, be creative.

Have a look here as well https://superuser.com/questions/315393/there-is-a-length-limit-to-windows-file-extensions

| improve this answer | |
  • I will not use it as a file extension, just as a 3 char prefix. – Jens Törnell Jan 14 '17 at 13:52
  • DOH! Had I read the original question properly. But my comment stands :o) – Steve Jan 15 '17 at 0:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.