44 *--------------------------------------------------------------------------------------------*/
55
66export enum EventType {
7- OmnisharpStart ,
8- TelemetryEvent ,
9- TelemetryEventWithMeasures ,
10- OmnisharpDelayTrackerEventMeasures ,
11- OmnisharpInitialisation ,
12- OmnisharpLaunch ,
13- PackageInstallStart ,
14- PackageInstallation ,
15- LogPlatformInfo ,
16- InstallationStart ,
17- InstallationFailure ,
18- DownloadProgress ,
19- OmnisharpFailure ,
20- OmnisharpRequestMessage ,
21- TestExecutionCountReport ,
22- OmnisharpServerOnError ,
23- OmnisharpServerMsBuildProjectDiagnostics ,
24- OmnisharpServerUnresolvedDependencies ,
25- OmnisharpServerEnqueueRequest ,
26- OmnisharpServerProcessRequestStart ,
27- OmnisharpEventPacketReceived ,
28- OmnisharpServerOnServerError ,
29- OmnisharpOnMultipleLaunchTargets ,
30- WorkspaceInformationUpdated ,
31- EventWithMessage ,
32- DownloadStart ,
33- DownloadFallBack ,
34- DownloadSizeObtained ,
35- ZipError ,
36- ReportDotNetTestResults ,
37- DotNetTestRunStart ,
38- DotNetTestDebugStart ,
39- DotNetTestDebugProcessStart ,
40- DotNetTestsInClassRunStart ,
41- DotNetTestsInClassDebugStart ,
42- DocumentSynchronizationFailure ,
43- OpenURL ,
44- IntegrityCheckFailure ,
45- IntegrityCheckSuccess ,
46- RazorPluginPathSpecified ,
47- RazorPluginPathDoesNotExist ,
48- DebuggerPrerequisiteFailure ,
49- CommandDotNetRestoreProgress ,
50- DownloadValidation ,
51- DotNetTestDebugComplete ,
52- LatestBuildDownloadStart ,
53- ActiveTextEditorChanged ,
54- OmnisharpOnBeforeServerStart ,
55- ProjectJsonDeprecatedWarning ,
56- OmnisharpServerProcessRequestComplete ,
57- InstallationSuccess ,
58- CommandDotNetRestoreStart ,
59- DebuggerNotInstalledFailure ,
60- ShowOmniSharpChannel ,
61- ActivationFailure ,
62- ProjectModified ,
63- RazorDevModeActive ,
64- DotNetTestDebugStartFailure ,
65- DotNetTestDebugWarning ,
66- DotNetTestRunFailure ,
67- DotNetTestMessage ,
68- OmnisharpServerVerboseMessage ,
69- OmnisharpServerMessage ,
70- OmnisharpServerOnStdErr ,
71- DownloadFailure ,
72- DownloadSuccess ,
73- CommandDotNetRestoreSucceeded ,
74- DebuggerPrerequisiteWarning ,
75- CommandDotNetRestoreFailed ,
76- OmnisharpRestart ,
77- OmnisharpServerDequeueRequest ,
78- OmnisharpServerOnStop ,
79- OmnisharpServerOnStart ,
80- OmnisharpOnBeforeServerInstall ,
81- ProjectConfigurationReceived
82- }
7+ OmnisharpStart = 0 ,
8+ TelemetryEvent = 1 ,
9+ TelemetryEventWithMeasures = 2 ,
10+ OmnisharpDelayTrackerEventMeasures = 3 ,
11+ OmnisharpInitialisation = 4 ,
12+ OmnisharpLaunch = 5 ,
13+ PackageInstallStart = 6 ,
14+ PackageInstallation = 7 ,
15+ LogPlatformInfo = 8 ,
16+ InstallationStart = 9 ,
17+ InstallationFailure = 10 ,
18+ DownloadProgress = 11 ,
19+ OmnisharpFailure = 12 ,
20+ OmnisharpRequestMessage = 13 ,
21+ TestExecutionCountReport = 14 ,
22+ OmnisharpServerOnError = 15 ,
23+ OmnisharpServerMsBuildProjectDiagnostics = 16 ,
24+ OmnisharpServerUnresolvedDependencies = 17 ,
25+ OmnisharpServerEnqueueRequest = 18 ,
26+ OmnisharpServerProcessRequestStart = 19 ,
27+ OmnisharpEventPacketReceived = 20 ,
28+ OmnisharpServerOnServerError = 21 ,
29+ OmnisharpOnMultipleLaunchTargets = 22 ,
30+ WorkspaceInformationUpdated = 23 ,
31+ EventWithMessage = 24 ,
32+ DownloadStart = 25 ,
33+ DownloadFallBack = 26 ,
34+ DownloadSizeObtained = 27 ,
35+ ZipError = 28 ,
36+ ReportDotNetTestResults = 29 ,
37+ DotNetTestRunStart = 30 ,
38+ DotNetTestDebugStart = 31 ,
39+ DotNetTestDebugProcessStart = 32 ,
40+ DotNetTestsInClassRunStart = 33 ,
41+ DotNetTestsInClassDebugStart = 34 ,
42+ DocumentSynchronizationFailure = 35 ,
43+ OpenURL = 36 ,
44+ IntegrityCheckFailure = 37 ,
45+ IntegrityCheckSuccess = 38 ,
46+ RazorPluginPathSpecified = 39 ,
47+ RazorPluginPathDoesNotExist = 40 ,
48+ DebuggerPrerequisiteFailure = 41 ,
49+ CommandDotNetRestoreProgress = 42 ,
50+ DownloadValidation = 43 ,
51+ DotNetTestDebugComplete = 44 ,
52+ LatestBuildDownloadStart = 45 ,
53+ ActiveTextEditorChanged = 46 ,
54+ OmnisharpOnBeforeServerStart = 47 ,
55+ ProjectJsonDeprecatedWarning = 48 ,
56+ OmnisharpServerProcessRequestComplete = 49 ,
57+ InstallationSuccess = 50 ,
58+ CommandDotNetRestoreStart = 51 ,
59+ DebuggerNotInstalledFailure = 52 ,
60+ ShowOmniSharpChannel = 53 ,
61+ ActivationFailure = 54 ,
62+ ProjectModified = 55 ,
63+ RazorDevModeActive = 56 ,
64+ DotNetTestDebugStartFailure = 57 ,
65+ DotNetTestDebugWarning = 58 ,
66+ DotNetTestRunFailure = 59 ,
67+ DotNetTestMessage = 60 ,
68+ OmnisharpServerVerboseMessage = 61 ,
69+ OmnisharpServerMessage = 62 ,
70+ OmnisharpServerOnStdErr = 63 ,
71+ DownloadFailure = 64 ,
72+ DownloadSuccess = 65 ,
73+ CommandDotNetRestoreSucceeded = 66 ,
74+ DebuggerPrerequisiteWarning = 67 ,
75+ CommandDotNetRestoreFailed = 68 ,
76+ OmnisharpRestart = 69 ,
77+ OmnisharpServerDequeueRequest = 70 ,
78+ OmnisharpServerOnStop = 71 ,
79+ OmnisharpServerOnStart = 72 ,
80+ OmnisharpOnBeforeServerInstall = 73 ,
81+ ProjectConfigurationReceived = 74 ,
82+ }
83+
84+ //Note that the EventType protocol is shared with Razor.VSCode and the numbers here should not be altered
85+ //The enum is needed because we use webpack for the extension(which trims the names in production mode) and need to be able to filter on the eventType
0 commit comments