Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Select all codes between Curly Braces in Notepad++?

In Notepad++ How to select all (Highlight) codes between Curly braces (Start & End)? For eg. If-else, Method definition, While, For loop etc. I remember similar option is available with Adobe Dreamweaver where we can perform this CTRL ' (Holding the control key & single quote together). In Notepad++ How to achieve the same?

Thanks In Advance.

like image 832
Jenson M John Avatar asked Aug 09 '13 06:08

Jenson M John


People also ask

What are the code between the curly braces?

Blocks: The code between a pair of curly braces within any method or class is called as blocks.

What are {} used for?

Brackets are used to insert explanations, corrections, clarifications, or comments into quoted material. Brackets are always used in pairs; you must have both an opening and a closing bracket.

How do you get curly keyboard brackets?

On English keyboards, the open bracket and close bracket are on the same key as [ and ] (square bracket) keys, located near Enter . To get a curly bracket, press and hold Shift , then press { or } keyboard key.


1 Answers

From Notepad++ v6.4.4: This feature got added in - Add selection between matching braces feature.

How to achieve :

Select a curly brace { press Ctrl+Alt+B to highlight the section.

like image 106
Jenson M John Avatar answered Nov 03 '22 10:11

Jenson M John