Smart Semicolon

CodeRush places a semicolon to the right of the parentheses, brackets, or braces when it is typed within them. CodeRush places the semicolon only when it is required. If it is not required, CodeRush moves a caret outside the brackets without adding the semicolon.


Smart Semicolon works in C#, TypeScript and JavaScript code. This feature is disabled by default. To enable it, use the Editor | C# | Smart Keys and Editor | JavaScript | Smart Keys options page.


The following screencast shows how the Smart Semicolon feature works in TypeScript code.