-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
"typescript.suggest.enabled": false still shows TypeScript suggestions if cache was once initiated #111031
Comments
For JS files you should use Could you please clarify what initial problem you want to solve with removing these types? Why not instruct users to put Or if they have {
"typeAcquisition": {
"exclude": ["gestalt"]
}
} UDP. or disable ATA {
"typeAcquisition": {
"enable": false
}
} See https://www.typescriptlang.org/tsconfig#typeAcquisition for more details. |
@IllusionMH
The initial problem we were trying to solve is the CMD+click on a prop would always open a modal where we still had to choose between TypeScript and Flow, instead of directly taking you to the flow type Now, with |
If yoy are going to use Flow instead of TS it's recommended to desable built-in TS extension for this workspace to avoid conflicts between two language services. See https://marketplace.visualstudio.com/items?itemName=flowtype.flow-for-vscode#setup And linked instructions: https://code.visualstudio.com/docs/nodejs/working-with-javascript#_disable-javascript-support Even with ATA disabled, some of modules in project might bring |
@IllusionMH thanks - we already had the following options set to disable the TypeScript integration but the suggestions still showed up:
Is there a way to programmatically, without each developer having to manually follow these steps, disable the |
Steps to Reproduce
bottom
"typescript.suggest.enabled": false
bottom
Current Workaround
Delete the TypeScript cache
"typescript.suggest.enabled": false
rm -rf ~/.cache/typescript/4.0/node_modules/@types/gestalt/
bottom
This is less than ideal since:
"typescript.suggest.enabled": false
setOther Notes
code --disable-extensions
?vscode.typescript-language-features
The text was updated successfully, but these errors were encountered: