arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.35k stars 395 forks source link

Irrelevant files from the sketch folder are synced to the cloud #1903

Open kittaakos opened 1 year ago

kittaakos commented 1 year ago

Describe the problem

When arduino.language.log: true setting is used, IDE2 will generate the log files for the Arduino LS and clangd. All these files are pushed when the user pushes a sketch to the cloud.

To reproduce

https://user-images.githubusercontent.com/1405703/220585060-932c2814-0e74-42c6-b300-3b0d9c1272df.mp4

Expected behavior

Do not sync irrelevant files in the sketch folder.

TODO:

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

kittaakos commented 1 year ago

I have noticed IDE 2.0.3 crashes when I pull such a sketch:

https://user-images.githubusercontent.com/1405703/220621478-c4ff0b5a-46ab-4040-84b0-5f0d11e37158.mp4

I downloaded the problematic sketch from Create:

sketch_feb14c.zip


Update: Moved to https://github.com/arduino/arduino-ide/issues/634#issuecomment-1440039171