ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / editor / contrib / inlineCompletions / browser / telemetry.ts 123 строк · изменён 14 нояб., 04:52
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
import { DataChannelForwardingTelemetryService } from '../../../../platform/dataChannel/browser/forwardingTelemetryService.js' ;
export function sendInlineCompletionsEndOfLifeTelemetry ( dataChannel: DataChannelForwardingTelemetryService, endOfLifeSummary: InlineCompletionEndOfLifeEvent) {
dataChannel. publicLog2 < InlineCompletionEndOfLifeEvent, InlineCompletionsEndOfLifeClassification> ( 'inlineCompletion.endOfLife' , endOfLifeSummary) ;
}
export type InlineCompletionEndOfLifeEvent = {
opportunityId: string ;
requestReason: string ;
editorType: string ;
languageId
typingInterval
typingIntervalCharacterCount
selectedSuggestionInfo
availableProviders
skuPlan
skuType
correlationId
extensionId
extensionVersion
groupId
shown
shownDuration
shownDurationUncollapsed
timeUntilShown
timeUntilProviderRequest
timeUntilProviderResponse
reason
acceptedAlternativeAction
partiallyAccepted
partiallyAcceptedCountSinceOriginal
partiallyAcceptedRatioSinceOriginal
partiallyAcceptedCharactersSinceOriginal
preceeded
superseded
notShownReason
renameCreated
renameDuration
renameTimedOut
renameDroppedOtherEdits
renameDroppedRenameEdits
performanceMarkers
viewKind
cursorColumnDistance
cursorLineDistance
lineCountOriginal
lineCountModified
characterCountOriginal
characterCountModified
disjointReplacements
sameShapeReplacements
longDistanceHintVisible
longDistanceHintDistance
isForAnotherDocument
noSuggestionReason
editKind
owner
comment
opportunityId classification purpose comment
correlationId classification purpose comment
extensionId classification purpose comment
extensionVersion classification purpose comment
groupId classification purpose comment
availableProviders classification purpose comment
skuPlan classification purpose comment
skuType classification purpose comment
shown classification purpose comment
shownDuration classification purpose comment
shownDurationUncollapsed classification purpose comment
timeUntilShown classification purpose comment
timeUntilProviderRequest classification purpose comment
timeUntilProviderResponse classification purpose comment
reason classification purpose comment
acceptedAlternativeAction classification purpose comment
selectedSuggestionInfo classification purpose comment
partiallyAccepted classification purpose comment
partiallyAcceptedCountSinceOriginal classification purpose comment
partiallyAcceptedRatioSinceOriginal classification purpose comment
partiallyAcceptedCharactersSinceOriginal classification purpose comment
preceeded classification purpose comment
languageId classification purpose comment
requestReason classification purpose comment
typingInterval classification purpose comment
typingIntervalCharacterCount classification purpose comment
renameCreated classification purpose comment
renameDuration classification purpose comment
renameTimedOut classification purpose comment
renameDroppedOtherEdits classification purpose comment
renameDroppedRenameEdits classification purpose comment
superseded classification purpose comment
editorType classification purpose comment
viewKind classification purpose comment
cursorColumnDistance classification purpose comment
cursorLineDistance classification purpose comment
lineCountOriginal classification purpose comment
lineCountModified classification purpose comment
characterCountOriginal classification purpose comment
characterCountModified classification purpose comment
disjointReplacements classification purpose comment
sameShapeReplacements classification purpose comment
longDistanceHintVisible classification purpose comment
longDistanceHintDistance classification purpose isMeasurement comment
isForAnotherDocument classification purpose comment
noSuggestionReason classification purpose comment
notShownReason classification purpose comment
performanceMarkers classification purpose comment
editKind classification purpose comment
:
string
;
:
number
;
:
number
;
:
boolean
;
:
string
;
:
string
|
undefined
;
:
string
|
undefined
;
:
string
|
undefined
;
:
string
;
:
string
;
:
string
|
undefined
;
:
boolean
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
'accepted'
|
'rejected'
|
'ignored'
|
undefined
;
:
boolean
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
boolean
|
undefined
;
:
boolean
|
undefined
;
:
string
|
undefined
;
:
boolean
|
undefined
;
:
number
|
undefined
;
:
boolean
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
string
|
undefined
;
:
string
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
number
|
undefined
;
:
boolean
|
undefined
;
:
boolean
|
undefined
;
:
number
|
undefined
;
:
boolean
|
undefined
;
:
string
|
undefined
;
:
string
|
undefined
;
}
;
type
InlineCompletionsEndOfLifeClassification
=
{
:
'benibenj'
;
:
'Inline completions ended. @sentToGitHub'
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Unique identifier for an opportunity to show an inline completion or NES'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The correlation identifier for the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The identifier for the extension that contributed the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The version of the extension that contributed the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The group ID of the extension that contributed the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The list of available inline completion providers at the time of the request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The the plan the user is subscribed to'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The sku type of the user'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the inline completion was shown to the user'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The duration for which the inline completion was shown'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The duration for which the inline completion was shown without collapsing'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The time it took for the inline completion to be shown after the request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The time it took for the inline completion to be requested from the provider'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The time it took for the inline completion to be shown after the request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The reason for the inline completion ending'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the user performed an alternative action when accepting the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the inline completion was requested with a selected suggestion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'How often the inline completion was partially accepted by the user'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'How often the inline completion was partially accepted since the original request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The percentage of characters accepted since the original request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The character count accepted since the original request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the inline completion was preceeded by another one'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The language ID of the document where the inline completion was shown'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The reason for the inline completion request'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The average typing interval of the user at the moment the inline completion was requested'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The character count involved in the typing interval calculation'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether a rename operation was created'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The duration of the rename processor'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the rename prepare operation timed out'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of non-rename edits dropped due to rename processing'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of rename edits dropped due to rename processing'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the inline completion was superseded by another one'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The type of the editor where the inline completion was shown'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The kind of the view where the inline completion was shown'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The distance in columns from the cursor to the inline suggestion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The distance in lines from the cursor to the inline suggestion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of lines in the original text'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of lines in the modified text'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of characters in the original text'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of characters in the modified text'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The number of inner replacements made by the inline completion'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether all inner replacements are the same shape'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether a long distance hint was rendered'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
true
;
:
'The distance in lines between the long distance hint and the inline edit'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Whether the inline edit targets a different document than the one currently being edited'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The reason why no inline completion was provided'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The reason why the inline completion was not shown'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'Performance markers for the inline completion lifecycle'
}
;
:
{
:
'SystemMetaData'
;
:
'FeatureInsight'
;
:
'The kind of edit made by the inline completion'
}
;
}
;