-
-
Notifications
You must be signed in to change notification settings - Fork 431
Collect all temporary files in a temporary directory #1779
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
Comments
This is a great idea. However, besides these, 👇 IDE2 does not create any files, but the CLI, the LS, the debugger, etc., manage them.
|
@kittaakos and @per1234 As I don't know what is all involved, I'll leave it up to you guys to add similar feature requests for all the other applications in the tool chain ;) |
I guess the arduino-ide/arduino-ide-extension/src/node/sketches-service-impl.ts Lines 515 to 537 in 76f9f63
|
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
C:\Users\yourUsername\AppData\Local\Temp\.arduinoIDE-unsaved*
.C:\Users\yourUsername\AppData\Local\Temp\longNumber
(e.g. 5577006791947779410206689246) with filesindex.gz
,index.json
andindex.json.sig
.C:\Users\yourUsername\AppData\Local\Temp\longNumber\arduino-ide2-longHexNumber
; directories are emptyC:\Users\yourUsername\AppData\Local\Temp\arduino-language-serverNumber (e.g.
arduino-language-server525288423`).C:\Users\yourUsername\AppData\Local\Temp\arduino-sketch-longHexNumber
(e.g.arduino-sketch-07DD36AA0DA5BBED7460DCF645FC5952
).C:\Users\yourUsername\AppData\Local\Temp\dd_updateconfiguration_yyyyMMddHHmmss.log
C:\Users\yourUsername\AppData\Local\Temp\gdb-server-console-number.log
(e.g.gdb-server-console-5992.log
).C:\Users\yourUsername\AppData\Local\Temp\system-includes-number.clangd (e.g.
system-includes-75256d.clangd`)github-remote
http-remote
theia_upload
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
build_cache.path
and the--build-path
behaviour arduino-cli#2673Issue checklist
The text was updated successfully, but these errors were encountered: