<idea-plugin>
    <id>org.jetbrains.compose.desktop.ide</id>
    <name>Compose Multiplatform IDE Support</name>
    <vendor>JetBrains</vendor>
    <description>
        <![CDATA[
        IDE support for developing
        <a href="https://www.jetbrains.com/lp/compose/">Compose for Desktop</a>
        applications.
        The main feature at the moment is IDE preview of composable functions
        marked by @Preview annotation.
        ]]>

    </description>

    <!-- until-build is omitted, so we don't have to update it after each Intellij release -->
    <idea-version since-build="213"/>

    <!-- Product and plugin compatibility requirements -->
    <!-- https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->
    <depends>com.intellij.modules.platform</depends>
    <depends>com.intellij.modules.java</depends>
    <depends>com.intellij.gradle</depends>
    <depends>org.jetbrains.kotlin</depends>

    <extensions defaultExtensionNs="com.intellij">
        <runLineMarkerContributor
                language="kotlin"
                implementationClass="org.jetbrains.compose.desktop.ide.preview.PreviewRunLineMarkerContributor"/>
        <deadCode implementation="org.jetbrains.compose.desktop.ide.preview.PreviewEntryPoint" />

        <runLineMarkerContributor
                language="kotlin"
                implementationClass="org.jetbrains.compose.web.ide.run.WebRunLineMarkerContributor"/>
        <runConfigurationProducer
                implementation="org.jetbrains.compose.web.ide.run.WebRunConfigurationProducer"/>

        <toolWindow
                factoryClass="org.jetbrains.compose.desktop.ide.preview.PreviewToolWindow"
                id="Desktop Preview" doNotActivateOnStart="true"
                anchor="right" />

        <lang.inspectionSuppressor language="kotlin" implementationClass="org.jetbrains.compose.inspections.ComposeSuppressor"/>

        <notificationGroup id="Compose MPP Notifications" displayType="BALLOON"/>

        <editorFloatingToolbarProvider implementation="org.jetbrains.compose.desktop.ide.preview.PreviewFloatingToolbarProvider"/>
    </extensions>

    <actions>
        <group id="Compose.Desktop.Preview.Editor.Toolbar">
            <action class="org.jetbrains.compose.desktop.ide.preview.RefreshOrRunPreviewAction"/>
        </group>
    </actions>
</idea-plugin>
