-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathclientCommandConstants.ts
79 lines (61 loc) · 1.98 KB
/
clientCommandConstants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/**
* VScode client commands.
*/
/**
* Show XML references
*/
export const SHOW_REFERENCES = 'xml.show.references';
/**
* Show editor references
*/
export const EDITOR_SHOW_REFERENCES = 'editor.action.showReferences';
/**
* Reload VS Code window
*/
export const RELOAD_WINDOW = 'workbench.action.reloadWindow';
/**
* Open settings command
*
* A `settingId: string` parameter can be optionally provided
*/
export const OPEN_SETTINGS = 'xml.open.settings';
/**
* Open settings command
*
* A `settingId: string` parameter can be optionally provided
*/
export const OPEN_URI = 'xml.open.uri';
/**
* Render markdown string to html string
*/
export const MARKDOWN_API_RENDER = 'markdown.api.render';
export const OPEN_DOCS = 'xml.open.docs';
/**
* Commands to revalidate files with an LSP command on the XML Language Server
*/
export const VALIDATE_CURRENT_FILE = 'xml.validation.current.file';
export const VALIDATE_ONLY_SYNTAX_CURRENT_FILE = 'xml.validation.syntax.current.file';
export const VALIDATE_ALL_FILES = 'xml.validation.all.files';
export const OPEN_DOCS_HOME = 'xml.open.docs.home';
/**
* VSCode client commands to open the binding wizard to bind a XML to a grammar/schema.
*/
export const OPEN_BINDING_WIZARD = 'xml.open.binding.wizard';
/**
* VSCode client command to open the grammar/schema binding wizard from command menu.
*/
export const COMMAND_PALETTE_BINDING_WIZARD = 'xml.command.bind.grammar';
/**
* Client command to execute an XML command on XML Language Server side.
*/
export const EXECUTE_WORKSPACE_COMMAND = 'xml.workspace.executeCommand';
/**
* Command to restart connection to language server.
*/
export const RESTART_LANGUAGE_SERVER = 'xml.restart.language.server';
/**
* Command to wrap element.
*/
export const REFACTOR_SURROUND_WITH_TAGS = 'xml.refactor.surround.with.tags';
export const REFACTOR_SURROUND_WITH_COMMENTS = 'xml.refactor.surround.with.comments';
export const REFACTOR_SURROUND_WITH_CDATA = 'xml.refactor.surround.with.cdata';