tw-in-js / vscode-twind-intellisense

Intelligent Twind tooling for VS Code
MIT License
60 stars 10 forks source link

add command to replace double quoted instances of className #5

Closed zshannon closed 2 years ago

zshannon commented 2 years ago

Hi there, thanks for this excellent extension.

I find myself pasting lots of HTML from the web (including TailwindUI, HeadlessUI, etc.) where React className is specified as a double quoted string. I want a VSCode command that replaces those strings with their tw wrapped content. This PR adds that function.

zshannon commented 2 years ago

@sastan hey there 👋 do you think this has a chance of being merged? i'd love to get back to running the distributed copy of the extension (running in dev mode is a pain)

sastan commented 2 years ago

Thank you. Sorry for the delay. The new version is published as v0.2.0.