# Disabling plugins during dev deployments? e.g. codeWithMe

**URL:** <https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929>\
**Category:** IntelliJ Platform\
**Created:** [June 6, 2025, 7:41am UTC](https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929 "2025-06-06T07:41:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tolland](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/tolland/32/1456_2.png) [@tolland](https://platform.jetbrains.com/u/tolland)\
**Post date:** [June 6, 2025, 7:41am UTC](https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929/1 "2025-06-06T07:41:43Z")

</div>

During development, I am deploying using gradle v2 plugin. I see lots of warnings in the log from various plugins. The most verbose one is com.jetbrains.codeWithMe. For example

```auto
2025-06-06 08:04:14,017 [2873] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.users.BackendUserManager, plugin=com.jetbrains.codeWithMe)
2025-06-06 08:04:14,017 [2873] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.ports.CwmPortForwardingToolWindowManager, plugin=com.jetbrains.codeWithMe)
2025-06-06 08:04:14,017 [2873] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeManagerService, plugin=com.jetbrains.codeWithMe)
2025-06-06 08:04:14,017 [2873] WARN - #c.i.s.ComponentManagerImpl - `preload=NOT_HEADLESS` must be used only for core services (service=com.jetbrains.rdserver.toolWindow.BackendServerToolWindowManager, plugin=com.jetbrains.codeWithMe)

```

i don’t see any option to disable them in the build.gradle.kts. How to disable plugins for during dev deployment?

Thanks

---

<div class="post-metadata">

**Author:** ![jonathanlermitage.1](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jonathanlermitage.1](https://platform.jetbrains.com/u/jonathanlermitage.1)\
**Post date:** [June 6, 2025, 1:44pm UTC](https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929/2 "2025-06-06T13:44:48Z")

</div>

You can populate the `disabled_plugins.txt` file when setting up the sandbox:

```kotlin
        prepareSandboxTask {
            doLast {
                val sandboxPathsFile = sandboxConfigDirectory.file("disabled_plugins.txt").get().asFile

                sandboxPathsFile.writeText( // <- a list of plugin IDs
                    """
                    hg4idea
                    training
                    training.git
                    W3Validators
                    """.trimIndent()
                )
            }
        }

```

This is based on [Recipes | IntelliJ Platform Plugin SDK](https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-recipes.html#adjust-ide-configuration-by-altering-sandbox-files), but I added `doLast`, otherwise the file would be deleted before `runIde`.

---

<div class="post-metadata">

**Author:** ![tolland](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/tolland/32/1456_2.png) [@tolland](https://platform.jetbrains.com/u/tolland)\
**Post date:** [June 6, 2025, 7:06pm UTC](https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929/3 "2025-06-06T19:06:35Z")

</div>

Thanks!.

I don’t suppose you know how to set ` <option name="SHOW_MAIN_MENU_MODE" value="SEPARATE_TOOLBAR" />` as well. i tried variations of `"-Dide.show.main.menu.mode=SEPARATE_TOOLBAR"` but it not being set.

any other good settings to make dev workflow easier?

---

<div class="post-metadata">

**Author:** ![jonathanlermitage.1](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jonathanlermitage.1](https://platform.jetbrains.com/u/jonathanlermitage.1)\
**Post date:** [June 6, 2025, 7:21pm UTC](https://platform.jetbrains.com/t/disabling-plugins-during-dev-deployments-e-g-codewithme/1929/4 "2025-06-06T19:21:51Z")

</div>

I think you can alter most files in the config dir.  
In this example: [Recipes | IntelliJ Platform Plugin SDK](https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-recipes.html#adjust-ide-configuration-by-altering-sandbox-files), they create the file that defines the trusted folders/projects.  
You only have to find the file that should contain `<option name="SHOW_MAIN_MENU_MODE" value="SEPARATE_TOOLBAR" />`, patch it, and it should work.
