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

[REQUEST]: Share user templates between different computers #7226

Open
akbyrd opened this issue Dec 15, 2024 · 1 comment
Open

[REQUEST]: Share user templates between different computers #7226

akbyrd opened this issue Dec 15, 2024 · 1 comment
Labels
request Request for something

Comments

@akbyrd
Copy link

akbyrd commented Dec 15, 2024

Is your feature request related to a problem? Please describe

Each time I use a new machine I have to set up my default template from scratch. I end up using new machines relatively frequently, so this ends up being a moderate ear flick.

Describe the solution you'd like

I'd like the ability to write a template once and use it on multiple computers. I'm not particular about how this is accomplished.

User accounts and saved data for each user is one option. But I assume user accounts don't exist currently because it would be a nuisance. I imagine there are alternatives that don't require this.

One such option is to allow a template to be shared as a URL. If I could bookmark my preferred template that's something I have easy access to on a new machine (I can add a redirect from an easy to remember URL on my website, for example).

If the template data is query data in the URL it might be possible to avoid needing to store the template at a unique URL and eat the associated storage cost.

Describe alternatives you've considered

N/A

Additional context

Here's a screenshot of my default template. I have each of the 3 major C++ compilers plus an executor for each. They are evenly spaced which requires manual fiddling. They each have compiler options that need to be remembered and repeated for both the compiler and executor.

image

@akbyrd akbyrd added the request Request for something label Dec 15, 2024
@junlarsen
Copy link
Member

I think sharing user templates could be useful too, so maybe this is something I'll look into in the future.

For the time being, you can "easily" share the state across computers by accessing the local storage in your browser. For me, it looks like this
image

Take the value of the userSiteTemplates and create an equivalent entry in the localstorage of the other computer. I believe after refreshing the page it should show up.

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

No branches or pull requests

2 participants