Commit ed9892a5 authored by greg's avatar greg Committed by yann300

Add ability to filter out compiler warnings

parent 0966057c
...@@ -38,6 +38,7 @@ module.exports = class CompileTab { ...@@ -38,6 +38,7 @@ module.exports = class CompileTab {
maxTime: 1000, maxTime: 1000,
timeout: 300 timeout: 300
} }
self._opts.config.set('hideWarnings', false)
self._events.editor.register('contentChanged', scheduleCompilation) self._events.editor.register('contentChanged', scheduleCompilation)
self._events.editor.register('sessionSwitched', scheduleCompilation) self._events.editor.register('sessionSwitched', scheduleCompilation)
function scheduleCompilation () { function scheduleCompilation () {
...@@ -334,6 +335,11 @@ const css = csjs` ...@@ -334,6 +335,11 @@ const css = csjs`
display: flex; display: flex;
align-items: center; align-items: center;
} }
.hideWarningsContainer {
display: flex;
align-items: center;
margin-left: 2%
}
.autocompile {} .autocompile {}
.autocompileTitle { .autocompileTitle {
font-weight: bold; font-weight: bold;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment