-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Migrate ~/.continue/config.py
to XDG_CONFIG_HOME or ~/.config/continue/config.py
#558
Comments
@klauern What if we offered an option of where to place I see the reasoning for keeping the home directory clean, though this is also the most obvious place to put something so it has the benefit of being easy for our users to find, something I'm not sure I want to change by default. |
I think a configuration option is fine, but I also believe that defaulting to OS-specific locations like the XDG standard is more commonplace than you might think: https://dotfiles-matter.click/. I noticed that Just thought it’s worth bringing up, especially as this project is still relatively new and has seen changes in config.py structure as well. I wasn't thinking the placement of the config would be as big of a shift as rebuilding it from scratch would be. |
I would maintain the status quo in the
|
It was a little confusing to me
When I delete the extension from vscode, do these other folders remain? My vote would be to keep everything within .vscode. If that’s not possible for some reason then I would say going inside of ~/.config is better than making a ~/.continue folder |
Are there some people who use continue.dev in multiple editors, so they would want to share settings between them? I guess the full bells-and-whistles solution could be to ask the user when installing a plugin what they want to do. And if they choose to have settings shared between IDEs, then follow the XDG base directory specification on Linux, and the equivalent standards for Mac/Windows. This would of course also include splitting the contents of ~/.continue into user configuration, data, state and cache. But since that would be a lot of work, IMO the second best solution would be to just move everything to |
I'm not doing so atm, but I may use continue in neovim and Rider (and maybe other IDEs in the future), so a global config is welcome. However, my home folder is full dotfolders that don't adhere to the xdg specifications which I'm trying to change bit by bit. This would definitely be an appreciated change ^^ |
The worst part of |
I think the above change makes the most sense, it supports the original location if it exists, otherwise uses the new location if it doesn't, and you can move it back manually if you want it in your home folder. |
I would also love to see Thanks for an amazing extension, I am using this in my large classrooms. Being able to override the default config path would greatly streamline the deployment of the configuration to all students. |
Validations
Problem
I see the default of
~/.continue/config.py
is used to store the configuration settings, but a lot of tools have started moving their configs to follow the XDG Base configuration: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.htmlFrom that spec, config files usually go in
~/.config/<app>/<whatever>
as a convention, which keeps a user's$HOME
directory clean.Solution
No response
The text was updated successfully, but these errors were encountered: