Viewing the h and cpp files for a library

Is it possible to view the h and cpp files of a library, using the Arduino 1.01 IDE ?

WordPad if Windows. KWrite if Linux. Or your favorite text editor.

K thanks. I thought there was some way to do it in the IDE, obscure.

Someone showed me once, and then I forgot, and I have been climbing the walls
trying to figure out how to do it again.

Maybe I am thinking about something completely different.

I tried "File - Open" and selected one of the library cpp files, and it threw the error "Bad file selected" and a message that it will only open .ino and .pde files.

KWrite is my favorite.

Just use Notepad on Windows. They are just text files. Or you can get fancier editors, for free.

I find Notepad to be pretty useless for reading source files as most of the time the line breaks don't work right for Notepad and the source comes out in one huge line. WordPad seems to handle source files much better.

Lefty

notepad++ on windows :slight_smile: or a other editor.
on linux gedit will even do it, but i use geany editor/ide.

retrolefty:

[quote author=Nick Gammon link=topic=124796.msg938705#msg938705 date=1348901292]
Just use Notepad on Windows. They are just text files. Or you can get fancier editors, for free.

I find Notepad to be pretty useless for reading source files as most of the time the line breaks don't work right for Notepad and the source comes out in one huge line. WordPad seems to handle source files much better.
[/quote]

Notepad can only deal with windows-style linebreaks; wordpad handles unix style as well.

I second Notepad++:
http://notepad-plus-plus.org/

just started using notepad++ this month and happy to give it a + to add to the two already given

Duane B

rcarduino.blogspot.com

I use Crimson Editor given half the chance: