Skip to content

Commit

Permalink
Fix verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelldi committed Dec 6, 2023
1 parent 8858390 commit 53f4405
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# aspire-plugin
# Aspire Plugin for JetBrains Rider

![Build](https://github.com/rafaelldi/aspire-plugin/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)
[![Version](https://img.shields.io/jetbrains/plugin/v/PLUGIN_ID.svg?label=plugin&logo=rider)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)

<!-- Plugin description -->
Experiments with Aspire
The plugin provides support for .NET Aspire projects in JetBrains Rider.

<!-- Plugin description end -->

## Installation
Expand All @@ -25,4 +26,3 @@ Experiments with Aspire
Plugin based on the [IntelliJ Platform Plugin Template][template].

[template]: https://github.com/JetBrains/intellij-platform-plugin-template
[docs:plugin-description]: https://plugins.jetbrains.com/docs/intellij/plugin-user-experience.html#plugin-description-and-presentation
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ tasks {
configure<com.jetbrains.rd.generator.gradle.RdGenExtension> {
val modelDir = projectDir.resolve("protocol/src/main/kotlin/model/sessionHost")
val pluginSourcePath = projectDir.resolve("src")
val ktOutput = pluginSourcePath.resolve("main/kotlin/com/intellij/aspire/generated")
val ktOutput = pluginSourcePath.resolve("main/kotlin/me/rafaelldi/aspire/generated")
val csOutput = pluginSourcePath.resolve("dotnet/aspire-session-host/Generated")

verbose = true
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html

pluginGroup = com.intellij.aspire
pluginGroup = me.rafaelldi.aspire
pluginName = aspire-plugin
pluginRepositoryUrl = https://github.com/rafaelldi/aspire-plugin
# SemVer format -> https://semver.org
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.jetbrains.rd.generator.nova.kotlin.Kotlin11Generator

object AspireSessionHostRoot : Root() {
init {
setting(Kotlin11Generator.Namespace, "com.intellij.aspire.generated")
setting(Kotlin11Generator.Namespace, "me.rafaelldi.aspire.generated")
setting(CSharp50Generator.Namespace, "AspireSessionHost.Generated")
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire
package me.rafaelldi.aspire

import com.intellij.DynamicBundle
import org.jetbrains.annotations.NonNls
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@file:Suppress("EXPERIMENTAL_API_USAGE","EXPERIMENTAL_UNSIGNED_LITERALS","PackageDirectoryMismatch","UnusedImport","unused","LocalVariableName","CanBeVal","PropertyName","EnumEntryName","ClassName","ObjectPropertyName","UnnecessaryVariable","SpellCheckingInspection")

Check warning on line 1 in src/main/kotlin/me/rafaelldi/aspire/generated/AspireSessionHostModel.Generated.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Redundant diagnostic suppression

Redundant suppression
package com.intellij.aspire.generated
package me.rafaelldi.aspire.generated

import com.jetbrains.rd.framework.*
import com.jetbrains.rd.framework.base.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@file:Suppress("EXPERIMENTAL_API_USAGE","EXPERIMENTAL_UNSIGNED_LITERALS","PackageDirectoryMismatch","UnusedImport","unused","LocalVariableName","CanBeVal","PropertyName","EnumEntryName","ClassName","ObjectPropertyName","UnnecessaryVariable","SpellCheckingInspection")

Check warning on line 1 in src/main/kotlin/me/rafaelldi/aspire/generated/AspireSessionHostRoot.Generated.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Redundant diagnostic suppression

Redundant suppression
package com.intellij.aspire.generated
package me.rafaelldi.aspire.generated

import com.jetbrains.rd.framework.*
import com.jetbrains.rd.framework.base.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.execution.configurations.ConfigurationFactory
import com.intellij.openapi.project.Project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.openapi.project.Project
import com.jetbrains.rider.run.configurations.DotNetConfigurationFactoryBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.execution.configurations.RunConfiguration
import com.intellij.execution.configurations.RunProfile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.execution.RunManager
import com.intellij.execution.RunnerAndConfigurationSettings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.jetbrains.rd.util.lifetime.Lifetime
import com.jetbrains.rd.util.reactive.adviseOnce
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.aspire.sessionHost.AspireSessionHostService
import me.rafaelldi.aspire.sessionHost.AspireSessionHostService
import com.intellij.execution.CantRunException
import com.intellij.execution.configurations.RunProfileState
import com.intellij.execution.executors.DefaultDebugExecutor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.execution.configurations.RunProfile
import com.jetbrains.rider.debugger.DotNetProgramRunner
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.intellij.openapi.project.Project
import com.jetbrains.rd.util.lifetime.Lifetime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intellij.aspire.run
package me.rafaelldi.aspire.run

import com.jetbrains.rider.model.RunnableProjectKind

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intellij.aspire.sessionHost
package me.rafaelldi.aspire.sessionHost

import com.intellij.aspire.generated.AspireSessionHostModel
import com.intellij.aspire.generated.aspireSessionHostModel
import me.rafaelldi.aspire.generated.AspireSessionHostModel
import me.rafaelldi.aspire.generated.aspireSessionHostModel
import com.intellij.execution.CantRunException
import com.intellij.execution.configurations.GeneralCommandLine
import com.intellij.execution.process.KillableColoredProcessHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.intellij.aspire.sessionHost
package me.rafaelldi.aspire.sessionHost

import com.intellij.aspire.generated.*
import com.intellij.execution.ProgramRunnerUtil
import com.intellij.execution.RunManager
import com.intellij.execution.RunnerAndConfigurationSettings
Expand Down Expand Up @@ -36,6 +35,7 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.consumeAsFlow
import kotlinx.coroutines.launch
import me.rafaelldi.aspire.generated.*
import kotlin.io.path.Path

@Service(Service.Level.PROJECT)
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<id>com.intellij.aspire</id>
<id>me.rafaelldi.aspire</id>
<name>Aspire</name>
<vendor url="https://github.com/rafaelldi">Rival Abdrakhmanov</vendor>

Expand All @@ -10,8 +10,8 @@
<resource-bundle>messages.AspireBundle</resource-bundle>

<extensions defaultExtensionNs="com.intellij">
<configurationType implementation="com.intellij.aspire.run.AspireHostConfigurationType"/>
<programRunner implementation="com.intellij.aspire.run.AspireHostProgramRunner"/>
<configurationType implementation="me.rafaelldi.aspire.run.AspireHostConfigurationType"/>
<programRunner implementation="me.rafaelldi.aspire.run.AspireHostProgramRunner"/>

<errorHandler implementation="com.intellij.diagnostic.JetBrainsMarketplaceErrorReportSubmitter"/>

Expand Down

0 comments on commit 53f4405

Please sign in to comment.