Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why UnoCss Pluin always show me “Updating unocss config” in Webstorm IDE ?? #68

Open
lonesomeGoblin opened this issue Jun 14, 2024 · 11 comments

Comments

@lonesomeGoblin
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment
Plugin Version: #
IDE Version: #
Unocss Version(in package.json): #

Unocss Config:
(Share your uno.config.js/ts or vite config here)

@lonesomeGoblin
Copy link
Author

It used nearly 200 processes

@lonesomeGoblin lonesomeGoblin changed the title why UnioCss Pluin always show me “Updating unocss config” in Webstorm IDE ?? Why UnoCss Pluin always show me “Updating unocss config” in Webstorm IDE ?? Jun 14, 2024
@re-ovo
Copy link
Owner

re-ovo commented Jun 14, 2024

Please provide the specific operating environment, such as webstorm version, log, operating system, node version, configuration file, etc.

@lonesomeGoblin
Copy link
Author

IDE: Webstorm 2024.1.4
node version: nodejs 20.12.0
operating environment: Ubuntu 24.04

@re-ovo
Copy link
Owner

re-ovo commented Jun 14, 2024

log

@zhupeikang
Copy link

+1,也是在WSL2中出现的这个问题
开发环境版本跟@LuciferSama-AI一样
log :java.lang.IllegalStateException: There is no ProgressIndicator or Job in this thread, the current job is not cancellable.
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:128)
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:126)
at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:83)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:126)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:121)
at com.intellij.execution.wsl.WslIjentUtil.runProcessBlocking(WslIjentUtil.kt:63)
at com.intellij.execution.wsl.WSLDistribution.lambda$patchCommandLine$2(WSLDistribution.java:239)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:491)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:464)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:357)
at com.intellij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:86)
at com.intellij.execution.process.OSProcessHandler.(OSProcessHandler.java:46)
at com.intellij.execution.process.CapturingProcessHandler.(CapturingProcessHandler.java:20)
at me.rerere.unocssintellij.UnocssProcess.(UnocssProcess.kt:56)
at me.rerere.unocssintellij.UnocssService.initProcess-IoAF18A(UnocssService.kt:157)
at me.rerere.unocssintellij.UnocssService.getProcess(UnocssService.kt:113)
at me.rerere.unocssintellij.UnocssService.resolveCss(UnocssService.kt:260)
at me.rerere.unocssintellij.model.UnocssResolveMeta$resolveCss$1$1.invokeSuspend(UnocssResolveMeta.kt:30)
at me.rerere.unocssintellij.model.UnocssResolveMeta$resolveCss$1$1.invoke(UnocssResolveMeta.kt)
at me.rerere.unocssintellij.model.UnocssResolveMeta$resolveCss$1$1.invoke(UnocssResolveMeta.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:89)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:151)
at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:107)
at me.rerere.unocssintellij.model.UnocssResolveMeta$resolveCss$1.invokeSuspend(UnocssResolveMeta.kt:30)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:132)
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:126)
at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext$lambda$5(context.kt:107)
at com.intellij.openapi.progress.impl.CoreProgressManager.silenceGlobalIndicator(CoreProgressManager.java:1022)
at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext(context.kt:105)
at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:75)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:126)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:121)
at me.rerere.unocssintellij.model.UnocssResolveMeta.resolveCss(UnocssResolveMeta.kt:29)
at me.rerere.unocssintellij.marker.inlay.UnocssColorPreviewInlayHintsProvider$MyCollector.collect(UnocssColorPreviewInlayHintsProvider.kt:176)
at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:97)
at com.intellij.codeInsight.hints.InlayHintsPass.doCollectInformation$lambda$1(InlayHintsPass.kt:60)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.openapi.application.impl.RwLockHolder.tryRunReadAction(RwLockHolder.kt:310)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:958)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:96)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

@re-ovo
Copy link
Owner

re-ovo commented Jul 5, 2024

插件什么版本 @zhupeikang

@zhupeikang
Copy link

插件什么版本 @zhupeikang

1.5.0

@re-ovo
Copy link
Owner

re-ovo commented Jul 5, 2024

插件什么版本 @zhupeikang

1.5.0

用的WSL开发吗?

@zhupeikang
Copy link

插件什么版本 @zhupeikang

1.5.0

用的WSL开发吗?

是的

@re-ovo
Copy link
Owner

re-ovo commented Jul 5, 2024

插件什么版本 @zhupeikang

1.5.0

用的WSL开发吗?

是的

和这个issue有关
https://youtrack.jetbrains.com/issue/IDEA-347138

建议用本地开发,或者试试2024.2 EAP

@zhupeikang
Copy link

插件什么版本 @zhupeikang

1.5.0

用的WSL开发吗?

是的

和这个issue有关 https://youtrack.jetbrains.com/issue/IDEA-347138

建议用本地开发,或者试试2024.2 EAP

本地开发是没有这个问题的。我试试EAP版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants