Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When commented out a code block, the # symbols not left justified.

Hi,

Say I have the following code snippets:

if headerline:
    print(headerline)

If I use the Ctrl +. or Ctrl + / to comment out them, the results will be as follows:

#if headerline:
    #print(headerline)

As you can see, the # symbols not left justified, I mean, I want to obtain the following results:

#if headerline:
#    print(headerline)

Any hints for solving this issue?

Regards

When commented out a code block, the # symbols not left justified.

Hi,

Say I have the following code snippets:

if headerline:
    print(headerline)

If I use the Ctrl +. or Ctrl + / to comment out them, the results will be as follows:

#if headerline:
    #print(headerline)

As you can see, the # symbols not left justified, I mean, I want to obtain the following results:

#if headerline:
#    print(headerline)

Any hints for solving this issue?

Regards