Rename project id and change key binding

This commit is contained in:
Akshita 2019-04-11 14:38:54 -07:00
Родитель 469523a3ea
Коммит 563e1228a6
4 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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
});