0

There is a similar question but it shows how to comment with // since I'm using notepad ++ to view Python scrips the comment needs to be # and not //

How can i comment multiple rows with # ?

1 Answers1

1

Duplicate of: https://stackoverflow.com/questions/11003761/notepad-add-to-every-line which, by the way, is GENIUS functionality I never knew existed until today.

  1. Using your mouse/keyboard, click to put the cursor at the start of the first line you want to add text to the beginning of
  2. Press and hold Alt + Shift and drag your mouse immediately down (or use your keyboard Up/Down arrow keys). You will see the cursor line extend down each line you highlight.
  3. Type the text you wish to enter
  4. Done.

Highlighted lines

enter image description here

Text added to multiple lines simultaneously

enter image description here

Kinnectus
  • 10,906
  • 3
  • 32
  • 41