[英]How to turn off WebStorm auto-suggestions
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.