Skip to content

Commit

Permalink
Enable ATA on web by default again
Browse files Browse the repository at this point in the history
For microsoft#182791

Enabling for further testing
  • Loading branch information
mjbvz committed Aug 23, 2024
1 parent c2aa3c4 commit bedf9f4
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 @@ -1410,13 +1410,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 bedf9f4

Please sign in to comment.