Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
kei3dev opened this issue Jul 7, 2023 · 3 comments
Open

Comments

@kei3dev
Copy link

kei3dev commented Jul 7, 2023

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/fresh@1.2.0/",
    "preact": "https://esm.sh/preact@10.15.1",
    "preact/": "https://esm.sh/preact@10.15.1/",
    "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
    "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
    "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
    "twind": "https://esm.sh/twind@0.16.19",
    "twind/": "https://esm.sh/twind@0.16.19/",
    "$std/": "https://deno.land/std@0.190.0/"
  },
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "preact"
  }
}
@sebastiandotdev
Copy link

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

@afifurrohman-id
Copy link

See this issues for alternative solution denoland/fresh#1519

@xlboy
Copy link

xlboy commented Jul 20, 2024

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants