badpros.blogg.se

Commenting code in notepad++ shortcut
Commenting code in notepad++ shortcut











commenting code in notepad++ shortcut

What is the shortcut to comment multiple lines? Ctrl + Shift + / –> All line will be commented in /* style(Multi line comment).Ctrl + / –> All line will be commented in // style comments(Single line comments).CTRL + SHIFT + K removes a single line comment from the selection.3 How do I comment out a text file? If you had existing comments in a long block you are commenting, CTRL + Q will uncomment your actual comments, where CTRL + K just add another level of // in front. How do you comment single line in notepad?Īlso CTRL + K works well in Notepad++ to comment. What is the shortcut to comment out code? You can uncomment lines by selecting them, and after that, click Edit > Comment/Uncomment > Block Uncomment. How do you comment out in notepad?Ĭomment Out Multiple Lines in Notepad++ Select the lines you want to comment out and press Ctrl + Shift + Q or click Edit > Comment/Uncomment > Block Comment.

commenting code in notepad++ shortcut

The Notepad++ Shortcut To Comment Out was solved using a number of scenarios, as we have seen. Once the file is saved in proper format you will be able to add a comment To add a comment under any code on NOTEPAD++ first we have to save and define













Commenting code in notepad++ shortcut