From ed9892a568bfc3603d652ee98d69f0ff9e948692 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 6 Jun 2018 22:32:30 -0400 Subject: [PATCH] Add ability to filter out compiler warnings --- src/app/tabs/compile-tab.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index d425a9bfdd..2875547175 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -38,6 +38,7 @@ module.exports = class CompileTab { maxTime: 1000, timeout: 300 } + self._opts.config.set('hideWarnings', false) self._events.editor.register('contentChanged', scheduleCompilation) self._events.editor.register('sessionSwitched', scheduleCompilation) function scheduleCompilation () { @@ -334,6 +335,11 @@ const css = csjs` display: flex; align-items: center; } + .hideWarningsContainer { + display: flex; + align-items: center; + margin-left: 2% + } .autocompile {} .autocompileTitle { font-weight: bold;