vscode-custom-local-formatters icon indicating copy to clipboard operation
vscode-custom-local-formatters copied to clipboard

[BUG] tabSize

Open Mordef opened this issue 2 years ago • 0 comments

When i use ${tabSize} i got this error:

Formatter failed: ... function toString() { [native code] }

In extension.ts at line 38:

.replace(/\${tabSize}/g, '' + options.tabSize.toString);

must

.replace(/\${tabSize}/g, '' + options.tabSize.toString());

Mordef avatar Jan 19 '23 09:01 Mordef