Skip to content
New issue

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

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

Already on GitHub? Sign in 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/[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"
  }
}
@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.

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

No branches or pull requests

4 participants