-
-
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
Arduino IDE2.1.0 save as
truncates the end of the file if it exceeds 64kb
#2086
Comments
@David2153 |
Further information.... the original compiled .ino file size is 28.4 kB for the two opened sketches and the saved to disk .ino file size is 101kB. |
Further information...... the problem seems related to file size. I tried the same process using smaller sketches and it worked as it should. I tried it again using the larger sketches where I initially observed the problem and it failed again. I have expanded/clarified the "To Reproduce" procedure below.
|
Thank you for taking the time and writing the bug report. I could reproduce the bug with We have fixed this by updating the version of the underlying Theia IDE framework in IDE2. See #2027. Please try with the nightly build and let us know if the defect is still present. You can download the nightly IDE2 builds from https://www.arduino.cc/en/software#nightly-builds. I also downloaded IDE2 nightly ( |
The latest nightly version has fixed the issue. Thanks. |
Thanks for the follow-up @David2153. Closing as resolved by #2027. |
save as
truncates the end of the file if it exceeds 64kb
Describe the problem
There seems to be a problem with the new IDE 2.1.0 editor when I try to copy a section of code from one sketch to another sketch using the standard right click COPY and PASTE. The copy and paste seems to work however I then use SAVEAS to save the new sketch into a new sketch/file and the file that is created is unexpectedly truncated (ie. missing lines of code at the bottom of the sketch). I have used this technique successfully on many occasions with the older IDE 1.8.19 without this issue.
To reproduce
Expected behavior
I'd expect the new sketch not to be truncated.
Arduino IDE version
2.1.0
Operating system
Windows
Operating system version
WIN10
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: