You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
…ocomplete
The default values inserted when using autocomplete and parameter objects were not correct. for example, when you expect to get the number 0 you would instead get the string "Number".
i changed the code to handle the name and default separately before adding the newlines which did the trick.
Also added semicolons to autocomplete according to issue Mitcheljager#246
The semicolons are inserted only when autocompleting actions. having it add semicolons for other type of values could probably get annoying
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?The text was updated successfully, but these errors were encountered: