mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
indentation changes
This commit is contained in:
@@ -146,14 +146,14 @@ export function createApiFactory(
|
||||
}
|
||||
this._seen.add(apiName);
|
||||
/* __GDPR__
|
||||
"apiUsage" : {
|
||||
"name" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"extension": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
"apiUsage" : {
|
||||
"name" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"extension": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
return mainThreadTelemetry.$publicLog('apiUsage', {
|
||||
name: apiName,
|
||||
extension: extension.id
|
||||
@@ -504,15 +504,15 @@ export function createApiFactory(
|
||||
},
|
||||
createSourceControl(id: string, label: string, rootUri?: vscode.Uri) {
|
||||
/* __GDPR__
|
||||
"registerSCMProvider" : {
|
||||
"extensionId" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"providerId": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"providerLabel": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
"registerSCMProvider" : {
|
||||
"extensionId" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"providerId": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"providerLabel": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
mainThreadTelemetry.$publicLog('registerSCMProvider', {
|
||||
extensionId: extension.id,
|
||||
providerId: id,
|
||||
|
||||
@@ -282,12 +282,12 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
|
||||
private _doActivateExtension(extensionDescription: IExtensionDescription, startup: boolean): TPromise<ActivatedExtension> {
|
||||
let event = getTelemetryActivationEvent(extensionDescription);
|
||||
/* __GDPR__
|
||||
"activatePlugin" : {
|
||||
"${include}": [
|
||||
"${TelemetryActivationEvent}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
"activatePlugin" : {
|
||||
"${include}": [
|
||||
"${TelemetryActivationEvent}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
this._mainThreadTelemetry.$publicLog('activatePlugin', event);
|
||||
if (!extensionDescription.main) {
|
||||
// Treat the extension as being empty => NOT AN ERROR CASE
|
||||
@@ -388,20 +388,20 @@ function loadCommonJSModule<T>(modulePath: string, activationTimesBuilder: Exten
|
||||
|
||||
function getTelemetryActivationEvent(extensionDescription: IExtensionDescription): any {
|
||||
/* __GDPR__FRAGMENT__
|
||||
"TelemetryActivationEvent" : {
|
||||
"id": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"name": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"publisherDisplayName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"activationEvents": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"isBuiltin": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${wildcard}": [
|
||||
{
|
||||
"${prefix}": "contribution.",
|
||||
"${classification}": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
|
||||
}
|
||||
"TelemetryActivationEvent" : {
|
||||
"id": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"name": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"publisherDisplayName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"activationEvents": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"isBuiltin": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${wildcard}": [
|
||||
{
|
||||
"${prefix}": "contribution.",
|
||||
"${classification}": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
|
||||
}
|
||||
]
|
||||
}
|
||||
*/
|
||||
}
|
||||
*/
|
||||
let event = {
|
||||
id: extensionDescription.id,
|
||||
name: extensionDescription.name,
|
||||
|
||||
@@ -596,14 +596,14 @@ export class ExtHostTextEditor2 extends ExtHostTextEditor {
|
||||
const extension = index.findSubstr(call.getFileName());
|
||||
if (extension) {
|
||||
/* __GDPR__
|
||||
"usesCommandLink" : {
|
||||
"extension" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"from": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
"usesCommandLink" : {
|
||||
"extension" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"from": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"${include}": [
|
||||
"${MainThreadData}"
|
||||
]
|
||||
}
|
||||
*/
|
||||
this._mainThreadTelemetry.$publicLog('usesCommandLink', {
|
||||
extension: extension.id,
|
||||
from: 'decoration',
|
||||
|
||||
Reference in New Issue
Block a user