Skip to content
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

Option to save provider configuration to disk #250

Open
jakern opened this issue May 17, 2024 · 2 comments
Open

Option to save provider configuration to disk #250

jakern opened this issue May 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jakern
Copy link

jakern commented May 17, 2024

Is your feature request related to a problem? Please describe.
I have an unconventional use case in which my code server instances are always created with a different domain. I believe that the twinny provider manager is saving the edits to providers in the local storage. Every time I restart the code-server I lose my provider configuration.

Describe the solution you'd like
It would be nice if there was an option for twinny to save the provider information to disk so that custom providers could be saved across sessions. This would be especially helpful to allow us to easily set up different default providers for other users.

Describe alternatives you've considered
The alternative is that myself and other users I share this system with would need to manually edit the providers every time we restart our code server which can be several times per day.

If doesn't appear to be the case that if I force the domain to stay constant that the settings are still saved

Additional context
The installation of the extension and settings remains across server restarts but the provider configuration does not

@rjmacarthy rjmacarthy added the enhancement New feature or request label May 18, 2024
@poisson-sg
Copy link

I think it is an important feature to have. We have the same issue. In our case we use a vs code web IDE on vs code server online and without that feature, whoever uses twinny will reveal his/her API key to all users in the project.

@arttraratatr
Copy link

Do you know where is provider configuration stored and how can I access it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants