I’ve finished my plugin for this, you can provide a modulescript with configs and then my plugin will match it against autocomplete suggestions and override properties on the autocomplete;
Since Fusion’s almost completely statically typed already (at least, as of v0.2), there isn’t actually too much missing from the autocomplete out-of-the-box! Mostly it’s just instance APIs which needed filling in, so this plugin adds autocompletes for these instance related things:
Class names
Property and callback names
OnEvent event names
OnChange/Out property names
With the following features:
Respects deprecated, read-only, PluginSecurity/RobloxSecurity and non-creatable/browsable instance types
Generates Luau-style type information from the API dump
Enable and disable plugin at any time
Acceleration data structures for lightning fast lookups and completions
Smartly detects property tables in your code, not just single keyword detection
Detects when Fusion is not in use and turns off features to save performance
Human-readable error messages and easy reloading if the plugin breaks
Feels just as natural as the rest of Studio’s autocomplete
If/when I release this, I’ll make sure to drop it somewhere on these DevForums too
Yeah I have a few plans including ignoring upper level comments, leaving a line of padding between auto completed services and code beneath and alphabetically sorting the getservice statements.
I’ll make a dedicated thread soon but yesterday was just testing that it was possible.
I dont want to burst your bubble, keep at it, but Roblox is internally working on a snippets feature thats currently enabled on internal mode with FFlags
Is there a way for us to change the tab that’s currently open? Opening a script through the service will automatically switch it to the script editor, but I need to change it back to the normal tab as I’m making a node editor UI utilizing this. It’d literally mean saving only one click but shouldn’t be hard to implement if that’s not already a feature.
Can we have the ability to pull one or more characters from a continuous buffer without lines, this is basic functionality that exists in most io libraries.