Skip to content
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

Set disableLineTextInReferences=true in TS user preferences #92

Merged
merged 1 commit into from Jan 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/exerciseServer.ts
Expand Up @@ -136,7 +136,7 @@ async function exerciseServerWorker(testDir: string, tsserverPath: string, repla
"command": "configure",
"arguments": {
"preferences": {
"disableLineTextInReferences": false, // Match VS Code (and avoid uninteresting errors)
"disableLineTextInReferences": true, // Match VS Code (and avoid uninteresting errors)
"includePackageJsonAutoImports": "off" // Handle per-request instead
},
"watchOptions": {
Expand Down Expand Up @@ -433,4 +433,4 @@ ${JSON.stringify(response, undefined, 2)}`);

return response;
}
}
}