Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
c180bda9
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c180bda9
编写于
9月 09, 2017
作者:
K
kieferrm
提交者:
Kai Maetzel
9月 25, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
inline values
上级
6100f3ba
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
145 addition
and
16 deletion
+145
-16
src/typings/native-keymap.d.ts
src/typings/native-keymap.d.ts
+22
-0
src/vs/base/parts/quickopen/common/quickOpen.ts
src/vs/base/parts/quickopen/common/quickOpen.ts
+5
-0
src/vs/editor/common/commonCodeEditor.ts
src/vs/editor/common/commonCodeEditor.ts
+3
-0
src/vs/platform/search/common/search.ts
src/vs/platform/search/common/search.ts
+10
-1
src/vs/platform/telemetry/common/experiments.ts
src/vs/platform/telemetry/common/experiments.ts
+5
-0
src/vs/platform/telemetry/common/telemetryUtils.ts
src/vs/platform/telemetry/common/telemetryUtils.ts
+7
-0
src/vs/workbench/api/node/extHostExtensionService.ts
src/vs/workbench/api/node/extHostExtensionService.ts
+15
-0
src/vs/workbench/browser/parts/quickopen/quickOpenController.ts
.../workbench/browser/parts/quickopen/quickOpenController.ts
+1
-1
src/vs/workbench/common/editor/resourceEditorInput.ts
src/vs/workbench/common/editor/resourceEditorInput.ts
+1
-1
src/vs/workbench/common/editor/untitledEditorInput.ts
src/vs/workbench/common/editor/untitledEditorInput.ts
+1
-1
src/vs/workbench/electron-browser/shell.ts
src/vs/workbench/electron-browser/shell.ts
+5
-2
src/vs/workbench/parts/files/common/editors/fileEditorInput.ts
...s/workbench/parts/files/common/editors/fileEditorInput.ts
+1
-1
src/vs/workbench/parts/search/browser/openAnythingHandler.ts
src/vs/workbench/parts/search/browser/openAnythingHandler.ts
+36
-2
src/vs/workbench/parts/search/common/searchModel.ts
src/vs/workbench/parts/search/common/searchModel.ts
+1
-1
src/vs/workbench/parts/welcome/page/electron-browser/welcomePage.ts
...kbench/parts/welcome/page/electron-browser/welcomePage.ts
+1
-1
src/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.ts
...s/welcome/walkThrough/electron-browser/walkThroughPart.ts
+6
-0
src/vs/workbench/parts/welcome/walkThrough/node/walkThroughInput.ts
...kbench/parts/welcome/walkThrough/node/walkThroughInput.ts
+1
-1
src/vs/workbench/services/keybinding/electron-browser/keybindingService.ts
...services/keybinding/electron-browser/keybindingService.ts
+1
-1
src/vs/workbench/services/timer/common/timerService.ts
src/vs/workbench/services/timer/common/timerService.ts
+23
-3
未找到文件。
src/typings/native-keymap.d.ts
浏览文件 @
c180bda9
...
...
@@ -42,12 +42,28 @@ declare module 'native-keymap' {
export
function
getKeyMap
():
IKeyboardMapping
;
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"name" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"id": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"text": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
IWindowsKeyboardLayoutInfo
{
name
:
string
;
id
:
string
;
text
:
string
;
}
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"model" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"layout": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"variant": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"options": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"rules": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
ILinuxKeyboardLayoutInfo
{
model
:
string
;
layout
:
string
;
...
...
@@ -56,6 +72,12 @@ declare module 'native-keymap' {
rules
:
string
;
}
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"id" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"lang": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
IMacKeyboardLayoutInfo
{
id
:
string
;
lang
:
string
;
...
...
src/vs/base/parts/quickopen/common/quickOpen.ts
浏览文件 @
c180bda9
...
...
@@ -6,6 +6,11 @@
import
{
ResolvedKeybinding
}
from
'
vs/base/common/keyCodes
'
;
/* __GDPR__FRAGMENT__
"IQuickNavigateConfiguration" : {
"keybindings" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
IQuickNavigateConfiguration
{
keybindings
:
ResolvedKeybinding
[];
}
...
...
src/vs/editor/common/commonCodeEditor.ts
浏览文件 @
c180bda9
...
...
@@ -1004,6 +1004,9 @@ export abstract class CommonCodeEditor extends Disposable implements editorCommo
protected
abstract
_removeDecorationType
(
key
:
string
):
void
;
protected
abstract
_resolveDecorationOptions
(
typeKey
:
string
,
writable
:
boolean
):
editorCommon
.
IModelDecorationOptions
;
/* __GDPR__FRAGMENT__
"EditorTelemetryData" : {}
*/
public
getTelemetryData
():
{
[
key
:
string
]:
any
;
}
{
return
null
;
}
...
...
src/vs/platform/search/common/search.ts
浏览文件 @
c180bda9
...
...
@@ -70,7 +70,16 @@ export enum QueryType {
File
=
1
,
Text
=
2
}
/* __GDPR__FRAGMENT__
"IPatternInfo" : {
"pattern" : { "endPoint": "none", "classification": "CustomerContent", "purpose": "FeatureInsight" },
"isRegExp": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isWordMatch": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"wordSeparators": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isMultiline": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isCaseSensitive": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
IPatternInfo
{
pattern
:
string
;
isRegExp
?:
boolean
;
...
...
src/vs/platform/telemetry/common/experiments.ts
浏览文件 @
c180bda9
...
...
@@ -8,6 +8,11 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur
import
{
IStorageService
}
from
'
vs/platform/storage/common/storage
'
;
import
{
createDecorator
}
from
'
vs/platform/instantiation/common/instantiation
'
;
/* __GDPR__FRAGMENT__
"IExperiments" : {
"deployToAzureQuickLink" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export
interface
IExperiments
{
ripgrepQuickSearch
:
boolean
;
}
...
...
src/vs/platform/telemetry/common/telemetryUtils.ts
浏览文件 @
c180bda9
...
...
@@ -66,6 +66,13 @@ export function anonymize(input: string): string {
return
r
;
}
/* __GDPR__FRAGMENT__
"URIDescriptor" : {
"mimeType" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"ext": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"path": { "endPoint": "none", "classification": "CustomerContent", "purpose": "FeatureInsight" }
}
*/
export
interface
URIDescriptor
{
mimeType
?:
string
;
ext
?:
string
;
...
...
src/vs/workbench/api/node/extHostExtensionService.ts
浏览文件 @
c180bda9
...
...
@@ -387,6 +387,21 @@ function loadCommonJSModule<T>(modulePath: string, activationTimesBuilder: Exten
}
function
getTelemetryActivationEvent
(
extensionDescription
:
IExtensionDescription
):
any
{
/* __GDPR__FRAGMENT__
"TelemetryActivationEvent" : {
"id": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"name": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"publisherDisplayName": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"activationEvents": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isBuiltin": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"${wildcard}": [
{
"${prefix}": "contribution.",
"${property}": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
]
}
*/
let
event
=
{
id
:
extensionDescription
.
id
,
name
:
extensionDescription
.
name
,
...
...
src/vs/workbench/browser/parts/quickopen/quickOpenController.ts
浏览文件 @
c180bda9
...
...
@@ -555,7 +555,7 @@ export class QuickOpenController extends Component implements IQuickOpenService
/* __GDPR__
"quickOpenWidgetShown" : {
"mode" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"quickNavigate": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"quickNavigate": { "
${inline}": [ "${IQuickNavigateConfiguration}" ]
}
}
*/
this
.
telemetryService
.
publicLog
(
'
quickOpenWidgetShown
'
,
{
mode
:
handlerDescriptor
.
getId
(),
quickNavigate
:
quickNavigateConfiguration
});
...
...
src/vs/workbench/common/editor/resourceEditorInput.ts
浏览文件 @
c180bda9
...
...
@@ -74,7 +74,7 @@ export class ResourceEditorInput extends EditorInput {
/* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : {
"resource": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"resource": { "
${inline}": [ "${URIDescriptor}" ]
}
}
*/
return
descriptor
;
...
...
src/vs/workbench/common/editor/untitledEditorInput.ts
浏览文件 @
c180bda9
...
...
@@ -256,7 +256,7 @@ export class UntitledEditorInput extends EditorInput implements IEncodingSupport
/* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : {
"resource": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"resource": { "
${inline}": [ "${URIDescriptor}" ]
}
}
*/
return
descriptor
;
...
...
src/vs/workbench/electron-browser/shell.ts
浏览文件 @
c180bda9
...
...
@@ -202,7 +202,10 @@ export class WorkbenchShell {
/* __GDPR__
"workspaceLoad" : {
"userAgent" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.innerHeight": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.innerWidth": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.outerHeight": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.outerWidth": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"emptyWorkbench": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"workbench.filesToOpen": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"workbench.filesToCreate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
...
...
@@ -210,7 +213,7 @@ export class WorkbenchShell {
"customKeybindingsCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"theme": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"language": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "BusinessInsight" },
"experiments": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "BusinessInsight"
},
"experiments": { "
${inline}": [ "${IExperiments}" ]
},
"pinnedViewlets": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"restoredViewlet": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"restoredEditors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
...
...
src/vs/workbench/parts/files/common/editors/fileEditorInput.ts
浏览文件 @
c180bda9
...
...
@@ -279,7 +279,7 @@ export class FileEditorInput extends EditorInput implements IFileEditorInput {
/* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : {
"resource": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"resource": { "
${inline}": [ "${URIDescriptor}" ]
}
}
*/
return
descriptor
;
...
...
src/vs/workbench/parts/search/browser/openAnythingHandler.ts
浏览文件 @
c180bda9
...
...
@@ -38,10 +38,44 @@ interface ISearchWithRange {
"unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"symbols": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
"symbols.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.traversal": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.errors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.fileWalkStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.fileWalkResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.directoriesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.filesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdForkStartTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdForkResultTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdResultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheLookupStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheFilterStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheLookupResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheEntryCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.traversal": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.errors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fileWalkStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fileWalkResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.directoriesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.filesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdForkStartTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdForkResultTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdResultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheLookupStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheFilterStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheLookupResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheEntryCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
}
*/
// GDPR__TODO joined seems to be recursive
interface
ITimerEventData
{
searchLength
:
number
;
unsortedResultDuration
:
number
;
...
...
src/vs/workbench/parts/search/common/searchModel.ts
浏览文件 @
c180bda9
...
...
@@ -773,7 +773,7 @@ export class SearchModel extends Disposable {
"searchresultsShown" : {
"count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"fileCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"options": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
},
"options": { "
${inline}": [ "${IPatternInfo}" ]
},
"duration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"useRipgrep": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
...
...
src/vs/workbench/parts/welcome/page/electron-browser/welcomePage.ts
浏览文件 @
c180bda9
...
...
@@ -411,7 +411,7 @@ class WelcomePage {
/* __GDPR__FRAGMENT__
"WelcomePageInstall-1" : {
"from" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"extension
s
Id": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
"extensionId": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
this
.
telemetryService
.
publicLog
(
strings
.
installEvent
,
{
...
...
src/vs/workbench/parts/welcome/walkThrough/electron-browser/walkThroughPart.ts
浏览文件 @
c180bda9
...
...
@@ -354,6 +354,12 @@ export class WalkThroughPart extends BaseEditor {
const
div
=
innerContent
.
querySelector
(
`#
${
id
.
replace
(
/
\.
/g
,
'
\\
.
'
)}
`
)
as
HTMLElement
;
const
options
=
this
.
getEditorOptions
(
snippet
.
textEditorModel
.
getModeId
());
/* __GDPR__FRAGMENT__
"EditorTelemetryData" : {
"target" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"snippet": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
const
telemetryData
=
{
target
:
this
.
input
instanceof
WalkThroughInput
?
this
.
input
.
getTelemetryFrom
()
:
undefined
,
snippet
:
i
...
...
src/vs/workbench/parts/welcome/walkThrough/node/walkThroughInput.ts
浏览文件 @
c180bda9
...
...
@@ -96,7 +96,7 @@ export class WalkThroughInput extends EditorInput {
/* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : {
"target" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"resource": { "
endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"resource": { "
${inline}": [ "${URIDescriptor}" ]
}
}
*/
return
descriptor
;
...
...
src/vs/workbench/services/keybinding/electron-browser/keybindingService.ts
浏览文件 @
c180bda9
...
...
@@ -320,7 +320,7 @@ export class WorkbenchKeybindingService extends AbstractKeybindingService {
let
data
=
KeyboardMapperFactory
.
INSTANCE
.
getCurrentKeyboardLayout
();
/* __GDPR__
"keyboardLayout" : {
"currentKeyboardLayout" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight"
}
"currentKeyboardLayout": { "${inline}": [ "${IKeyboardLayoutInfo}" ]
}
}
*/
telemetryService
.
publicLog
(
'
keyboardLayout
'
,
{
...
...
src/vs/workbench/services/timer/common/timerService.ts
浏览文件 @
c180bda9
...
...
@@ -8,6 +8,14 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
export
const
ITimerService
=
createDecorator
<
ITimerService
>
(
'
timerService
'
);
/* __GDPR__FRAGMENT__
"IMemoryInfo" : {
"workingSetSize" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"peakWorkingSetSize": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"privateBytes": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"sharedBytes": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
}
*/
export
interface
IMemoryInfo
{
workingSetSize
:
number
;
peakWorkingSetSize
:
number
;
...
...
@@ -19,14 +27,25 @@ export interface IMemoryInfo {
"IStartupMetrics" : {
"version" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"ellapsed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedAppReady" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWindowLoad" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWindowLoadToRequire" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedExtensions" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedExtensionsReady" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedRequire" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedViewletRestore" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedEditorRestore" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWorkbench" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedTimersToTimersComputed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers2" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"platform" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"release" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"arch" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"totalmem" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"meminfo" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"cpus" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"meminfo" : { "${inline}": [ "${IMemoryInfo}" ] },
"cpus.count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"cpus.speed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"cpus.model" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"initialStartup" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"hasAccessibilitySupport" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"isVMLikelyhood" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
...
...
@@ -49,6 +68,7 @@ export interface IStartupMetrics {
ellapsedWorkbench
:
number
;
ellapsedTimersToTimersComputed
:
number
;
};
// GDPR__TODO: Dynamic property set with timer2, cannot be declared in the registry
timers2
:
{
[
name
:
string
]:
number
};
platform
:
string
;
release
:
string
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录