Smart Parens and Brackets
Smart Parens & Brackets adds a closing paren or bracket, after the opening one is typed, and places a text field between them. The feature is activated if an opening parenthesis or bracket is typed at the end of a an identifier, or if a parenthesis is typed in front of it.
After a closing parenthesis is added, you can do the following:
Action | Result |
---|---|
Press ENTER. | The text field will be applied, and the caret will be placed to the right of the closing parenthesis. |
Press “;”. | The text field will be applied, and a semi-colon will be placed to the right of the closing parenthesis. |
Enter the closing parenthesis. | The text field will be applied, and the caret will be placed to the right of the closing parenthesis. |
Press Backspace if the parentheses are empty. | Both opening and closing parentheses will be deleted. |
You can customize Smart Parens & Brackets settings in the Smart Parens & Brackets page of CodeRush Classic Options.