Skip to content

Commit 0cb568e

Browse files
committed
language.server.kicool: Compilation logs.
1 parent badcc12 commit 0cb568e

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)