Ask Your Question

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

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

hongyi-zhao's avatar

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


Say I have the following code snippets:

if headerline:

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

#if 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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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



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

Seen: 292 times

Last updated: Mar 20 '20