Skip to content

[pre-release] intellisense broken since 0.13.29 #1035

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

Closed
joy-yu opened this issue Aug 26, 2024 · 11 comments · Fixed by #1043
Closed

[pre-release] intellisense broken since 0.13.29 #1035

joy-yu opened this issue Aug 26, 2024 · 11 comments · Fixed by #1043
Assignees

Comments

@joy-yu
Copy link

joy-yu commented Aug 26, 2024

What version of VS Code are you using?

1.92.2

What version of Tailwind CSS IntelliSense are you using?

0.13.31

What version of Tailwind CSS are you using?

3.4.10

plugin output

[Error - 11:33:33] Failed to initialize workspace folder /Users/apple/Desktop/app-organization e [CssSyntaxError]: /Users/apple/Desktop/app-organization/src/styles/base.scss:50:6: Unknown word
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser
    at qd.error (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:195:35103)
    at jw.unknownWord (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:201:7868)
    at jw.decl (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:201:3437)
    at jw.other (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:201:5838)
    at jw.parse (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:201:6593)
    at O0 (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:201:8182)
    at new e (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:204:1635)
    at Jc.process (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:204:9554)
    at e.resolveSourceDirectives (/Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:1283:16417)
    at /Users/apple/.vscode/extensions/bradlc.vscode-tailwindcss-0.13.29/dist/tailwindServer.js:1283:13635 {
  reason: 'Unknown word',
  file: '/Users/apple/Desktop/app-organization/src/styles/base.scss',
  source: '  \n' +
    '                \n' +
    '  \n' +
    '\n' +
    '@tailwind base;\n' +
    '@tailwind components;\n' +
    '@tailwind utilities;\n' +
    '\n' +

Describe your issue

Everything is fine with version 0.13.28.
Does pre-release version have destructive updates that make it incompatible with tailwind 3.x?

@Pzzzeed
Copy link

Pzzzeed commented Aug 26, 2024

v0.12.7 also not fine (same error), I use with my Angular project which quite a lot of folder of component. But everything is fine with version 0.12.6

@wm-simon
Copy link

v0.12.7 is not working here too. After downgrading to 0.12.6 it worked again.

@benlieb
Copy link

benlieb commented Aug 26, 2024

Not working for me either... 0.12.6 does though...

I'm not seeing 0.13.28 in vscode...

@lirobinxc
Copy link

Same here, same error. Reverting to 0.12.6 fixes it for now.

@gioacostax
Copy link

Same here, 0.12.7 is broken

@Seiyial
Copy link

Seiyial commented Aug 26, 2024

If anyone doesn't yet know how to revert on VSCode, to save you a google search:

Go to the VSCode Extensions list, search for/find "Tailwind CSS Intellisense", right click the tile and select "Install Specific Version"

@yeasir2148
Copy link

Can confirm, 12.7 is borken. I lost one whole day trying to fix thinking someone in the team introduced something that broke the extension. Hope this will be fixed soon.

@mhfed
Copy link

mhfed commented Aug 27, 2024

If anyone doesn't yet know how to revert on VSCode, to save you a google search:

Go to the VSCode Extensions list, search for/find "Tailwind CSS Intellisense", right click the tile and select "Install Specific Version"

It works

@williamhibberd
Copy link

Thank you for this thread. I have been struggling to find a fix for days. Reverting to Tailwind CSS IntelliSense version v0.12.6 has worked.

@philipp-spiess
Copy link
Member

philipp-spiess commented Aug 28, 2024

Hey @joy-yu! Thanks for reporting this and sorry for the troubles! We just released v0.12.8 of the VS Code extension with a fix that resolves this issue. If you still have issues, please let us know!

@benlieb
Copy link

benlieb commented Aug 28, 2024

🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳

Thanks for the great work folks! Much appreciated!

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

Successfully merging a pull request may close this issue.

12 participants