windicss / windicss-intellisense

Intelligent WindiCSS tooling for VS Code
https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense
MIT License
194 stars 16 forks source link

windicss-intellisense In VScode not working #361

Open potatoes0521 opened 2 years ago

potatoes0521 commented 2 years ago

When I configure windi.config.js It not working?

Do I have any mistakes here?

Project is Vue cli

import { transform } from "windicss/helpers";

export default {
  attributify: {
    // ‘w’ => w:bg="blue-400"
    prefix: "w",
  },
  darkMode: "class",
  transformCSS: "pre",
  extract: {
    include: ["**/*.{vue,html,jsx,tsx,ts}"],
    exclude: [
      "node_modules",
      ".git",
      "excluded",
      "dist",
      "windi.config.{ts,js}",
      "tailwind.config.{ts,js}",
    ],
  },
  alias: {},
  shortcuts: {},
  theme: {
    extend: {
      zIndex: {
        "-1": "-1",
      },
      colors: {},
    },
  },
  plugins: [
    transform("windicss/plugin/line-clamp"),
    transform("windicss/plugin/typography"),
    transform("@windicss/plugin-scrollbar"),
  ],
};
lianghx-319 commented 2 years ago

I am suffering the same situation. How can we provide some debug informations?

alexanderniebuhr commented 2 years ago

Output Channel Logs and minimal git repository

lianghx-319 commented 2 years ago

I am suffering the same situation. How can we provide some debug informations?

image

I frequently got this warning. I use windicss in rushjs monorepo

alexanderniebuhr commented 2 years ago

I frequently got this warning. I use windicss in rushjs monorepo

You should get better experience with our experimental pre-release