workshop.codes icon indicating copy to clipboard operation
workshop.codes copied to clipboard

[Editor] Autocomplete does not insert a semicolon

Open Mitcheljager opened this issue 2 years ago • 0 comments

When autocompleting something no semicolon is inserted, requiring to type it yourself. In cases where the results go offscreen (for example using Create HUD Text it can be easy to miss. The editor will tell you the semicolon is missing, but it's still easy to ignore. It would be nice if it inserted it automatically.

One difficulty here is that it doesn't need to insert semicolons if the when autocompleting something nested. One solution could be to check if it's inside of brackets ([,(,),],{,}), or perhaps doing it just for actions and not for values might be good enough?

Mitcheljager avatar Feb 04 '23 19:02 Mitcheljager