actarian / vscode-glsl-canvas

Live WebGL preview of GLSL shaders
MIT License
335 stars 25 forks source link

Formatting != operator with the non-compact formatter #48

Closed EnixCoda closed 3 years ago

EnixCoda commented 3 years ago

The != operator seems to be not correctly formatted when the Use compact formatter option is disabled in settings.

Before formatting

if (0 != 0){}

After

if (0 ! = 0) {}

And there is an error message in the output tab: ERROR line 1 if syntax error

Thank you for this extension!

actarian commented 3 years ago

@EnixCoda issue has been resolved in latest version 0.2.12. Thank you for your submission.