How to use the Visual Studio object browser for Arduino

The object browser in visual studio can automatically provide simple or advanced views of any arduino sketch. The advanced view will include libraries and the arduino core.

The simple view

This view provides just the classes, methods, variables, constants etc. that are directly included in any of the source codes of an arduino sketch. Clicking the various options on the left will reveal the releated properties. The <search> allows us to find items more easily.

Advanced View

All libraries and core source codes are automatically included in the current arduino project by clicking the Visual Studio command "Project>Show all arduino files". Clicking the command again will remove the files. This means we can quickly toggle these additional files in/out of our visual studio projects.

The advanced view provides a global view of how our program really works. The example below shows us some of the class inheritance used in the diydrones arducopter project

Tips & Bits

Debug and power tools coming soon!!

Visual Assist X (VAX) - How to configure Arduino sketches as VAX C++ files. Refactor, Snipets, enhanced syntax colors, examples, suggestions and much much more. Only downside is that it costs $100.

Connect two or more arduinos and spy on the serial communication using visual studio and "Serial Echo"

Apple Mac users might find this xcode site useful

Coming soon! Android and Processing for Visual Studio

How to prevent or remove Visual Studio pch folders

How to configure visual studio color coding for arduino source code

See more Examples

Multiple sketch projects and windows projects can co-exist in a single solution. Fully integrated. F5 Compile and upload (startup project). Build Project, Build Solution