You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default the Arduino IDE creates a ~/.arduino15.
First issue, its on the $HOME dir. Ideally the XDG Base Directory specification must be used.
Second, the directory naming is specific to some version? Why not just .arduino ?
Finally, the files/directories inside it are all in one place.
$ ls ~/.arduino15
cache
library_index.json
library_index.json.sig
logs
package_index.json
package_index.json.sig
preferences.txt
As per the specification, this should be something like below...
Config files go into $XDG_CONFIG_HOME
From all the files, only preferences.txt has configs.
Cache files go into $XDG_CACHE_HOME
In this case it should be the cache directory.
By default the Arduino IDE creates a ~/.arduino15.
First issue, its on the $HOME dir. Ideally the XDG Base Directory specification must be used.
Second, the directory naming is specific to some version? Why not just .arduino ?
Finally, the files/directories inside it are all in one place.
As per the specification, this should be something like below...
Config files go into $XDG_CONFIG_HOME
From all the files, only
preferences.txt
has configs.Cache files go into $XDG_CACHE_HOME
In this case it should be the
cache
directory.actions history (logs, history, recently used files, …) go into $XDG_STATE_HOME
Here I'm assuming everything else from that directory are state files, and the logs directory, well, for logs.
The text was updated successfully, but these errors were encountered: