Open tonipetre opened 9 years ago
Well, I did a bit of research and you can resolve this issue by adding a '.brackets.json' JSON file at the root of your project and adding a "language" layer:
"language": {
"jade": {
"brackets-paste-and-indent.enabled": false
}
}
This did not work for me.
Did not work for me either. Is there a fix for this?
If someone still need it, you have to write:
{ "language": { "jade": { "brackets-paste-and-indent.enabled": false } } }
At least it works with slim, so it should work with jade.
When copy/paste Jade code, the plugin doesn't know how to handle it and the result is a code without indentation. Jade without indentation is broken code, and to re-indent each pice of code is a pain in the ass.
A quick solution would be to teach the plugin skipping/disable the copy/paste auto-indent within *.jade files.