简体   繁体   中英

How to turn off WebStorm auto-suggestions

I can't figure out how to turn off these suggestions:

在此处输入图片说明

Anybody know what the name of those suggestions is?

You can disable TypeScript auto-imports completely, by clearing Add TypeScript imports automatically checkbox in Settings | Editor | General | Auto Import Settings | Editor | General | Auto Import Settings | Editor | General | Auto Import - import suggestions will be available on explicit Alt+Enter on the reference. If you'd like to disable import suggestions for particular statement only, you can add // noinspection TypeScriptUnresolvedVariable comment above it

These suggestions are came from Settings -> Editor -> Inspections -> TypeScript . Uncheck those suggestions if you don't need it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM