简体   繁体   English

如何关闭WebStorm自动建议

[英]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 Add TypeScript imports automatically复选框,可以完全禁用TypeScript自动导入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. Settings | Editor | General | Auto Import -导入建议可在参考上的显式Alt+Enter上找到。 If you'd like to disable import suggestions for particular statement only, you can add // noinspection TypeScriptUnresolvedVariable comment above it 如果您只想禁用特定语句的导入建议,则可以在其上方添加// noinspection TypeScriptUnresolvedVariable注释

These suggestions are came from Settings -> Editor -> Inspections -> TypeScript . 这些建议来自Settings -> Editor -> Inspections -> TypeScript Uncheck those suggestions if you don't need it. 如果不需要,请取消选中这些建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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