Ask Your Question
1

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

asked 2020-03-20 02:30:53 -0500

hongyi-zhao gravatar image

updated 2020-03-20 09:26:20 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-20 09:23:15 -0500

The comment style can be set via the Block Comment Style setting on the Editor page of the Preferences dialog.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-03-20 02:30:53 -0500

Seen: 51 times

Last updated: Mar 20