英文:
No CSS auto-complete with VScode and styled components
问题
I am working with styled-components in a jsx file, when suddenly the auto-completion(emmet?) disappeared. I have the VScode styled-component extension and can't figure out what happened.
它只会自动完成HTML属性。
I miss it! and I miss being able to click ctrl+space to see my options
我想它!我也想能够点击ctrl+space来查看我的选项。
send help.this is how it looks like when trying to add padding
send help.这是在尝试添加填充时的外观
this is how i expect it to work
I have vscode-styled-components extension installed
我已经安装了vscode-styled-components扩展
Also I set
此外,我设置了
"emmet.triggerExpansionOnTab": true
英文:
I am working with styled-components in a jsx file, when suddenly the auto-completion(emmet?) disappeared. I have the VScode styled-component extension and can't figure out what happened.
it only auto-completes to html properties.
I miss it! and I miss being able to click ctrl+space to see my options
send help.this is how it looks like when trying to add padding
this is how i expect it to work
I have vscode-styled-components extension installed
Also I set
"emmet.triggerExpansionOnTab": true
答案1
得分: 1
同样的事情发生在我身上。
如果你正在使用版本1.77.0,对我来说有效的方法是回到VSCode的1.76.2版本。
在“帮助” > “关于”中查看你的版本。
链接:https://code.visualstudio.com/updates/v1_76
英文:
The same thing happened to me.
If you're using version 1.77.0, what worked for me was going back to version 1.76.2 of VSCode.
Look at your version in Help > About
答案2
得分: 0
我也遇到了同样的问题,我只是将 vscode-styled-components 扩展的版本降级到 1.7.5,然后手动更新到当前版本 1.7.8,这对我有效。
英文:
I also had the same issue
and I just downgraded the version of vscode-styled-components extension to 1.7.5 and then updated it manually to the current version-1.7.8 and it worked for me.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论