This commit is contained in:
2025-11-30 21:20:36 +01:00
parent 4225828d15
commit 970f8dfdd1
5 changed files with 886 additions and 874 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ paths.forEach((_path) => {
});
const fd = fs.openSync("tooltips.csv", "w");
fs.writeSync(fd, "File|Template Name|Node ID|Tooltip\n");
fs.writeSync(fd, "File|Template Name|Node ID|Tooltip|Comment\n");
objects.forEach((obj) => {
fs.writeSync(fd, `${obj.file}|${obj.templateName}|${obj.nodeID}|\n`);
fs.writeSync(fd, `${obj.file}|${obj.templateName}|${obj.nodeID}||\n`);
});
fs.closeSync(fd);
+7 -1
View File
@@ -41,8 +41,14 @@ paths.forEach((_path) => {
if (tip) {
const _tip = lines[index]
.replaceAll("NODE_ID", "TOOLTIPID")
.replaceAll(_nodeID, tip)
.replaceAll(_nodeID, tip);
lines.splice(index, 0, `${_tip}`);
const comment = lines[index - 1].replaceAll(
/\S.*/g,
"<!-- NOTE: EXP - Tooltip -->"
);
lines.splice(index - 1, 0, comment);
index += 2; //Advance
}
templateName = undefined;
}
+872 -871
View File
File diff suppressed because it is too large Load Diff