textual icon indicating copy to clipboard operation
textual copied to clipboard

Improve CSS syntax error

Open willmcgugan opened this issue 1 year ago • 3 comments

CSS syntax errors produce somewhat cryptic errors. We should try and improve this.

In particular we should try to produce a helpful error for missing semi-colons, which will be a common issue.

Screenshot 2022-08-07 at 10 41 16

willmcgugan avatar Aug 07 '22 09:08 willmcgugan

or... make semicolons optional?

tusharsadhwani avatar Aug 07 '22 10:08 tusharsadhwani

if you need to implement that manually, you can try doing "automatic semicolon insertion", like javascript.

tusharsadhwani avatar Aug 07 '22 10:08 tusharsadhwani

They were optinal originally. We changed it to be in line with browser CSS.

willmcgugan avatar Aug 07 '22 10:08 willmcgugan

Did we solve your problem?

Consider buying the Textualize developers a coffee to say thanks.

Textualize

github-actions[bot] avatar Aug 19 '22 14:08 github-actions[bot]