-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use new constants for extension views, ids, and commands (#79)
- Loading branch information
1 parent
48bee94
commit eba593f
Showing
4 changed files
with
65 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
|
||
/** | ||
* Snippet viewer extensions constants | ||
*/ | ||
|
||
// Extension constants | ||
export const PublisherId: string = 'RandomFractalsInc'; | ||
export const ExtensionName: string = 'vscode-snippets-viewer'; | ||
export const ExtensionId: string = 'snippets.viewer'; | ||
export const ExtensionDisplayName: string = 'Snippets Viewer'; | ||
|
||
// View constants | ||
export const SnippetsView: string = 'snippets.view'; | ||
|
||
// Snippets Viewer command constants | ||
export const RefreshSnippetsCommand: string = `${ExtensionId}.refreshSnippets`; | ||
export const CombineLanguageSnippetsCommand: string = `${ExtensionId}.combineLanguageSnippets`; | ||
export const GroupSnippetsByFileCommand: string = `${ExtensionId}.groupSnippetsByFile`; | ||
export const SortSnippetsByNameCommand: string = `${ExtensionId}.sortSnippetsByName`; | ||
export const SortSnippetsByDefinitionOrderCommand: string = `${ExtensionId}.sortSnippetsByDefinitionOrder`; | ||
export const SkipLanguageSnippetsCommand: string = `${ExtensionId}.skipLanguageSnippets`; | ||
export const ViewSettingsCommand: string = `${ExtensionId}.viewSettings`; | ||
export const InsertSnippetCommand: string = `${ExtensionId}.insertSnippet`; | ||
export const OpenSnippetFileCommand: string = `${ExtensionId}.openSnippetFile`; | ||
|
||
// VSCode action/command constants | ||
export const VSCodeExecuteDocumentSymbolProvider: string = 'vscode.executeDocumentSymbolProvider'; | ||
export const WorkbenchActionFocusActiveEditorGroup: string = 'workbench.action.focusActiveEditorGroup'; | ||
export const WorkbenchActionOpenSettings: string = 'workbench.action.openSettings'; | ||
export const EditorActionInsertSnippet: string = 'editor.action.insertSnippet'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters