Posts
- Get link
- X
- Other Apps
COMMENTING OR UNCOMMENTING LINES AND BLOCK OF CODE You can comment or uncomment lines and blocks of code using Ctrl+Slash and Ctrl+Shift+Slash. Ctrl+Slash comments or uncomments the current line or selected block with single line comments (//...). Ctrl+Shift+Slash encloses the selected block in a block comment (/*...*/). To uncomment a commented block press Ctrl+Shift+Slash anywhere inside it.
- Get link
- X
- Other Apps
Ctrl+W (extend selection) in the editor selects the word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc. You can also select the word at the caret and the expanding areas of the source code by double-clicking the target areas in the editor.