Reformatting JSON5 comments

Hi!

 

When I put some part of JSON5 uder comments by selecting it and hitting ctrl+/, it becomes a comment, starting from position 0.

 

When I use 'Reformat code' command, those comments jumps to indent of parent object.

 

When I hit ctlr+/ again to that part back, and ctrl+/ once more to comment it out again, it saves the indent, but comment's '//' are again on position 0.

 

So identation of comments is in continuous mess, when using 'Reformat code'.

 

Can this be fixed?

 

Thanks!

0

Please sign in to leave a comment.