vscode-glsl-canvas
vscode-glsl-canvas copied to clipboard
Formatter handles scientific notation incorrectly ( `1e-9` -> `1e - 9` )
Thanks for the great extension!
I just noticed one issue and wanted to report it.
When formatting scientific notation with Use compact formatter
disabled, spaces are added around the sign, which causes compilation errors.
before
const float EPSILON = 1e-9;
const float FOO = 1E+10F;
after
const float EPSILON = 1e - 9;
const float FOO = 1E + 10F;
environment
- glsl-canvas v0.2.15
- vscode v1.92.0
- os: Windows11