forked from redhat-developer/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.ts
More file actions
141 lines (126 loc) · 3.89 KB
/
commands.ts
File metadata and controls
141 lines (126 loc) · 3.89 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
'use strict';
/**
* Commonly used commands
*/
export namespace Commands {
/**
* Open Browser
*/
export const OPEN_BROWSER = 'vscode.open';
/**
* Open Output view
*/
export const OPEN_OUTPUT = 'java.open.output';
/**
* Show Java references
*/
export const SHOW_JAVA_REFERENCES = 'java.show.references';
/**
* Show Java implementations
*/
export const SHOW_JAVA_IMPLEMENTATIONS = 'java.show.implementations';
/**
* Show editor references
*/
export const SHOW_REFERENCES = 'editor.action.showReferences';
/**
* Update project configuration
*/
export const CONFIGURATION_UPDATE = 'java.projectConfiguration.update';
/**
* Ignore "Incomplete Classpath" messages
*/
export const IGNORE_INCOMPLETE_CLASSPATH = 'java.ignoreIncompleteClasspath';
/**
* Open help for "Incomplete Classpath" message
*/
export const IGNORE_INCOMPLETE_CLASSPATH_HELP = 'java.ignoreIncompleteClasspath.help';
/**
* Reload VS Code window
*/
export const RELOAD_WINDOW = 'workbench.action.reloadWindow';
/**
* Set project configuration update mode
*/
export const PROJECT_CONFIGURATION_STATUS = 'java.projectConfiguration.status';
/**
* Apply Workspace Edit
*/
export const APPLY_WORKSPACE_EDIT = 'java.apply.workspaceEdit';
/**
* Execute Workspace Command
*/
export const EXECUTE_WORKSPACE_COMMAND = 'java.execute.workspaceCommand';
/**
* Execute Workspace build (compilation)
*/
export const COMPILE_WORKSPACE = 'java.workspace.compile';
/**
* Open Java Language Server Log file
*/
export const OPEN_SERVER_LOG = 'java.open.serverLog';
/**
* Open Java formatter settings
*/
export const OPEN_FORMATTER = 'java.open.formatter.settings';
/**
* Clean the Java language server workspace
*/
export const CLEAN_WORKSPACE = 'java.clean.workspace';
/**
* Update the source attachment for the selected class file
*/
export const UPDATE_SOURCE_ATTACHMENT = 'java.project.updateSourceAttachment';
/**
* Resolve the source attachment information for the selected class file
*/
export const RESOLVE_SOURCE_ATTACHMENT = 'java.project.resolveSourceAttachment';
/**
* Mark the folder as the source root of the closest project.
*/
export const ADD_TO_SOURCEPATH = 'java.project.addToSourcePath';
/**
* Unmark the folder as the source root of the project.
*/
export const REMOVE_FROM_SOURCEPATH = 'java.project.removeFromSourcePath';
/**
* List all recognized source roots in the workspace.
*/
export const LIST_SOURCEPATHS = 'java.project.listSourcePaths';
/**
* Override or implements the methods from the supertypes.
*/
export const OVERRIDE_METHODS_PROMPT = 'java.action.overrideMethodsPrompt';
/**
* Generate hashCode() and equals().
*/
export const HASHCODE_EQUALS_PROMPT = 'java.action.hashCodeEqualsPrompt';
/**
* Open settings.json
*/
export const OPEN_JSON_SETTINGS = 'workbench.action.openSettingsJson';
/**
* Organize imports.
*/
export const ORGANIZE_IMPORTS = "java.action.organizeImports";
/**
* Choose type to import.
*/
export const CHOOSE_IMPORTS = "java.action.organizeImports.chooseImports";
/**
* Generate toString().
*/
export const GENERATE_TOSTRING_PROMPT = 'java.action.generateToStringPrompt';
/**
* Generate Getters and Setters.
*/
export const GENERATE_ACCESSORS_PROMPT = 'java.action.generateAccessorsPrompt';
/**
* Generate Constructors.
*/
export const GENERATE_CONSTRUCTORS_PROMPT = 'java.action.generateConstructorsPrompt';
/**
* Generate Delegate Methods.
*/
export const GENERATE_DELEGATE_METHODS_PROMPT = 'java.action.generateDelegateMethodsPrompt';
}