Is there a realiable way to have ALL my settings copied from the host into the devcontainer (including macros, custom lists, live-templates, ...)?
Hi, as the title says is there a good and realiable way to get more “advanced” settings like live templates, custom lists, macros, … synchronized between the devcontainer and the client ide? Currently my setup looks like this - I have a IDE, lets say IntelliJ, on my host machine. There I have set up live templates, custom lists, macros. These are all defined globally, so they work across different projects.
Than when I start a devcontainer on my local docker instance and connect to it, all of them are gone. Some settings that I define through the “customizations” : {…} block in the devcontainer.json file are there but the options that I can set in “customizations” : {…} block are, from what I understand, only a tiny subset of features that are available to be configured through the settings gui. For example I'm not aware of any way to for example define a live template there.
I also tried to use the “settings sync” feature, but that does not seem to work either.
Is there some way to keep all my settings when working inside a devcontainer? If it involves baking the settings into the Dockerfile and moving them “manually” from the host to a location in the devcontainer thats also fine by me.
请先登录再写评论。
Hello, Fuerholzer.
Unfortunately, the only way to keep all the IDE settings when working with the dev containers for now is indeed to place them into your container manually. The IDE backend configuration folder inside the container is usually
/.jbdevcontainer/config/JetBrains/<IDE_NAME_AND_VERSION>, for example,/.jbdevcontainer/config/JetBrains/CLion2025.3.The
customizationsblock inside thedevcontainer.jsonallows customizing only the specific set of settings that doesn't require a complex interface to set up; Settings Sync doesn't work in Remote Development for now (see IJPL-13075).We're also working on the new implementation of dev containers, which wouldn't require the Remote Development feature underneath. It's in very early Beta for now; you can try it by switching on the Open devcontainer projects natively option in
Settings | Advanced Settings.