vscode-twind-intellisense icon indicating copy to clipboard operation
vscode-twind-intellisense copied to clipboard

About Twind's auto-completion when developing Deno's Fresh in VScode

Open kei3dev opened this issue 2 years ago • 3 comments

How can I get Twind auto-completion to work when developing Deno's Fresh in VScode? Is Twind Intellisense not possible and Tailwind CSS IntelliSense needs to be set to work?

// environment

$ deno --version 
deno 1.35.0 (release, aarch64-apple-darwin)
v8 11.6.189.7
typescript 5.1.6
// deno.json

{
  "lock": false,
  "tasks": {
    "start": "deno run -A --watch=static/,routes/ dev.ts",
    "update": "deno run -A -r https://fresh.deno.dev/update ."
  },
  "imports": {
    "$fresh/": "https://deno.land/x/[email protected]/",
    "preact": "https://esm.sh/[email protected]",
    "preact/": "https://esm.sh/[email protected]/",
    "preact-render-to-string": "https://esm.sh/*[email protected]",
    "@preact/signals": "https://esm.sh/*@preact/[email protected]",
    "@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
    "twind": "https://esm.sh/[email protected]",
    "twind/": "https://esm.sh/[email protected]/",
    "$std/": "https://deno.land/[email protected]/"
  },
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "preact"
  }
}

kei3dev avatar Jul 07 '23 05:07 kei3dev

I also have the same doubt, the twind autocomplete does not work for me in vscode

sebastiandotdev avatar Jul 24 '23 01:07 sebastiandotdev

See this issues for alternative solution https://github.com/denoland/fresh/issues/1519

afifurrohman-id avatar Jul 30 '23 03:07 afifurrohman-id

This is a separate VSCode Twind intellisense extension that I developed, which only supports v1. It is still a work in progress. If you're interested, feel free to check it out.

xlboy avatar Jul 20 '24 12:07 xlboy