According to
beautifier/js-beautify#575
And
beautifier/js-beautify#384
It should be possible to ignore lines with the formatter. I'm trying to use vscode-html-languageservice to format some go template code:
<!-- beautify ignore:start -->
<script type="text/javascript">
/*ignore js-beautify start*/
{{template "scripts/file-size".} }
/*ignore js-beautify end*/
</script>
<!-- beautify ignore:end -->
And neither comments work, there is a space added to the bracket which breaks the code.
According to
beautifier/js-beautify#575
And
beautifier/js-beautify#384
It should be possible to ignore lines with the formatter. I'm trying to use vscode-html-languageservice to format some go template code:
And neither comments work, there is a space added to the bracket which breaks the code.