0

我注意到 watch sass 编译成功,即使一个部分有一个大错误,比如不存在的变量。它确实在终端中显示了错误,但是如果我正在编译许多文件,则错误会在终端提要中丢失,并且“成功✓”会显示何时应该是错误。

有什么可以通过设置完成的吗?在我构建自己的最多 1-2 个部分的网站之前,这不是问题。现在我使用 ~8+ 部分,因此很容易错过终端错误消息。

这是我的设置:

    {
  "liveSassCompile.settings.generateMap": true,
  "liveSassCompile.settings.autoprefix": null,
  "tabnine.experimentalAutoImports": true,
  "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",

  "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true,
  "javascript.format.placeOpenBraceOnNewLineForFunctions": true,
  "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
  "typescript.format.placeOpenBraceOnNewLineForFunctions": true,
  "editor.formatOnPaste": true,
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "json.maxItemsComputed": 10000,
  "liveServer.settings.donotShowInfoMsg": true,
  "editor.cursorBlinking": "expand",
  "terminal.integrated.cursorStyle": "line",
  "editor.cursorWidth": 3,
  "window.autoDetectColorScheme": true,
  "editor.mouseWheelZoom": true,
  "workbench.commandPalette.history": 100,
  "workbench.list.smoothScrolling": true,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "diffEditor.ignoreTrimWhitespace": false,
  "liveSassCompile.settings.formats": [
  
    // {
    //     "format": "expanded",
    //     "extensionName": ".css",
    //     "savePath": null
    // }

    {
      "format": "nested",
      "extensionName": ".css",
      "savePath": "~/../css/"
    }
  ],
  "liveSassCompile.settings.excludeList": [
    "**/node_modules/**",
    ".vscode/**"
  ],
  "autoprefixer.browsers": [
    "last 2 versions",
      "> 1%"
  ],
  "projectManager.git.baseFolders": [
    "C:\\Users\\Noob\\Documents\\git"
  ],
  "[scss]": {
    "editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter"
  },
  "gitlens.defaultDateShortFormat": null
}


// > 1%, last 2 versions, Firefox ESR, Opera 12.1

尽管有错误但成功的屏幕截图

4

0 回答 0