Comments won't preserve indentation


#1

When you comment part of your code with the default keybinding, the current indentation level isn’t respected and the comment always starts at the first column of that line.


#2

Thanks for the feedback. Can you give an example of how you would want this to work?


#3

I would expect the comment character to start at the same indentation level as the code, that is:

<div>
   <div>
        <!-- my comment -->
        <p></p>
   </div>
</div>

instead of:

<div>
   <div>
<!-- my comment -->
        <p></p>
   </div>
</div>

#4

yeah, I’d like to see the same implementation.