简体   繁体   English

如何在WebStorm中重置设置?

[英]How to reset setting in WebStorm?

I don't know what happen to my WebStorm settings but previously whenever I add new react component it gave me a warning by adding underline above the component name. 我不知道WebStorm设置会发生什么,但是以前,每当我添加新的react组件时,它都会通过在组件名称上方添加下划线向我发出警告。 But now it is not showing any warnings. 但是现在它没有显示任何警告。 Why? 为什么?

Please see my screenshot example currently in screenshot function is not defined so it gives underline. 请查看我的屏幕快照示例,该示例当前未在屏幕截图功能中定义,因此它带有下划线。

How to reset the setting? 如何重设设定?

在此处输入图片说明

In screenshot I added Button,Dialog,DialogTitle but not imported. 在屏幕快照中,我添加了Button,Dialog,DialogTitle ,但未导入。 It is not giving any warning, why? 它没有给出任何警告,为什么?

We intentionally decided not to mark the components as unresolved because there were quite a lot of patterns of defining the React components, especially in the component libraries that WebStorm couldn't recognize. 我们有意决定不将组件标记为未解决,因为存在很多定义React组件的模式,尤其是在WebStorm无法识别的组件库中。 So instead we decided to only show the missing import inspection for the cases where we knew where the component was defined. 因此,我们决定只在知道组件定义位置的情况下显示缺少的进口检验。 We will review of how it all works now and will enable the inspection if it doesn't generate too much false positives. 我们将回顾一下这一切的工作方式,如果不会产生太多误报,将启用检查。

Please vote for WEB-32549 to be notified on any progress with this feature 请投票支持WEB-32549 ,以通知该功能任何进展

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

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