Skip to content

Commit bb31af8

Browse files
authored
Merge pull request #95 from kieler/sdo/compilationLogs
Added support for showing compilation logs in Kieler VS Code
2 parents badcc12 + 0cb568e commit bb31af8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

language-server/de.cau.cs.kieler.language.server/src/de/cau/cs/kieler/language/server/kicool/KeithCompilationUpdater.xtend

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ class KeithCompilationUpdater implements Observer {
101101
currentSnapshotList.add(new SnapshotDescription(processor.name, currentIndex, currentSnapshotList.length, errors, warnings, infos))
102102
kicoolExt.objectMap.get(uri).add(impl)
103103
currentIndex++
104+
if (!environment.logs.files.isEmpty) {
105+
currentSnapshotList.add(new SnapshotDescription(processor.name + " Log", currentIndex, currentSnapshotList.length, null, null, null))
106+
kicoolExt.objectMap.get(uri).add(environment.logs)
107+
currentIndex++;
108+
}
104109
maxIndex = context.processorInstances.length
105110
kicoolExt.update(uri, context, clientId, command, inplace, false, showResultingModel, currentIndex, maxIndex)
106111
}

0 commit comments

Comments
 (0)