-
-
Notifications
You must be signed in to change notification settings - Fork 7k
open *.h files with the Arduino IDE - why not possible? #3736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Well, it's a good thing you describe these issues so clearly, with such well defined steps to reproduce the problem. Nothing said "incomprehensibly" here! |
Put a blank .ino file in the folder with the same name as the folder(in this case ardustdio.ino) and then open that file, all .h and .cpp files in the folder will also open as tabs. I use the .ino file as a place for notes. If you want to edit files in the libraries folder then see this: #3512 |
I know that there are workarounds and I already had to use them, my point is to make it possible for the future also for all
files to be opened and saved and "saved as" by either extension just as if they were *.ino To have to use any workarounds for that simple task is incomprehensible and unreasonable IMO. |
The reason is that the Arduino IDE is made to edit/compile/upload sketches. It's not notepad |
I know that it's currently made this way, but to have to use any workarounds for that simple task is incomprehensible and unreasonable IMO nevertheless. *.h and *.cpp files are part of Arduino *.ino projects and so should be editable in the same way, and finally they already can be opened in the Arduino IDE by using weird workarounds. So please change it anyway!!! |
Ran into the same issue. Made some IDE changes to be able to include libraries locally inside a sketch folder. These local libraries are editable like the rest of the code in the main sketch folder. |
Saying Arduino is not Notepad is not an excuse. I too need to see and edit the header files in my project and I can't because of this silly feature. It's annoying to have to open them in Visual Studio. |
if you want to edit or open the ".h" and ".cpp" file from arduino library, just open it with notepad and copy paste to the arduino IDE and you can save it as sketch file (".ino") or save again as ".h" and ".cpp" as library. |
Trying to open *.h files with the Arduino IDE - why is this not possible?
I need to revise my own .h header file for my current project, but this is not possible incomprehensibly.
The text was updated successfully, but these errors were encountered: