When I’m hooking up events in my game, I may forget to include some parameters or arguments that I’ve used before but forgotten the exact naming/ordering of. This is why I believe we should have an auto-fill/intellisense feature for event parameters.
Newer developers may find it more difficult to remember the arguments (due to lack of experience with the API), and having to keep checking the developer hub to make sure you’re doing the right thing was incredibly annoying, as well as time consuming.
It could look for other occurrences of the event and match up the arguments for you.
For example:
Event:FireServer(foo)
Then when I use it somewhere else, it would give me a “hint”, based on what I’d used before:
Event.OnServerEvent:Connect(function() --< "player, foo" would be suggested in here
...
end)
Inside the parentheses where the comment is, the parameter would be displayed as a hint, slightly greyed out to show it isn’t part of the script yet until the player types it in. It should only be used as guidance, and not to promote laziness.
Thanks for reading this. The suggestion would be useful to prevent wasting precious time on looking back on the developer hub, and improving developer experience while scripting.