Skip to content

Disable checkJS survey #29830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 11, 2019
Merged

Disable checkJS survey #29830

merged 3 commits into from
Feb 11, 2019

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Feb 8, 2019

Leaves in place the infrastructure of #26455, but disables the actual sending of the event.

@sandersn sandersn requested a review from sheetalkamat February 8, 2019 18:32
@@ -1616,13 +1616,6 @@ namespace ts.server {
if (this.seenSurveyProjects.has(project.projectName)) {
Copy link
Member

Choose a reason for hiding this comment

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

Should we probably remove these methods and maps as well ? (and the even name for compatibility?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, we will need all the same infrastructure for future surveys. The question is how likely we are to need a survey soon.
I can definitely remove the entire thing if you think it's the right thing.

@@ -2493,18 +2493,6 @@ namespace ts.server.protocol {
projectName: string;
}

export type SurveyReadyEventName = "surveyReady";
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure if we need to keep this? For compatibility?

Copy link
Member Author

Choose a reason for hiding this comment

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

That implies everything in this file, right?

It does indeed look like VS Code still depends on this. (I mentioned removing the survey to Matt last month but didn't get a firm commitment on it.)
https://github.com/Microsoft/vscode/blob/248aea7fd51a703a7ab94ae5a582c85c11fbff33/extensions/typescript-language-features/src/typescriptServiceClient.ts

@sandersn sandersn merged commit 17d16d1 into master Feb 11, 2019
@sandersn sandersn deleted the disable-checkjs-survey branch February 11, 2019 16:36
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.

2 participants