Disabling plugins during dev deployments? e.g. codeWithMe

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

        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, but I added doLast, otherwise the file would be deleted before runIde.