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

Storing Intellij Idea preferences between workspace restart #17968

Closed
vzhukovs opened this issue Sep 25, 2020 · 0 comments
Closed

Storing Intellij Idea preferences between workspace restart #17968

vzhukovs opened this issue Sep 25, 2020 · 0 comments
Assignees
Labels
area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system. status/in-progress This issue has been taken by an engineer and is under active development.
Milestone

Comments

@vzhukovs
Copy link
Contributor

vzhukovs commented Sep 25, 2020

Is your task related to a problem? Please describe.

There is a need to store preferences that is needed for Intellij Idea.

Describe the solution you'd like

At this moment preferences are located at /home/user/.config/JetBrains/IdeaIC2020.2 directory. This directory should be mounted and moved to another place. Intellij Idea's flexibility supports to configure location of configuration directory through the startup options. But on the other hands, needs to find out if this property can be configured via environment variable. Also the volume mount should be configured as persistent volume.

Describe alternatives you've considered

Mechanism that will serialize main preferences and store it in user settings like it has been done for Theia editor. But this requires creating bi-directional synchronization mechanism. It can be done as the next step in future.

Additional context

Command to run idea: https://github.com/che-incubator/che-editor-intellij-community/blob/master/supervisord.conf#L22
Volume mounts can be observed in meta.yaml: https://raw.githubusercontent.com/vzhukovskii/devfiles/master/meta.yaml
Directory for storing preferences: https://github.com/che-incubator/che-editor-intellij-community/blob/master/Dockerfile#L14

Documentation link:
Changing IDE default directories used for config, plugins, and caches storage

@vzhukovs vzhukovs added status/in-progress This issue has been taken by an engineer and is under active development. kind/task Internal things, technical debt, and to-do tasks to be performed. area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che labels Sep 25, 2020
@vzhukovs vzhukovs self-assigned this Sep 25, 2020
@azatsarynnyy azatsarynnyy added the severity/P1 Has a major impact to usage or development of the system. label Sep 28, 2020
@azatsarynnyy azatsarynnyy added this to the 7.20 milestone Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/jetbrains/intellij Issues related to the IntelliJ-based IDE for Eclipse Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system. status/in-progress This issue has been taken by an engineer and is under active development.
Projects
None yet
Development

No branches or pull requests

2 participants