-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Opening example with .pde file extension fails silently #2377
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Comments
per1234
added
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
labels
Feb 20, 2024
3 tasks
drf5n
referenced
this issue
Feb 20, 2024
This commit rewrites how IDE copies sketches as part of the _Save As_ operation. Instead of copying to the destination, IDE copies the sketch into a temporary location, then to the desired destination. This commit drops [`cpy`](https://www.npmjs.com/package/cpy). Ref: sindresorhus/cpy@47b89a7 Closes #2077 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
that referenced
this issue
Feb 22, 2024
Closes #2377 Signed-off-by: Akos Kitta <[email protected]>
4 tasks
kittaakos
pushed a commit
that referenced
this issue
Feb 22, 2024
Closes #2377 Signed-off-by: Akos Kitta <[email protected]>
@drf5n that is expected. The fix was made after the time of the 2.3.2 release. Please always check with the latest nightly build of Arduino IDE before reporting problems: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
If the example for a library has
.pde
file extension, Arduino IDE will silently fail to open it.To reproduce
🐛 The example doesn't open. There is no communication of a problem.
Expected behavior
Arduino IDE opens all valid example sketches, regardless of whether they use a deprecated file extension.
Arduino IDE version
2.3.2
Operating system
Windows
Operating system version
11
Additional context
I see the following in the logs when I try to open the example:
I bisected the regression to 074f654 (does not occur with the build for the previous commit 3eef857)
This is a regression of #518
Originally reported by @drf5n at:
https://forum.arduino.cc/t/accelstepper-library-examples-dont-open-with-arduino-ide-2-3-1/1226308/2
Workaround
The "Preferences" dialog will open.
The "Preferences" dialog will close.
libraries
subfolder of the path you saw in the "Sketchbook location" field during step (2) of these instructions.examples
subfolder..pde
file in the folder.The example sketch will now open in an Arduino IDE window as usual.
Issue checklist
The text was updated successfully, but these errors were encountered: