arduino/arduino-ide

setup TMP folder manually needed - Windows Security!

Closed this issue · 1 comments

Describe the request

there are several threads about the not optimal behavior of Arduino IDE with the TEMP folder, so why it is impossible to setup the TEMP folder manually?
Background:
I'm going to set folder exclusions for the Arduino IDE in the Windows Virus Security for performance reasons. Because of the behavior I would have to set the WHOLE Windows TMP folder als exclusion - worst idea ever.
Another advantage is choosing a different drive for TEMP for performance reasons.

Describe the current behavior

You cannot set the whole windows Temp folder as exclusion for the Windows Virus Security.

Arduino IDE version

2.3.6

Operating system

Windows

Operating system version

Win 11

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Hi @madias123. Thanks for taking the time to submit an issue.

I see we have another report about this at #1779.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

Please note that, although the task is not completed, a significant amount of the use of the system temporary folder has now been consolidated into a dedicated arduino subfolder of the temporary folder. For performance purposes, I think the files that are generated and used while compiling the sketch are the most important. Those are now all stored under that arduino folder. So I think you will likely find it sufficient to simply configure an exclusion for that folder in your antivirus settings and the overhead caused by the remaining uses of other paths won't have a significant impact on performance.