#100 Reach the Navigation bar via the keyboard

At the very top of the editor and just below the File Tab Channel, you’ll find the Navigation Bar.  The left combo box lists objects and the right lists the select objects members.  This is very useful when you need to jump to various functions throughout a large solution, or you want to see what functions an object has (or is missing).

Navigation Bar

To jump to the navigation bar via the keyboard, press Ctrl+F2.  This is bound to the command Window.MoveToNavigationBar, so your keyboard shortcut mileage may vary. To toggle between the Objects list and the Members list, press Tab or Shift+Tab. 

Additionally, you can hide (or show) the navigation bar by going to Tools – Options – Text Editor – All Languages – General and setting the Navigation bar option to the desired setting.  Note that since this is found in All Languages, you can customize this for any listed language under the Text Editor node.

Display Navigation Bar Option

#99 Change the Brace Matching color

 

A previous tip talked about what that automatic delimiter highlighting option does.  A follow-up tip is how to change the Brace Matching color.

Brace Matching in Neon Green color

Go to Tools – Options – Fonts and Colors, select Brace Matching (Rectangle), and set to the desired color.

Brace Matching selecting neon green (lime)

#98 Turn off Intellisense by default

 

Just in case you ever need to do this…

Go to Tools – Options – Text Editor – All Languages – General and uncheck Auto List Members and Parameter Information.  If you just want to disable intellisense by default for a particular language, go to the Text Editor – <language> – General option page and set the behavior there.

statement completion options unchecked

Note that the intellisense commands themselves are not disabled, meaning you can still invoke intellisense via the keyboard shortcut or a toolbar button.

#97 Get syntax highlighting for a given file extension

On the Tools – Options – Text Editor – File Extension page, you can map a file extension to one of the included editors. 

Mapping a file extension .sara to an editor

And after mapping the .sara extension to a C# editor, we now get syntax highlight…

.sara file with C# syntax highlighting

There is also an option to map files without extensions to a specific editor.

Mapping extensionless files to an editor

#96 What does that Automatic Delimiter Highlighting option do?

Honestly, I had to ask around what this one did.  I couldn’t remember to save my life.

Automatic Delimiter Highlighting

Automatic Delimiter Highlighting Tools Option

Whenever you have code construct pairs (that’s what the documentation calls them), when you finish typing either the start or end pair, both pairs of words will become bold.  To turn off this feature, go to Tools – Options – Text Editor – General

code construct pairs highlighted

Customizing the Automatic Delimiter Highlighting

You can customize the color for the bolding by going to Tools – Options – Fonts and Colors and selecting Brace Matching (Highlight).

Brace Matching fonts and colors option set to red

then volia…  (i knew that french degree would pay off one day)

automatic Delimiter highlight in red