unocss / unocss

The instant on-demand atomic CSS engine.

Home Page:https://unocss.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

Why reproduction is required

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()],
});