You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FichteFoll edited this page Sep 9, 2017
·
1 revision
PackageDev provides a snippet with a snippet file's skeleton.
You can access it with the snippet tab trigger.
Raw Snippets
PackageDev has a notion of "raw" snippets
that only consist of the contents to be inserted
without the other metadata associated with snippets
(i.e. tab trigger, scope selector and description).
Creating a Raw Snippet
You can create a raw snippet with the
PackageDev: New Raw Snippet command
in the Command Palette.
When you press Ctrl+S,
the raw snippet is wrapped in an actual snippet
and the metadata keys are added,
allowing you to save the file normally afterwards.
Exctracting a Raw Snippet
You can extract the raw snippet part of a snippet file
with the PackageDev: New Raw Snippet From Snippet command.