tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

Comment with Line Comment broken for <script> section of .svelte files #294

Closed indigo-jay closed 1 year ago

indigo-jay commented 2 years ago

When I try to comment out the subscribe code section below using CMD-/ (macOS) in a svelte file:

<script>
    import DeviceFolderStore from "./stores/deviceFolderStore";

    let deviceFolders = [];

    DeviceFolderStore.subscribe(data => {
        deviceFolders = data;
    });
</script>

This is the result:

<script>
    import DeviceFolderStore from "./stores/deviceFolderStore";

    let deviceFolders = [];

    <!--DeviceFolderStore.subscribe(data => {-->
    <!--    deviceFolders = data;-->
    <!--});-->
</script>

So, it seems comments inside the Githubissues.

  • Githubissues is a development platform for aggregating issues.