Commenting code in Notepad++

前端 未结 10 1474
春和景丽
春和景丽 2020-12-02 13:49

I\'m using Notepad++ as an editor to write programs in Python. It might sound daft but I looked around in the editor and could not find any means (not the manual wa

相关标签:
10条回答
  • 2020-12-02 14:46

    Yes in Notepad++ you can do that!

    Some hotkeys regarding comments:

    • Ctrl+Q Toggle block comment
    • Ctrl+K Block comment
    • Ctrl+Shift+K Block uncomment
    • Ctrl+Shift+Q Stream comment

    Source: shortcutworld.com from the Comment / uncomment section.

    On the link you will find many other useful shortcuts too.

    0 讨论(0)
  • 2020-12-02 14:48

    Use shortcut: Ctrl+Q. You can customize in Settings

    0 讨论(0)
  • 2020-12-02 14:50

    Try the following shortcut:

    Ctrl+K.

    0 讨论(0)
  • 2020-12-02 14:50

    Two ways for block commenting:

    1. Ctrl+Shift+Q

    or

    1. Select the block
    2. Alt + Right click
    3. Choose block comment.
    0 讨论(0)
提交回复
热议问题