Smart Script Snippets v1.1.0
Smart Script Snippets is a plugin that allows you to create your own dynamic snippets with auto-completion in Roblox Studio.
Features
Intellisense
There is no need to memorize the names of your snippets, their parameters or the code they will generate. Just put an @
when typing and it will show all your snippets!
Dynamic Snippets
Dynamic snippets allow you to reuse the same snippet with different values!
Keyboard shortcuts to trigger snippets
Setup shortcut
Go to the top left of your Roblox Studio and press the File
button, then press Advanced
and click the Customize Shortcuts...
button.
Then in the input box, type Trigger
and search the option whose name is Trigger Snippets
. Then assign any shortcut you want
Recommended: CTRL + SHIFT + F
Made by and for the community
Plugin Download/Source:
Get it on GitHub
Get it on Creator Store
Documentation (learn how to use the plugin)
Documentation
My YouTube tutorial
Thank you!
I hope this is useful for you, if it is, let me know. Please let a like to the post!
25 Likes
yes thank you isaac this will be very helpful to me
1 Like
nuifta
(nuifta)
February 4, 2025, 3:31am
#4
Very cool plugin, thank you, very useful
1 Like
athar_adv
(athar_adventure)
February 4, 2025, 5:33am
#5
Very cool, how did you use ScriptEditorService to do this? I’ve been messing around with the autocomplete callbacks to no avail
1 Like
I readed the documentation for it: ScriptEditorService | Documentation - Roblox Creator Hub
Also what I did was, every time the snippets were refreshed, i deregistered the autocomplete callbacks to register them again. You can also check the code in the GitHub repo (its in the links of the post) to check how I did it in case you are wondering how
1 Like
MaddyRing
(red_shifty)
February 4, 2025, 2:04pm
#7
WOW THAT EL VERY GOOD!
Does it have emoji support
1 Like
Yes, you can type any emojis, text, dicts, tables, ect; just make the marker arguments have this structure:
{#var-name = var-value}
so you can do:
{#foo=🐛🎶}
and it will work. I recommend you reading the marker arguments documentation for more info
NEW UPDATE: v1.1.0
New features:
Conditional Replacement
Now you can add BeforeReplace
and AfterReplace
functions in your snippets to execute code before/after replacing a snippet marker.
BeforeReplace
should return a boolean (if true, the snippet gets replaced, otherwise it won’t)
Documentation: Conditional Replacement · osakitadev/smart-script-snippets Wiki · GitHub
1 Like
didnt know plugins could create autocomplete
1 Like
Yes, they can create autocomplete callbacks, if you want to learn more read: ScriptEditorService | Documentation - Roblox Creator Hub
1 Like