Skip to content

Compiles fail after auto conversion from .pde to .ino #4426

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

Closed
KeithV opened this issue Jan 14, 2016 · 3 comments
Closed

Compiles fail after auto conversion from .pde to .ino #4426

KeithV opened this issue Jan 14, 2016 · 3 comments

Comments

@KeithV
Copy link

KeithV commented Jan 14, 2016

If you set in Preferences the "Update sketch files to new extension on save" and open a sketch that is a .pde and just do a "save" and then build. You will get an error that the .pde can't be found. I believe that is because the file was a .pde when opened, but when the save occurred the IDE did not switch the build from a .pde extension to a .ino extension and still attempts to compiler the .pde instead of the renamed .ino. Restarting the IDE solves the problem.

@lmihalkovic
Copy link

It has been my experience that the ide does not like renames in general. the first day i tried using it, i changed a file's extension and it took me a while to figure that there were 2 files as the original was still in the build folder 1.6.5 at the time). Thx for the info.

@matthijskooijman
Copy link
Collaborator

@KeithV, could you see if this still occurs with the version shown there: #4363 (comment) That pull request contains a lot of cleanups and small improvements, among which some improvements to the renaming code.

@sandeepmistry sandeepmistry added the Waiting for feedback More information must be provided before we can proceed label Mar 10, 2016
@facchinm
Copy link
Member

Fixed by #4363

@cmaglie cmaglie removed the Waiting for feedback More information must be provided before we can proceed label Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants