Comment on multiple lines with empty in the middle

Answered

Hello, 

Let's say I have multi-line codes like below:

line 1 code

line 2 code

 

line 3 code

line 4 code

 

when I select the whole 5 lines (including the empty line between line 2 and line 3, then transfer to comment by [cmd + / ] it will be like:

# line 1 code

# line 2 code

#

# line 3 code

# line 4 code

 

I was hoping that the empty line will not be automatically added with the '#'.

I couldn't find anywhere to set it this way.

0
1 comment

Hi Jxie0755,

Please feel free to submit a feature request about it to our issue tracker using the link https://youtrack.jetbrains.com/issues/PY and let us know if you need any help.

0

Please sign in to leave a comment.