Skip to content

Commit

Permalink
Merge pull request #226485 from mjbvz/informal-echidna
Browse files Browse the repository at this point in the history
Enable ATA on web by default again
  • Loading branch information
mjbvz authored Aug 23, 2024
2 parents a8a3339 + bedf9f4 commit 89f2077
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/typescript-language-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1426,13 +1426,13 @@
},
"typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors": {
"type": "boolean",
"default": true,
"default": false,
"description": "%configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors%",
"scope": "window"
},
"typescript.tsserver.web.typeAcquisition.enabled": {
"type": "boolean",
"default": false,
"default": true,
"description": "%configuration.tsserver.web.typeAcquisition.enabled%",
"scope": "window"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ export abstract class BaseServiceConfigurationProvider implements ServiceConfigu
}

private readWebProjectWideIntellisenseSuppressSemanticErrors(configuration: vscode.WorkspaceConfiguration): boolean {
return configuration.get<boolean>('typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors', true);
return this.readWebTypeAcquisition(configuration) && configuration.get<boolean>('typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors', false);
}

private readWebTypeAcquisition(configuration: vscode.WorkspaceConfiguration): boolean {
return configuration.get<boolean>('typescript.tsserver.web.typeAcquisition.enabled', false);
return configuration.get<boolean>('typescript.tsserver.web.typeAcquisition.enabled', true);
}

private readEnableRegionDiagnostics(configuration: vscode.WorkspaceConfiguration): boolean {
Expand Down

0 comments on commit 89f2077

Please sign in to comment.