File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/main/kotlin/io/runescript/plugin/ide/execution/build Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 10
10
11
11
### Changed
12
12
- The build window will now display internal compiler errors as well.
13
+ - The build system will now save all documents automatically upon building.
13
14
14
15
### Fixed
15
16
- Fix a bug with script block indentation.
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import com.intellij.openapi.application.ApplicationManager
12
12
import com.intellij.openapi.application.invokeLater
13
13
import com.intellij.openapi.application.runWriteAction
14
14
import com.intellij.openapi.components.service
15
+ import com.intellij.openapi.fileEditor.FileDocumentManager
15
16
import com.intellij.openapi.module.Module
16
17
import com.intellij.openapi.project.Project
17
18
import com.intellij.openapi.project.guessModuleDir
@@ -49,6 +50,7 @@ class RsBuildInstance(
49
50
ApplicationManager .getApplication().executeOnPooledThread {
50
51
executionPublisher.processStarting(executorId, environment)
51
52
invokeLater {
53
+ FileDocumentManager .getInstance().saveAllDocuments()
52
54
openBuildToolWindow()
53
55
runWriteAction {
54
56
val processHandler = createProcessHandler()
You can’t perform that action at this time.
0 commit comments