Open Aschent89 opened 1 year ago
Also, I updated to the following formatter settings and the issue did not subside.
"enabled": true,
"executable": "clang-format",
"ignoredGlobs": [
"src/core/nui/**/*"
],
"style": {
"BasedOnStyle": "Google",
"AlignTrailingComments": true,
"AlignConsecutiveAssignments": true,
"ColumnLimit": 250,
"BreakBeforeBraces": "Allman",
"AlignEscapedNewlinesLeft": true,
"AlwaysBreakBeforeMultilineStrings": true,
"MaxEmptyLinesToKeep": 1,
"TabWidth": 4,
"IndentWidth": 4,
"UseTab": "Always"
It appears that the auto-formatter is eating code when encountering color codes that are commonly used by NWN. This break happens regardless of whether the color code is in comments or not.
Repro Steps:
void testFunction(object oPC) { int nFoo = foo(oPC); int nFooBarFooBar = nFoo(oPC); }