svelte-intellij
svelte-intellij copied to clipboard
Comment with Line Comment broken for <script> section of .svelte files
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
Note, this is in PyCharm - not sure if that makes a difference.
Same issue here with WebStorm. Is there a possible fix?
Looks like a regression unrelated to Svelte plugin that was already fixed in WebStorm. If the problem persists please create an issue on YouTrack, thanks!