backport: 20.1.3
This commit is contained in:
parent
655f05c3b8
commit
062aeaaa97
4 changed files with 17 additions and 4 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -17,6 +17,18 @@ Changelog structure reference:
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [20.1.3]
|
||||
|
||||
### Added
|
||||
|
||||
- Project
|
||||
- `.zig-cache` directory added to autogenerated gitignore in the project generator
|
||||
|
||||
### Fixed
|
||||
|
||||
- Project
|
||||
- Zig Build tool window crashes when opening remote projects
|
||||
|
||||
## [20.1.2]
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -22,15 +22,15 @@
|
|||
|
||||
package com.falsepattern.zigbrains.project.steps.ui
|
||||
|
||||
import com.falsepattern.zigbrains.shared.coroutine.runModalOrBlocking
|
||||
import com.falsepattern.zigbrains.shared.zigCoroutineScope
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.wm.ToolWindow
|
||||
import com.intellij.openapi.wm.ToolWindowFactory
|
||||
import com.intellij.platform.ide.progress.ModalTaskOwner
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
class BuildToolWindowFactory: ToolWindowFactory {
|
||||
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
|
||||
runModalOrBlocking({ModalTaskOwner.project(project)}, {"BuildToolWindowFactory.createToolWindowContent"}) {
|
||||
project.zigCoroutineScope.launch {
|
||||
BuildToolWindowContext.create(project, toolWindow)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
zig-cache/
|
||||
.zig-cache/
|
||||
zig-out/
|
||||
build/
|
||||
build-*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
pluginName=ZigBrains
|
||||
pluginRepositoryUrl=https://github.com/FalsePattern/ZigBrains
|
||||
|
||||
pluginVersion=20.1.2
|
||||
pluginVersion=20.1.3
|
||||
|
||||
pluginSinceBuild=241
|
||||
pluginUntilBuild=241.*
|
||||
|
|
Loading…
Add table
Reference in a new issue