-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
.dart
and .dartServer
is stored in home folder on macOS
#49166
Comments
Not sure who uses |
|
Yes, There's a larger conversation happening about unifying all of our tools and cleaning up where we're putting temporary files. Unfortunately, I don't remember who's leading that effort. |
@mit-mit Do you remember where this was recently discussed? Assigning p3 until I can figure out what the larger plan is. |
I think there was some discussion about this for pub, @jonasfj ? I think we might be able to create a package with FFI for determining the canonical folders for each host OS? |
See: #41560 (comment) But that's really only for configuration. There is XDG specification details for where to put cache folders. So if we want |
In your
cf. sdk/pkg/analyzer/lib/file_system/physical_file_system.dart Lines 20 to 22 in f0a07ac
|
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment)
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment) Test plan: ``` $ dart test 00:00 +4: All tests passed! ``` run `dart doc` and inspect docs for correctness.
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment) Test plan: ``` $ dart test 00:01 +16: All tests passed! ``` run `dart doc` and inspect docs for correctness.
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment) Test plan: ``` $ dart test 00:01 +16: All tests passed! ``` run `dart doc` and inspect docs for correctness.
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment) Test plan: ``` $ dart test 00:01 +16: All tests passed! ``` run `dart doc` and inspect docs for correctness.
related #42813 |
This should be used to eventually fix dart-lang/sdk#41560. See dart-lang/sdk#49166 (comment) Test plan: ``` $ dart test 00:01 +16: All tests passed! ``` run `dart doc` and inspect docs for correctness.
On macOS, Dart stores data in the unconventional folders
~/.dart
and~/.dartServer
. This contributes to a mess where app files are scattered everywhere, the home folder is cluttered, and backups get filled with unnecessary junk.This should be fixed and moved to proper paths, like
~/Library/Application Support
,~/Library/Caches
and~/Library/Preferences
.The text was updated successfully, but these errors were encountered: