How to open a header file ???

There is not a single place telling you how to do that that you can find in a simple google search .

I have included some library in which i would like to change its properties in the header file .

How do i even open the header file included in my project ? in other languages you just cmd+click on the #include xxx.h.

BenStlr:
There is not a single place telling you how to do that that you can find in a simple google search .

I have included some library in which i would like to change its properties in the header file .

How do i even open the header file included in my project ? in other languages you just cmd+click on the #include xxx.h.

The Arduino-IDE can only load .h header files that are part of the project and located on a "tab" in the IDE.

If you want to edit .h or .cpp that belong to a library in the library directory you need an external text editor.

With the Windows operating system you can use the general "Wordpad" editor that is part of the Windows operating system, or any special third-party programmers editor as you like. And Linux operating systems typically come with a full load of different text editors you can use. The .h and .cpp files are just "plain text" files.

Where are they located on the mac ?
I have downloaded and included a library , now ,where are the files that IDE is linked to? so i can change them and effect the program ?

BenStlr:
Where are they located on the mac ?
I have downloaded and included a library , now ,where are the files that IDE is linked to? so i can change them and effect the program ?

See this guide: https://www.arduino.cc/en/Guide/Libraries

In typical installations on MAC this should be something like:

Documents/Arduino/libraries/ArduinoParty/ArduinoParty.cpp
Documents/Arduino/libraries/ArduinoParty/ArduinoParty.h
Documents/Arduino/libraries/ArduinoParty/examples
1 Like

Notepad++ is great for editing/reviewing C++ files also.
https://notepad-plus-plus.org/

In the 1.8.8 version of the IDE (and probably earlier) if you have a your header files (and some other files such as .h, .cpp and .c BUT NOT .txt or .arbitrary) in the same folder as your .ino file then they appear in tabs when you open the .ino
headers.PNG

headers.PNG

1 Like