diff --git a/CHANGELOG.md b/CHANGELOG.md index 2da7dca6..933fad6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ## [Unreleased] +### Changed +- Change plugin id to avoid configuration defect error + ## [2.0.2] - 2023-09-07 ### Bugfix diff --git a/gradle.properties b/gradle.properties index a9458c41..49e2e5b4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,10 @@ # IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html -pluginGroup = com.jfrog.conan.clion +pluginGroup = com.jfrog.conan.plugin pluginName = Conan pluginRepositoryUrl = https://github.com/conan-io/conan-clion-plugin/ # SemVer format -> https://semver.org -pluginVersion = 2.0.2 +pluginVersion = 2.0.3 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 223 diff --git a/src/main/kotlin/com/jfrog/conan/clion/bundles/UIBundle.kt b/src/main/kotlin/com/jfrog/conan/plugin/bundles/UIBundle.kt similarity index 93% rename from src/main/kotlin/com/jfrog/conan/clion/bundles/UIBundle.kt rename to src/main/kotlin/com/jfrog/conan/plugin/bundles/UIBundle.kt index e85ee614..1a9330d8 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/bundles/UIBundle.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/bundles/UIBundle.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.bundles +package com.jfrog.conan.plugin.bundles import com.intellij.DynamicBundle import org.jetbrains.annotations.NonNls diff --git a/src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.kt b/src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt similarity index 94% rename from src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.kt rename to src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt index 6d18c07a..a93b319b 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.cmake +package com.jfrog.conan.plugin.cmake import com.intellij.ide.util.PropertiesComponent import com.intellij.notification.NotificationGroupManager @@ -11,9 +11,9 @@ import com.intellij.openapi.ui.Messages import com.jetbrains.cidr.cpp.cmake.CMakeSettings import com.jetbrains.cidr.cpp.cmake.model.CMakeConfiguration import com.jetbrains.cidr.cpp.execution.CMakeAppRunConfiguration -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.models.PersistentStorageKeys -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.models.PersistentStorageKeys +import com.jfrog.conan.plugin.services.ConanService class CMake(val project: Project) { @@ -140,7 +140,7 @@ class CMake(val project: Project) { if (isCMakeParallel) { AdvancedSettings.setBoolean("cmake.reload.profiles.sequentially", true) NotificationGroupManager.getInstance() - .getNotificationGroup("com.jfrog.conan.clion.notifications.general") + .getNotificationGroup("com.jfrog.conan.plugin.notifications.general") .createNotification( UIBundle.message("cmake.parallel.autoactivated.title"), UIBundle.message("cmake.parallel.autoactivated.body"), @@ -150,7 +150,7 @@ class CMake(val project: Project) { } } else if (isCMakeParallel && listOf(1).size > 1) { NotificationGroupManager.getInstance() - .getNotificationGroup("com.jfrog.conan.clion.notifications.general") + .getNotificationGroup("com.jfrog.conan.plugin.notifications.general") .createNotification( UIBundle.message("cmake.parallel.notactivated.title"), UIBundle.message("cmake.parallel.notactivated.body"), diff --git a/src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.kt b/src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt similarity index 90% rename from src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.kt rename to src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt index 8f5413c2..b73840d0 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt @@ -1,7 +1,7 @@ -package com.jfrog.conan.clion.conan +package com.jfrog.conan.plugin.conan import com.intellij.openapi.project.Project -import com.jfrog.conan.clion.models.LibraryData +import com.jfrog.conan.plugin.models.LibraryData import java.io.File import java.nio.file.Paths diff --git a/src/main/kotlin/com/jfrog/conan/clion/conan/datamodels/Recipe.kt b/src/main/kotlin/com/jfrog/conan/plugin/conan/datamodels/Recipe.kt similarity index 73% rename from src/main/kotlin/com/jfrog/conan/clion/conan/datamodels/Recipe.kt rename to src/main/kotlin/com/jfrog/conan/plugin/conan/datamodels/Recipe.kt index 84275328..c2a8d46d 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/conan/datamodels/Recipe.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/conan/datamodels/Recipe.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.conan.datamodels +package com.jfrog.conan.plugin.conan.datamodels import kotlinx.serialization.Serializable diff --git a/src/main/kotlin/com/jfrog/conan/clion/conan/extensions/file.kt b/src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt similarity index 93% rename from src/main/kotlin/com/jfrog/conan/clion/conan/extensions/file.kt rename to src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt index dcbc6a96..c4385ecf 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/conan/extensions/file.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.conan.extensions +package com.jfrog.conan.plugin.conan.extensions import com.intellij.openapi.diagnostic.thisLogger import kotlinx.coroutines.Dispatchers diff --git a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanExecutableDialog.kt b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanExecutableDialog.kt similarity index 96% rename from src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanExecutableDialog.kt rename to src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanExecutableDialog.kt index 491b9d16..8018a9d7 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanExecutableDialog.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanExecutableDialog.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.dialogs +package com.jfrog.conan.plugin.dialogs import com.intellij.ide.util.PropertiesComponent import com.intellij.openapi.components.service @@ -11,10 +11,10 @@ import com.intellij.openapi.vfs.VirtualFile import com.intellij.ui.components.JBCheckBox import com.intellij.ui.components.JBLabel import com.intellij.util.ui.JBUI -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.cmake.CMake -import com.jfrog.conan.clion.models.PersistentStorageKeys -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.cmake.CMake +import com.jfrog.conan.plugin.models.PersistentStorageKeys +import com.jfrog.conan.plugin.services.ConanService import java.awt.GridBagConstraints import java.awt.GridBagLayout import javax.swing.BoxLayout diff --git a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInspectPackagesDialog.kt b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInspectPackagesDialog.kt similarity index 82% rename from src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInspectPackagesDialog.kt rename to src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInspectPackagesDialog.kt index 5eeefcde..c7146389 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInspectPackagesDialog.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInspectPackagesDialog.kt @@ -1,12 +1,12 @@ -package com.jfrog.conan.clion.dialogs +package com.jfrog.conan.plugin.dialogs import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.openapi.ui.DialogWrapper import com.intellij.ui.components.JBScrollPane -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.services.ConanService -import com.jfrog.conan.clion.toolWindow.UsedPackagesPanel +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.services.ConanService +import com.jfrog.conan.plugin.toolWindow.UsedPackagesPanel import java.awt.FlowLayout import javax.swing.JComponent import javax.swing.JPanel diff --git a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInstallDialog.kt b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInstallDialog.kt similarity index 94% rename from src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInstallDialog.kt rename to src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInstallDialog.kt index 791a0841..4b694498 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanInstallDialog.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInstallDialog.kt @@ -1,12 +1,12 @@ -package com.jfrog.conan.clion.dialogs +package com.jfrog.conan.plugin.dialogs import com.intellij.ide.util.PropertiesComponent import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.openapi.ui.DialogWrapper import com.intellij.ui.components.JBCheckBox -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.cmake.CMake +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.cmake.CMake import java.awt.Font import java.awt.GridBagConstraints import java.awt.GridBagLayout diff --git a/src/main/kotlin/com/jfrog/conan/clion/icons/ConanIcons.kt b/src/main/kotlin/com/jfrog/conan/plugin/icons/ConanIcons.kt similarity index 79% rename from src/main/kotlin/com/jfrog/conan/clion/icons/ConanIcons.kt rename to src/main/kotlin/com/jfrog/conan/plugin/icons/ConanIcons.kt index a1905f8f..c0f15191 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/icons/ConanIcons.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/icons/ConanIcons.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.icons +package com.jfrog.conan.plugin.icons import com.intellij.openapi.util.IconLoader diff --git a/src/main/kotlin/com/jfrog/conan/clion/listeners/ConanCMakeSettingsListener.kt b/src/main/kotlin/com/jfrog/conan/plugin/listeners/ConanCMakeSettingsListener.kt similarity index 87% rename from src/main/kotlin/com/jfrog/conan/clion/listeners/ConanCMakeSettingsListener.kt rename to src/main/kotlin/com/jfrog/conan/plugin/listeners/ConanCMakeSettingsListener.kt index 6db6015e..d3a22b45 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/listeners/ConanCMakeSettingsListener.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/listeners/ConanCMakeSettingsListener.kt @@ -1,12 +1,12 @@ -package com.jfrog.conan.clion.listeners +package com.jfrog.conan.plugin.listeners import com.intellij.ide.util.PropertiesComponent import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.jetbrains.cidr.cpp.cmake.CMakeSettings import com.jetbrains.cidr.cpp.cmake.CMakeSettingsListener -import com.jfrog.conan.clion.cmake.CMake -import com.jfrog.conan.clion.models.PersistentStorageKeys +import com.jfrog.conan.plugin.cmake.CMake +import com.jfrog.conan.plugin.models.PersistentStorageKeys internal class ConanCMakeSettingsListener(private val project: Project) : CMakeSettingsListener { diff --git a/src/main/kotlin/com/jfrog/conan/clion/models/Component.kt b/src/main/kotlin/com/jfrog/conan/plugin/models/Component.kt similarity index 76% rename from src/main/kotlin/com/jfrog/conan/clion/models/Component.kt rename to src/main/kotlin/com/jfrog/conan/plugin/models/Component.kt index 40424d87..c5cb05ca 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/models/Component.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/models/Component.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.models +package com.jfrog.conan.plugin.models import kotlinx.serialization.Serializable @Serializable diff --git a/src/main/kotlin/com/jfrog/conan/clion/models/LibrariesTableModel.kt b/src/main/kotlin/com/jfrog/conan/plugin/models/LibrariesTableModel.kt similarity index 84% rename from src/main/kotlin/com/jfrog/conan/clion/models/LibrariesTableModel.kt rename to src/main/kotlin/com/jfrog/conan/plugin/models/LibrariesTableModel.kt index 6345889f..af7d27e4 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/models/LibrariesTableModel.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/models/LibrariesTableModel.kt @@ -1,6 +1,6 @@ -package com.jfrog.conan.clion.models +package com.jfrog.conan.plugin.models -import com.jfrog.conan.clion.bundles.UIBundle +import com.jfrog.conan.plugin.bundles.UIBundle import javax.swing.table.DefaultTableModel class LibrariesTableModel(rowCount: Int) : DefaultTableModel(arrayOf(UIBundle.message("libraries.list.table.name")), rowCount) { diff --git a/src/main/kotlin/com/jfrog/conan/clion/models/Library.kt b/src/main/kotlin/com/jfrog/conan/plugin/models/Library.kt similarity index 90% rename from src/main/kotlin/com/jfrog/conan/clion/models/Library.kt rename to src/main/kotlin/com/jfrog/conan/plugin/models/Library.kt index b7250e15..6c870ad3 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/models/Library.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/models/Library.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.models +package com.jfrog.conan.plugin.models import kotlinx.serialization.Serializable @Serializable diff --git a/src/main/kotlin/com/jfrog/conan/clion/models/LibraryData.kt b/src/main/kotlin/com/jfrog/conan/plugin/models/LibraryData.kt similarity index 77% rename from src/main/kotlin/com/jfrog/conan/clion/models/LibraryData.kt rename to src/main/kotlin/com/jfrog/conan/plugin/models/LibraryData.kt index 4c55bd8a..7888c2b3 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/models/LibraryData.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/models/LibraryData.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.models +package com.jfrog.conan.plugin.models import kotlinx.serialization.Serializable diff --git a/src/main/kotlin/com/jfrog/conan/clion/models/PersistentStorageKeys.kt b/src/main/kotlin/com/jfrog/conan/plugin/models/PersistentStorageKeys.kt similarity index 94% rename from src/main/kotlin/com/jfrog/conan/clion/models/PersistentStorageKeys.kt rename to src/main/kotlin/com/jfrog/conan/plugin/models/PersistentStorageKeys.kt index 165a2ccb..a8dc5fe1 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/models/PersistentStorageKeys.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/models/PersistentStorageKeys.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.models +package com.jfrog.conan.plugin.models class PersistentStorageKeys { companion object { diff --git a/src/main/kotlin/com/jfrog/conan/clion/services/ConanService.kt b/src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt similarity index 96% rename from src/main/kotlin/com/jfrog/conan/clion/services/ConanService.kt rename to src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt index ed3db4c0..c7bf4ce7 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/services/ConanService.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.services +package com.jfrog.conan.plugin.services import com.intellij.ide.util.PropertiesComponent import com.intellij.openapi.components.Service @@ -8,11 +8,11 @@ import com.intellij.openapi.project.Project import com.intellij.openapi.ui.Messages import com.intellij.openapi.vfs.LocalFileSystem import com.jetbrains.cidr.cpp.cmake.workspace.CMakeWorkspace -import com.jfrog.conan.clion.cmake.CMake -import com.jfrog.conan.clion.conan.ConanPluginUtils -import com.jfrog.conan.clion.conan.extensions.downloadFromUrl -import com.jfrog.conan.clion.models.LibraryData -import com.jfrog.conan.clion.models.PersistentStorageKeys +import com.jfrog.conan.plugin.cmake.CMake +import com.jfrog.conan.plugin.conan.ConanPluginUtils +import com.jfrog.conan.plugin.conan.extensions.downloadFromUrl +import com.jfrog.conan.plugin.models.LibraryData +import com.jfrog.conan.plugin.models.PersistentStorageKeys import kotlinx.serialization.SerializationException import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json diff --git a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/ConanWindowFactory.kt b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ConanWindowFactory.kt similarity index 95% rename from src/main/kotlin/com/jfrog/conan/clion/toolWindow/ConanWindowFactory.kt rename to src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ConanWindowFactory.kt index 63310f09..b952d81c 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/ConanWindowFactory.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ConanWindowFactory.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.toolWindow +package com.jfrog.conan.plugin.toolWindow import com.intellij.openapi.components.service import com.intellij.openapi.project.Project @@ -15,10 +15,10 @@ import com.intellij.ui.content.ContentFactory import com.intellij.ui.table.JBTable import com.intellij.util.text.SemVer import com.intellij.util.ui.JBUI -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.conan.datamodels.Recipe -import com.jfrog.conan.clion.models.LibrariesTableModel -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.conan.datamodels.Recipe +import com.jfrog.conan.plugin.models.LibrariesTableModel +import com.jfrog.conan.plugin.services.ConanService import java.awt.BorderLayout import javax.swing.* import javax.swing.event.DocumentEvent diff --git a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/MainActionToolbar.kt b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/MainActionToolbar.kt similarity index 88% rename from src/main/kotlin/com/jfrog/conan/clion/toolWindow/MainActionToolbar.kt rename to src/main/kotlin/com/jfrog/conan/plugin/toolWindow/MainActionToolbar.kt index 04ee7c67..cd9878b9 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/MainActionToolbar.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/MainActionToolbar.kt @@ -1,14 +1,14 @@ -package com.jfrog.conan.clion.toolWindow +package com.jfrog.conan.plugin.toolWindow import com.intellij.icons.AllIcons import com.intellij.openapi.actionSystem.* import com.intellij.openapi.components.service import com.intellij.openapi.project.Project -import com.jfrog.conan.clion.cmake.CMake -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.dialogs.ConanExecutableDialogWrapper -import com.jfrog.conan.clion.dialogs.ConanInspectPackagesDialogWrapper -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.cmake.CMake +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.dialogs.ConanExecutableDialogWrapper +import com.jfrog.conan.plugin.dialogs.ConanInspectPackagesDialogWrapper +import com.jfrog.conan.plugin.services.ConanService class MainActionToolbar(val project: Project) { private val conanService = project.service() diff --git a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/PackageInformationPanel.kt b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/PackageInformationPanel.kt similarity index 93% rename from src/main/kotlin/com/jfrog/conan/clion/toolWindow/PackageInformationPanel.kt rename to src/main/kotlin/com/jfrog/conan/plugin/toolWindow/PackageInformationPanel.kt index b4ad911b..6fef07e8 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/PackageInformationPanel.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/PackageInformationPanel.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion.toolWindow +package com.jfrog.conan.plugin.toolWindow import com.intellij.notification.NotificationGroupManager import com.intellij.notification.NotificationType @@ -8,8 +8,8 @@ import com.intellij.openapi.ui.ComboBox import com.intellij.ui.components.JBLabel import com.intellij.ui.components.JBPanelWithEmptyText import com.intellij.ui.components.JBScrollPane -import com.jfrog.conan.clion.bundles.UIBundle -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.bundles.UIBundle +import com.jfrog.conan.plugin.services.ConanService import java.awt.Component import java.awt.FlowLayout import java.awt.GridBagConstraints @@ -76,7 +76,7 @@ class PackageInformationPanel(private val project: Project) : JBPanelWithEmptyTe NotificationGroupManager.getInstance() - .getNotificationGroup("com.jfrog.conan.clion.notifications.general") + .getNotificationGroup("com.jfrog.conan.plugin.notifications.general") .createNotification( UIBundle.message("library.added.title", "$name/$selectedVersion"), UIBundle.message("library.added.body"), @@ -95,7 +95,7 @@ class PackageInformationPanel(private val project: Project) : JBPanelWithEmptyTe comboBox.setToolTipText(null) NotificationGroupManager.getInstance() - .getNotificationGroup("com.jfrog.conan.clion.notifications.general") + .getNotificationGroup("com.jfrog.conan.plugin.notifications.general") .createNotification( UIBundle.message("library.removed.title"), UIBundle.message("library.removed.body", "$name/$selectedVersion"), diff --git a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ReadmePanel.kt similarity index 98% rename from src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt rename to src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ReadmePanel.kt index 043d26c5..1941e45d 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ReadmePanel.kt @@ -1,11 +1,11 @@ -package com.jfrog.conan.clion.toolWindow +package com.jfrog.conan.plugin.toolWindow import com.intellij.ide.ui.LafManager import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.ui.components.JBScrollPane import com.intellij.ui.jcef.JCEFHtmlPanel -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.services.ConanService import java.awt.Color import javax.swing.JComponent import javax.swing.SwingUtilities diff --git a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/UsedPackagesPanel.kt similarity index 97% rename from src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt rename to src/main/kotlin/com/jfrog/conan/plugin/toolWindow/UsedPackagesPanel.kt index 5e0d545f..db072a62 100644 --- a/src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt +++ b/src/main/kotlin/com/jfrog/conan/plugin/toolWindow/UsedPackagesPanel.kt @@ -1,11 +1,11 @@ -package com.jfrog.conan.clion.toolWindow +package com.jfrog.conan.plugin.toolWindow import com.intellij.ide.ui.LafManager import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.ui.jcef.JCEFHtmlPanel -import com.jfrog.conan.clion.models.LibraryData -import com.jfrog.conan.clion.services.ConanService +import com.jfrog.conan.plugin.models.LibraryData +import com.jfrog.conan.plugin.services.ConanService import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import java.awt.Color diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 725afaf8..314c2d28 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,6 +1,6 @@ - com.jfrog.conan.clion + com.jfrog.conan.plugin Conan JFrog com.intellij.modules.clion messages.ui - + icon="com.jfrog.conan.plugin.icons.ConanIcons.Logo"/> - - diff --git a/src/main/resources/messages/ui.properties b/src/main/resources/messages/ui.properties index 3345616f..9a4e3777 100644 --- a/src/main/resources/messages/ui.properties +++ b/src/main/resources/messages/ui.properties @@ -1,4 +1,4 @@ -generalNotificationKey=com.jfrog.conan.clion.notifications.general.key +generalNotificationKey=com.jfrog.conan.plugin.notifications.general.key config.title=Configuration config.executable=Conan executable diff --git a/src/test/kotlin/com/jfrog/conan/clionplugin/MyPluginTest.kt b/src/test/kotlin/com/jfrog/conan/clionplugin/MyPluginTest.kt index 87239a05..682af948 100644 --- a/src/test/kotlin/com/jfrog/conan/clionplugin/MyPluginTest.kt +++ b/src/test/kotlin/com/jfrog/conan/clionplugin/MyPluginTest.kt @@ -1,4 +1,4 @@ -package com.jfrog.conan.clion +package com.jfrog.conan.plugin import com.intellij.ide.highlighter.XmlFileType import com.intellij.psi.xml.XmlFile