How can I see Arduino libraries in the Visual Studio class explorer?

I am using the Arduino plugin for Visual Studio to edit a complex Arduino sketch that uses libraries.

When I click F12 GoTo definition on any libarary syntax the correct library file opens in Visual Studio which is great. (I also see intellisense for the libraries).

However, when I open the class explorer the libraries are not listed.

How can I see the libraries in the class explorer? Is this possible?

Answers


You need to include the library sources directly in your Visual Studio project. The easiest way to do this is to click "Project>Show all arduino files".

The menu item is a toggle, this means that clicking it once will add all of the library sources to the project and clicking it again will remove the library sources from the project.

This is a safe feature, it will not break the arduino compile but you should be careful if you use the "Find & Replace In Files" feature of Visual Studio because it will include the library sources.

NB: If you use the "Project>Show all arduino files" feature you will also see the Arduino core in the class explorer and in your project.

Tip: You can link any files into your Arduino projects. The Arduino compiler works independantly of the Visual Studio project configuration by following the normal Arduino rules.


Need Your Help

How do I make a table border invisible in the header section of a new ASP.Net MVC 3 app?

html css asp.net-mvc razor

I open _Layout.cshtml in a new blank ASP.Net MVC 3 application (using the Intranet Application project template). I replace the header tag and it's contents with this html table:

template class and insertion extraction overloaded

c++ templates operator-overloading inline insertion

How can I make the insertion (<<) and/or extraction (>>) operator overloaded in a template class WITHOUT making it inline. I would like to have the << or >> operator as a friend class.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.