提交 8404410a 编写于 作者: S SteVen Batten

return core

上级 e8343b0b
......@@ -71,6 +71,8 @@ class ExperimentServiceFilterProvider implements IExperimentationFilterProvider
return this.machineId;
case Filters.Language:
return platform.language;
case Filters.ExtensionName:
return 'vscode-core'; // always return vscode-core for exp service
case Filters.TargetPopulation:
return this.targetPopulation;
default:
......@@ -98,6 +100,7 @@ https://experimentation.visualstudio.com/Analysis%20and%20Experimentation/_git/A
"X-VSCode–AppVersion": "appversion",
"X-VSCode-Build": "build",
"X-MSEdge-ClientId": "clientid",
"X-VSCode-ExtensionName": "extensionname",
"X-VSCode-TargetPopulation": "targetpopulation",
"X-VSCode-Language": "language"
*/
......@@ -128,6 +131,11 @@ enum Filters {
*/
ClientId = 'X-MSEdge-ClientId',
/**
* Extension header.
*/
ExtensionName = 'X-VSCode-ExtensionName',
/**
* The language in use by VS Code
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册