Open
Description
Describe the request
IDE 2.0 leaves a lot of directories files behind in (Windows system) C:\Users\yourUsername\AppData\Local\Temp
. Request to collect them all in one dedicated Arduino directory.
If the cause is a virus scanner that prevents cleanup, it's safer to just exclude on directory instead of the complete directory.
If the cause is Windows or the IDE, it's easier to manually clean up at occasion.
Describe the current behavior
Directories and files that can be found in C:\Users\yourUsername\AppData\Local\Temp
- Files
C:\Users\yourUsername\AppData\Local\Temp\.arduinoIDE-unsaved*
. - Directories
C:\Users\yourUsername\AppData\Local\Temp\longNumber
(e.g. 5577006791947779410206689246) with filesindex.gz
,index.json
andindex.json.sig
. - Directories
C:\Users\yourUsername\AppData\Local\Temp\longNumber\arduino-ide2-longHexNumber
; directories are empty - Directories
C:\Users\yourUsername\AppData\Local\Temp\arduino-language-serverNumber (e.g.
arduino-language-server525288423`). - Directories
C:\Users\yourUsername\AppData\Local\Temp\arduino-sketch-longHexNumber
(e.g.arduino-sketch-07DD36AA0DA5BBED7460DCF645FC5952
). - Files
C:\Users\yourUsername\AppData\Local\Temp\dd_updateconfiguration_yyyyMMddHHmmss.log
- Files
C:\Users\yourUsername\AppData\Local\Temp\gdb-server-console-number.log
(e.g.gdb-server-console-5992.log
). - Files
C:\Users\yourUsername\AppData\Local\Temp\system-includes-number.clangd (e.g.
system-includes-75256d.clangd`) - ico files
-
github-remote
-
http-remote
-
theia_upload
- The folder is empty
- Origin: https://github.com/eclipse-theia/theia/blob/v1.31.1/packages/filesystem/src/node/node-file-upload-service.ts#L55
Arduino IDE version
arduino-ide_nightly-20221217_Windows_64bit
Operating system
Windows
Operating system version
Win10 Home
Additional context
Above list from IDE 2.0.3; I haven't consistently used the nightly build to be sure if the list has not changed significantly but a number of the above directories and files are certainly there.
Additional Requests
Related
- Store all files added to temporary folder below a single dedicated folder arduino-cli#2028
- Store all temporary files under a single folder arduino-cli#2031
- Refined the definition of
build_cache.path
and the--build-path
behaviour arduino-cli#2673
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