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

[question] potential clash for '.theia' when using multiple theia-based products #6573

Closed
vince-fugnitto opened this issue Nov 18, 2019 · 2 comments
Labels
question user / developer questions

Comments

@vince-fugnitto
Copy link
Member

Description

I believe there may be a potential issue with the configuration folder (.theia) when a user uses multiple different theia-based applications.

For instance:

  • A - theia-based application
  • B - theia-based application

They will both share the same .theia folder under the user's home, and will have conflicts between preferences, recentWorkspaces, ...

Should we not allow applications to define their own config folder name, perhaps through the package.json similarly to applicationName. For instance, Armbed Studio would use .armbed/settings.json instead of .theia/settings.json.

@vince-fugnitto vince-fugnitto added the question user / developer questions label Nov 18, 2019
@akosyakov
Copy link
Member

We should always use https://github.com/eclipse-theia/theia/tree/master/packages/userstorage extension to manipulate such data and get rid of .theia hardcoded value in the codebase. Products should customize this extension with own value.

@vince-fugnitto
Copy link
Member Author

I believe this issue is resolved now that we can rebind the configuration directory 👍
This is the type of change we made and it worked correctly thanks to #7214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question user / developer questions
Projects
None yet
Development

No branches or pull requests

2 participants