看到知乎上的回答,vscode修改设置的:
"editor.parameterHints": true, "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }PS:可惜写样式的时候只能按照顺序往后加,如果写了一个之后样式之后,再往前写就没有提示了