【问题标题】:Visual Code css intellisense weird interactionVisual Code css intellisense 奇怪的交互
【发布时间】:2022-01-20 06:30:32
【问题描述】:

在 ReactJS 项目中,如果我为内联 CSS 选择样式 Jsx 属性,

.

那么 CSS intellisense 将无法工作或只有在我手动添加一些字段后才能工作。

但是如果我手动键入样式属性而不点击 VSCODE 建议的 jsx 属性,它会正常工作。

【问题讨论】:

    标签: css reactjs visual-studio-code intellisense


    【解决方案1】:

    有时 VSCode Intellisense 不起作用。不确定,但这可能是一个错误,但应该不会有那么大的问题。

    但如果它确实让你感到困扰,那么试试这个kite。风筝更像 自动完成。

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

    如果不想自动完成,请在您的 VSCode 中添加 this 扩展名。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-22
      • 2012-08-19
      • 1970-01-01
      • 2013-10-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-05
      相关资源
      最近更新 更多