vscode-blade-formatter icon indicating copy to clipboard operation
vscode-blade-formatter copied to clipboard

[Formatting Bug]: Line splitting when using module imports in script tag

Open bvtrfly opened this issue 1 year ago • 0 comments

Platform

Windows

Template before formatting

<script type="module">
   import { function } from "{{ Vite::asset('resources/js/scripts/exampleModule.js') }}";
</script>

Template after formatting

<script type="module">
    import {
        function
    } from "{{ Vite::asset('resources/js/scripts/exampleModule.js') }}";
</script>

Expected Behaviour

The format should respect the defined Wrap Line Length setting.

Relevant log output

No response

bvtrfly avatar Jul 06 '24 15:07 bvtrfly