Storing Intellij Idea preferences between workspace restart #17968
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
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
The text was updated successfully, but these errors were encountered: