VSCode extension autocomplete not working
hiovi opened this issue · comments
UnoCSS version
v0.61.0
Describe the bug
Autocomplete doesn't work in VSCode. I'm not sure if this is a bug or the feature hasn't been implemented yet.
Reproduction
I have used both uno default preset as well as my own but couldn't get auto complete working. It does seem to work in the online playground though.
System Info
No response
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.
i encouted the same issue today try adding presetUno in your uno.config.ts file
import { defineConfig } from "unocss";
import { presetUno, presetAttributify } from "unocss";
export default defineConfig({
presets: [presetAttributify(), presetUno()],
});