Skip to content

add telemetry to send usage data - #45

Merged
Yan Zhang (Eskibear) merged 4 commits into
microsoft:masterfrom
Eskibear:pr
Sep 25, 2017
Merged

Yan Zhang (Eskibear) merged 4 commits into
microsoft:masterfrom
Eskibear:pr

Conversation

@Eskibear

Copy link
Copy Markdown
Member

No description provided.

@msftclas

Yan Zhang (@Eskibear),
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Comment thread src/commands.ts
export const JAVA_BUILD_WORKSPACE = "vscode.java.buildWorkspace";

export const JAVA_EXECUTE_WORKSPACE_COMMAND = "java.execute.workspaceCommand";
export const VSCODE_STARTDEBUG = "vscode.startDebug";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add back license header

Comment thread src/extension.ts
setInterval(function() {
fetchUsageData().then(ret => {
if (Array.isArray(ret) && ret.length) {
ret.forEach(entry => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are not in debug, this still is still fetching data which is void operation

Comment thread src/commands.ts
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

export const VSCODE_STARTDEBUG = "vscode.startDebug";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have so many changes in this file?

@akaroml Rome Li (akaroml) mentioned this pull request Sep 25, 2017
19 tasks done
@Eskibear
Yan Zhang (Eskibear) merged commit 6df82bc into microsoft:master Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants