Skip to main content

Module: actions/GenerateSnippet/openNewSnippetFile

Functions

openNewSnippetFile

openNewSnippetFile(snippetName): Promise<void>

Creates a new empty file in the users snippet directory and opens an editor onto that file.

Parameters

NameTypeDescription
snippetNamestringThe name of the snippet

Returns

Promise<void>

Defined in

actions/GenerateSnippet/openNewSnippetFile.ts:10