by Visual Micro
12. May 2014 10:53
Exploring Your Code
Both Visual Studio and Atmel Studio have powerful built in tools that help you when navigating through your code. It is absolutely worth learning to use these functions.
You can...
- find the places where you declared functions and variables
- find the places where they were used
- what functions call other functions
- and much more
In this aspect, Visual Studio and Atmel Studio differ substantially, because they use different software tools for that purpose.
Atmel Studio
Atmel Studio uses an add-in product, Visual Assist from Whole Tomato Software. This add-is part of the Atmel Studio installation.
An automatic class member dropdown in Atmel Studio
You can find Visual Assist's documentation here.
Microsoft Visual Studio
Microsoft Visual Studio has similar functions already built in.
An automatic ("Intellisense") class member dropdown in Microsoft Visual Studio
You can find the documentation for Visual Studio here.
Go To Definition
Another useful feature is to right click code and select "GoTo Definition". Doing so will jump directly to the definition of the selected code (where applicable)
Use the tool bar or short cuts to return to the previous code point or use the bookmark system to easily jump between favourite places within your source code