Closed thomas159 closed 8 years ago
Hello, @thomas159,
Now, this plugin does not support formatting of selected block of code. Because if you select any part of code and run this plugin, it will work not correctly. For example:
before
\t\t\t.class
\t\t\t\t\t.class
after
\t.class
\t\t.class
expected
\t\t\t.class
\t\t\t\t.class
I'm not sure how to use this plugin then as opening an html file and running Beautify pug/jade doesn't work for me, selected or no selected html
👀 Why you talking about HTML when this plugin works with a Jade/Pug? You can provide code or GIF?
Sorry, think I got the wrong idea of what this did, thought it converted html to pug, seems nto, delete my issue and I've given you a good review ;)
On 17 November 2016 at 16:04, Denis Malinochkin notifications@github.com wrote:
👀 Why you talking about HTML when this plugin works with a Jade/Pug? You can provide code or GIF?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mrmlnc/vscode-pugbeautify/issues/3#issuecomment-261270341, or mute the thread https://github.com/notifications/unsubscribe-auth/AI19agf5Qr_K8-s77PJ2cHfniXAn3wYhks5q_G0RgaJpZM4K1X6M .
For convert HTML to Jade/Pug you can use https://marketplace.visualstudio.com/items?itemName=wmaurer.html2jade or http://html2jade.org/
When I run beautify pug/jade on a selected block of html code it doesn't convert