I recently switched to the Mac system, but I encountered issues with VSCode regarding suggestions. The experience is quite different from Windows. Everything is set up correctly, but I still do not know how to display the suggestions.
Additionally, the shortcuts are complicated in the Mac system. I tried modifying them and pressing buttons similar to the Windows system, like Ctrl + Space, but nothing changes, and the suggestions still do not appear, including Tailwind suggestions.
the tailwind config:
import type { Config } from "tailwindcss"
import tailwindScrollbar from "tailwind-scrollbar"
import daisyui from "daisyui"
const Config = {
content: ["./src/frontend/index.html", "./src/frontend/**/*.{js,ts,jsx,tsx,html}"],
theme: {
extend: {}
},
plugins: [tailwindScrollbar({ nocompatible: true }), daisyui]
}
export default Config
the vscode settings:
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.quickSuggestions": {
"strings": true
},
"files.associations": {
"*.css": "tailwindcss"
},
"tailwindCSS.includeLanguages": {
"plaintext": "html",
},
"json.schemaDownload.enable": false,
}
the shortscuts of vscode:
image of shortscuts in vscode
Explanation of VSCode shortcuts on Mac that are similar to Windows shortcuts, and can see the tailwind suggestions in vscode on macOS