Skip to content

Commit

Permalink
Turn on eagerError
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Dec 8, 2023
1 parent 81f2b41 commit f1753c0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
// current file when a language service does not provide its own completions.
// This results in code completion suggesting words when editing comments and
// strings. This setting will prevent that.
"editor.wordBasedSuggestions": false
"editor.wordBasedSuggestions": "off"
},
"cSpell.words": [
"baro",
Expand Down
53 changes: 28 additions & 25 deletions lib/ini_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,34 @@ class INIParser {
_parseSections(line);
}

await Future.wait([
_parseHeader(),
_parseSettingGroups(),
_parsePcVariables(),
_parseConstants(),
_parseOutputChannels(),
_parseConstantsExtensions(),
_parseTableEditor(),
_parseGaugeConfigurations(),
_parseControllerCommands(),
_parseCurveEditor(),
_parseUiDialogs(),
_parseMenu(),
// _parseKeyActions(),
_parseDatalog(),
_parseFrontPage(),
// _parseEventTriggers(),
// _parseVeAnalyze(),
// _parseWueAnalyze(),
// _parseTuning(),
// _parseReferenceTables(),
// _parseTools(),
// _parseLoggerDefinition(),
_parseContextHelp(),
]);
await Future.wait(
[
_parseHeader(),
_parseSettingGroups(),
_parsePcVariables(),
_parseConstants(),
_parseOutputChannels(),
_parseConstantsExtensions(),
_parseTableEditor(),
_parseGaugeConfigurations(),
_parseControllerCommands(),
_parseCurveEditor(),
_parseUiDialogs(),
_parseMenu(),
// _parseKeyActions(),
_parseDatalog(),
_parseFrontPage(),
// _parseEventTriggers(),
// _parseVeAnalyze(),
// _parseWueAnalyze(),
// _parseTuning(),
// _parseReferenceTables(),
// _parseTools(),
// _parseLoggerDefinition(),
_parseContextHelp(),
],
eagerError: true,
);

return _config;
}
Expand Down

0 comments on commit f1753c0

Please sign in to comment.