re-ovo / unocss-intellij

Unocss support on Intellij Idea/WebStorm
https://plugins.jetbrains.com/plugin/22204-unocss
MIT License
169 stars 12 forks source link

Tagify plugin support #55

Closed Rasool-deldar closed 7 months ago

Rasool-deldar commented 7 months ago

Please support tagify plugin

image

Environment Plugin Version: 1.4.4 IDE Version: 2023.3.3 Unocss Version(in package.json): 0.58.4

Unocss Config: (Share your uno.config.js/ts or vite config here)

// uno.config.ts
import { defineConfig, presetUno } from 'unocss';
import presetTagify from '@unocss/preset-tagify'
import transformerDirectives from '@unocss/transformer-directives';
import transformerCompileClass from '@unocss/transformer-compile-class';
import transformerVariantGroup from '@unocss/transformer-variant-group';

export default defineConfig({
  details: true,
  presets: [
    presetUno(),
    presetTagify({ /* options */ }),
  ],
  transformers: [
    transformerDirectives({
      // the defaults
      applyVariable: ['--at-apply', '--uno-apply', '--uno'],
      // or disable with:
      // applyVariable: false
    }),
    transformerCompileClass({ classPrefix: 'chx-' }),
    transformerVariantGroup(),
  ],
});
re-ovo commented 7 months ago

ok

re-ovo commented 7 months ago

I will provide error suppression in next update, but no highlighting and documentation functions, because the vscode plug-in does not support it either

I recommend not using this preset, it's too aggressive