简体   繁体   English

视觉代码 css 智能感知怪异交互

[英]Visual Code css intellisense weird interaction

On a ReactJS project, if I choose the style Jsx Attribute for inline CSS,在 ReactJS 项目中,如果我为内联 CSS 选择样式 Jsx 属性,

vs code 建议的样式属性 . .

Then CSS intellisense won't work or work only after I add some fields manually.然后 CSS 智能感知将不起作用或仅在我手动添加一些字段后才起作用。

But if I type the style attribute manually without clicking on the jsx attribute that VSCODE suggested, it would work normally.但是,如果我手动键入样式属性而不单击 VSCODE 建议的 jsx 属性,它将正常工作。

Sometimes VSCode Intellisense does not work.有时 VSCode Intellisense 不起作用。 not sure but this may be a bug but it shouldn't be that problematic.不确定,但这可能是一个错误,但不应该有那么大的问题。

but if it does bother you that much then try this kite .但如果它确实让你很烦恼,那就试试这个风筝吧。 kite is more like auto-complete.风筝更像是自动完成。

https://www.kite.com/integrations/vs-code/ https://www.kite.com/integrations/vs-code/

And if don't want auto-complete then add this extension in your VSCode.如果不想自动完成,那么在你的 VSCode 中添加这个扩展。 在此处输入图像描述

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

相关问题 用于 React 中样式 CSS 的 Visual Studio Code Intellisense? - Visual Studio Code Intellisense for style CSS in React? Visual Studio代码中用于引导CSS类的Intellisense - Intellisense for bootstrap css classes in visual studio code Visual Studio 2015 CSS Intellisense破碎 - Visual Studio 2015 CSS Intellisense Broken Visual Studio Express 2013 CSS Intellisense无法正常工作 - Visual Studio Express 2013 CSS Intellisense not working Visual Studio 2015 智能感知与 css 字体真棒 - Visual studio 2015 intellisense with css font awesome 用于 CSS 网格和 CSS 模块的 vs 代码和智能感知 - vs code and intellisense for CSS Grid and CSS Modules jQuery append()与CSS的怪异互动display:inline-block - jquery append() weird interaction with css display:inline-block 如何在.less文件上打开Visual Studio 2010 .css Intellisense - How to turn on Visual Studio 2010 .css Intellisense on .less file 如何在.less文件上打开Visual Studio 2008 .css Intellisense - How to turn on Visual Studio 2008 .css Intellisense on .less file 在部分视图和内容页面中查看CSS Intellisense - Visual Studio 2010? - Viewing CSS Intellisense in partial views and Content pages - Visual Studio 2010?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM