-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconstants.ts
More file actions
121 lines (112 loc) · 4.79 KB
/
constants.ts
File metadata and controls
121 lines (112 loc) · 4.79 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
import * as vscode from 'vscode';
export enum ConfigSection {
BzlDownloadBaseUrl = 'server.downloadBaseUrl',
BzlRelease = 'server.release',
BzlExecutable = 'server.executable',
BzlAddress = 'server.address',
BzlCommand = 'server.command',
BazelExecutable = 'bazelExecutable',
BazelBuildFlags = 'buildFlags',
BazelTestFlags = 'testFlags',
BazelRunFlags = 'runFlags',
BazelStarlarkDebuggerFlags = 'starlarkDebuggerFlags',
StarlarkCodeLensEnabled = 'starlark.codelensEnabled',
StarlarkCodeLensCodesearchEnabled = 'starlark.codelensCodesearchEnabled',
StarlarkCodeLensBepEnabled = 'starlark.codelensBuildWithBepEnabled',
StarlarkCodeLensUIEnabled = 'starlark.codelensUiEnabled',
StarlarkCodeLensDebugStarlarkEnabled = 'starlark.codelensDebugStarlarkEnabled',
RemoteCacheExecutable = 'remoteCache.executable',
RemoteCacheCommand = 'remoteCache.command',
RemoteCacheAddress = 'remoteCache.address',
RemoteCachePreferredPort = 'remoteCache.preferredPort',
RemoteCacheSizeGb = 'remoteCache.maxSizeGb',
RemoteCacheDir = 'remoteCache.dir',
}
export enum ViewName {
Workspace = 'bsv.workspace',
}
export enum MatcherName {
/**
* The name of the problem matcher to apply to all bazel run tasks. Hardcoded
* and in this extensions' problemMatcher list.
*/
Bazel = 'bazel',
}
export enum Memento {
RedoCommand = 'bsv.bzl.redo.command',
RedoArguments = 'bsv.bzl.redo.arguments',
}
export enum CommandName {
Build = 'bsv.bzl.build',
Codesearch = 'bsv.bzl.codesearch',
CodesearchIndex = 'bsv.bzl.codesearch.index',
CodesearchSearch = 'bsv.bzl.codesearch.search',
CopyLabel = 'bsv.bzl.copyLabel',
GoToLabel = 'bsv.bzl.goToLabel',
CopyToClipboard = 'bsv.bzl.copyToClipboard',
DebugBuild = 'bsv.bzl.debugBuild',
AskForDebugTargetLabel = 'bsv.bzl.askForDebugTargetLabel',
BuildozerWizard = 'bsv.buildozer.wizard',
GoplsWizard = 'bsv.golang.gopls.wizard',
LaunchDebugAdapter = 'bsv.bzl.starlarkDebugger.launch',
LaunchRemoteCache = 'bsv.bzl.remoteCache.launch',
LaunchBzlServer = 'bsv.bzl.server.launch',
LaunchBazelServer = 'bsv.bazel.launch',
InvocationInvoke = 'bsv.bzl.invocation.invoke',
InvocationsRefresh = 'bsv.bzl.invocations.refresh',
Invoke = 'bsv.bzl.invoke',
ComponentRefresh = 'bsv.bzl.component.refresh',
BazelKill = 'bsv.bzl.bazelKill',
OpenExternalWorkspace = 'bsv.bazel.external.open',
Login = 'bzv.bzl.login',
OpenTerminal = 'bsv.bzl.openTerminal',
OpenFile = 'bsv.bzl.openFile',
Redo = 'bsv.bzl.redo',
Run = 'bsv.bzl.run',
SignIn = 'bsv.bzl.signin',
Test = 'bsv.bzl.test',
UiLabel = 'bsv.bzl.ui.label',
}
export enum ContextValue {
ProblemFile = 'problem-file',
ProblemFileMarker = 'problem-file-marker',
History = 'history',
Package = 'package',
Repository = 'repository',
ExternalWorkspace = 'external-workspace',
DefaultWorkspace = 'default-workspace',
Server = 'server',
Metadata = 'metadata',
}
export enum DiagnosticCollectionName {
Bazel = 'bazel',
}
export enum ButtonName {
Reveal = 'Reveal',
}
export const ThemeIconCheck = new vscode.ThemeIcon('check');
export const ThemeIconPulse = new vscode.ThemeIcon('pulse');
export const ThemeIconCircleOutline = new vscode.ThemeIcon('circle-outline');
export const ThemeIconClose = new vscode.ThemeIcon('close');
export const ThemeIconCloudDownload = new vscode.ThemeIcon('cloud-download');
export const ThemeIconDebugContinue = new vscode.ThemeIcon('debug-continue');
export const ThemeIconDebugStackframe = new vscode.ThemeIcon('debug-stackframe');
export const ThemeIconDebugStackframeActive = new vscode.ThemeIcon('debug-stackframe-active');
export const ThemeIconDebugStackframeFocused = new vscode.ThemeIcon('debug-stackframe-focused');
export const ThemeIconDebugStart = new vscode.ThemeIcon('debug-start');
export const ThemeIconFileSymlinkDirectory = new vscode.ThemeIcon('file-symlink-directory');
export const ThemeIconFolderOpened = new vscode.ThemeIcon('folder-opened');
export const ThemeIconInfo = new vscode.ThemeIcon('info');
export const ThemeIconPackage = new vscode.ThemeIcon('package');
export const ThemeIconPass = new vscode.ThemeIcon('pass');
export const ThemeIconQuestion = new vscode.ThemeIcon('question');
export const ThemeIconReload = new vscode.ThemeIcon('reload');
export const ThemeIconRepo = new vscode.ThemeIcon('repo');
export const ThemeIconReport = new vscode.ThemeIcon('report');
export const ThemeIconServerProcess = new vscode.ThemeIcon('server-process');
export const ThemeIconShield = new vscode.ThemeIcon('shield');
export const ThemeIconSignIn = new vscode.ThemeIcon('sign-in');
export const ThemeIconSymbolEvent = new vscode.ThemeIcon('symbol-event');
export const ThemeIconSymbolInterface = new vscode.ThemeIcon('symbol-interface');
export const ThemeIconVerified = new vscode.ThemeIcon('verified');
export const ThemeIconZap = new vscode.ThemeIcon('zap');