CodeSmith Generator Upcoming Feature: Bracket Highlighting

Today I’m happy to announce an upcoming feature for one of the most customer requested template editor features: Bracket Highlighting!

Bracket Highlighting

Bracket Highlighting creates visible highlights around sets of delimiters (parentheses, square brackets, and curly braces) when the caret is next to them.

In the screenshot above, the caret is next to a } character which the C# language implementation recognizes as a bracket that should receive highlighting. Thus its background is highlighted, as shown above in orange, along with the matching { bracket’s background. Please note that we’ve changed the bracket highlighting’s background fill color in this example to demonstrate this feature.

Move/Select to Matching Bracket

You can quickly move the caret between the two brackets by using the Ctrl+] key.

Also you can press Ctrl+Shift+] to select all of the text inside of the two brackets. This makes it very easy to update existing template content.

In the meantime please let us know if you have any feedback or questions.