rafaelldi / tye-plugin Goto Github PK
View Code? Open in Web Editor NEWTye plugin for JetBrains Rider
Home Page: https://plugins.jetbrains.com/plugin/16426-tye
License: MIT License
Tye plugin for JetBrains Rider
Home Page: https://plugins.jetbrains.com/plugin/16426-tye
License: MIT License
As title suggests, I'm wondering if this plugin has the ability to debug services. Using tye with vscode provides this out of the box when using tye plugin.
When Running via the command line + Pressing CTRL + C. Docker kills & cleans up the containers.
But when adding a Tye Project to Run/Debug configurations, I'm able to launch the Tye project, but when killing it using the Stop button, the containers aren't cleaned up.
There is just a message printed to the console, which l assume the kill (or the correct kill) command isn't propagated to Tye itself?
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
tye run
supports passing --watch
as an argument. It would be awesome to be able to do this with this plugin!
https://github.com/dotnet/tye/blob/main/docs/reference/commandline/tye-run.md
Thanks for the awesome plugin!
Should put dashboard to the Services
tool window and remove separate Tye Dashboard
tool window.
I get the following issue. Is there a way to override it perhaps? (Unfortunately my java / intellij-plugin capabilities are extremely limited, so I dont know where to start at the moment)
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 676: Encountered an unknown key 'serviceSource'.
Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
JSON input: .....onfiguration": []
},
"serviceSource": "configuration.....
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
at kotlinx.serialization.json.internal.JsonLexer.fail(JsonLexer.kt:479)
at kotlinx.serialization.json.internal.JsonLexer.failOnUnknownKey(JsonLexer.kt:475)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.handleUnknown(StreamingJsonDecoder.kt:154)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeObjectIndex(StreamingJsonDecoder.kt:143)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeElementIndex(StreamingJsonDecoder.kt:75)
at com.github.rafaelldi.tyeplugin.api.model.ServiceDto$$serializer.deserialize(ServiceDto.kt:5)
at com.github.rafaelldi.tyeplugin.api.model.ServiceDto$$serializer.deserialize(ServiceDto.kt:5)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:63)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:32)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:95)
at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:37)
at io.ktor.client.features.json.JsonSerializer$DefaultImpls.read(JsonSerializer.kt:31)
at io.ktor.client.features.json.serializer.KotlinxSerializer.read(KotlinxSerializer.kt:20)
at io.ktor.client.features.json.JsonFeature$Feature$install$2.invokeSuspend(JsonFeature.kt:161)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:87)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:61)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:40)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.github.rafaelldi.tyeplugin.actions.ConnectToTyeHostAction.connect(ConnectToTyeHostAction.kt:41)
at com.github.rafaelldi.tyeplugin.actions.ConnectToTyeHostAction.access$connect(ConnectToTyeHostAction.kt:13)
at com.github.rafaelldi.tyeplugin.actions.ConnectToTyeHostAction$actionPerformed$task$1.run(ConnectToTyeHostAction.kt:33)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)
at com.intellij.codeWithMe.ClientId$Companion$decorateFunction$2.apply(ClientId.kt:209)
at com.intellij.codeWithMe.ClientId$Companion$decorateFunction$2.apply(ClientId.kt:209)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
Versions Of Software:
JetBrains Rider 2021.2
Build #RD-212.4746.113, built on July 30, 2021
macOS 11.5
.NET(core) 5.0.7
Tye Version: 0.9.0-alpha.21380.1+836b0baa8a0ed5d8ca3bebc27c7d4f6d0a7bdfd9
also, thank you for taking the time to create this plugin. Rider definitely needs something like this โญ๏ธ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.