From 51f8197af9a89f339e3312f52edea32d07aaa758 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Wed, 18 Mar 2020 16:37:38 +0100 Subject: [PATCH] [kotlin demo] fixed package name --- .../kotlin/{ => org/intellij/sdk/kotlin}/HelloAction.kt | 4 +++- kotlin_demo/src/main/resources/META-INF/plugin.xml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) rename kotlin_demo/src/main/kotlin/{ => org/intellij/sdk/kotlin}/HelloAction.kt (94%) diff --git a/kotlin_demo/src/main/kotlin/HelloAction.kt b/kotlin_demo/src/main/kotlin/org/intellij/sdk/kotlin/HelloAction.kt similarity index 94% rename from kotlin_demo/src/main/kotlin/HelloAction.kt rename to kotlin_demo/src/main/kotlin/org/intellij/sdk/kotlin/HelloAction.kt index 40b9a51f5..f10a8f3b7 100644 --- a/kotlin_demo/src/main/kotlin/HelloAction.kt +++ b/kotlin_demo/src/main/kotlin/org/intellij/sdk/kotlin/HelloAction.kt @@ -1,5 +1,7 @@ // Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package org.intellij.sdk.kotlin + import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.PlatformDataKeys import com.intellij.openapi.project.DumbAwareAction @@ -11,4 +13,4 @@ class HelloAction : DumbAwareAction() { val project = event.getData(PlatformDataKeys.PROJECT) Messages.showMessageDialog(project, "Hello from Kotlin!", "Greeting", Messages.getInformationIcon()) } -} \ No newline at end of file +} diff --git a/kotlin_demo/src/main/resources/META-INF/plugin.xml b/kotlin_demo/src/main/resources/META-INF/plugin.xml index f768d98f2..fbba78eb9 100644 --- a/kotlin_demo/src/main/resources/META-INF/plugin.xml +++ b/kotlin_demo/src/main/resources/META-INF/plugin.xml @@ -2,7 +2,7 @@ - org.intellij.sdk.kotlinDemo + org.intellij.sdk.kotlin SDK: Kotlin Demo @@ -43,8 +43,8 @@ - + - \ No newline at end of file +