Rename project id and change key binding
This commit is contained in:
Родитель
469523a3ea
Коммит
563e1228a6
|
@ -837,8 +837,8 @@
|
|||
"keybindings": [
|
||||
{
|
||||
"command": "o.showOutput",
|
||||
"key": "Ctrl+L L",
|
||||
"mac": "Cmd+L L"
|
||||
"key": "Ctrl+Shift+F9",
|
||||
"mac": "Cmd+Shift+F9"
|
||||
},
|
||||
{
|
||||
"command": "csharp.setNextStatement",
|
||||
|
|
|
@ -46,7 +46,7 @@ export class TelemetryObserver {
|
|||
break;
|
||||
case EventType.ProjectConfigurationReceived:
|
||||
let projectConfig = (<ProjectConfiguration>event).projectConfiguration;
|
||||
telemetryProps['ProjectId'] = projectConfig.ProjectGuid;
|
||||
telemetryProps['ProjectId'] = projectConfig.ProjectId;
|
||||
telemetryProps['TargetFrameworks'] = projectConfig.TargetFrameworks.join("|");
|
||||
telemetryProps['References'] = projectConfig.References.join("|");
|
||||
telemetryProps['FileExtensions'] = projectConfig.FileExtensions.join("|");
|
||||
|
|
|
@ -431,7 +431,7 @@ export interface UnresolvedDependenciesMessage {
|
|||
}
|
||||
|
||||
export interface ProjectConfigurationMessage {
|
||||
ProjectGuid: string;
|
||||
ProjectId: string;
|
||||
TargetFrameworks: string[];
|
||||
References: string[];
|
||||
FileExtensions: string[];
|
||||
|
|
|
@ -49,14 +49,14 @@ suite('TelemetryReporterObserver', () => {
|
|||
expect(property).to.have.property("installStage", "completeSuccess");
|
||||
});
|
||||
|
||||
test(`${ProjectConfiguration.name}: Telemetry props contains project file path and target framework`, () => {
|
||||
test(`${ProjectConfiguration.name}: Telemetry props contains project id and target framework`, () => {
|
||||
const targetFrameworks = new Array("tfm1", "tfm2");
|
||||
const projectId = "projectFilePath";
|
||||
const projectId = "sample";
|
||||
const references = new Array("ref1", "ref2");
|
||||
const fileExtensions = new Array(".cs", ".cshtml");
|
||||
let event = new ProjectConfiguration({
|
||||
TargetFrameworks: targetFrameworks,
|
||||
ProjectGuid: projectId,
|
||||
ProjectId: projectId,
|
||||
References: references,
|
||||
FileExtensions: fileExtensions
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче