Load marketplace plugin when developing a custom plugin?

Answered

Hi

How can I load a marketplace plugin when running runIde?

Namely the svelte plugin

https://plugins.jetbrains.com/plugin/12375-svelte

Here's what I tried

 

// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
    version.set(properties("platformVersion"))
    type.set(properties("platformType")) // Target IDE Platform

    pluginsRepositories {
        marketplace()
    }

    plugins.set(
        listOf(
            "JavaScript",
            "JavaScriptDebugger",
            "JSIntentionPowerPack",
            "org.jetbrains.plugins.svelte:242.20224.155"
        )
    )
}
 

I also tried dev.blachut.svelte.lang.svelte-intellij but it didn't work

Please help, I have to reinstall the plugin each time I start a debug session

 

Thank you

0
3 comments

Hej there,

have you tried “dev.blachut.svelte.lang:242.20224.155”, i.e. “<plugin-id>:<plugin-version>”?

0

There is no plugin with that ID “org.jetbrains.plugins.svelte”. See https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#non-bundled-plugin on how to notate dependency on external plugin.

0

Thank you! That worked perfectly

"dev.blachut.svelte.lang:242.20224.155"

Thank you @Yann also for the link, I was appending the plugin name which was incorrect.

0

Please sign in to leave a comment.