-
Notifications
You must be signed in to change notification settings - Fork 0
ProjectSnippets module
Osaka edited this page Feb 3, 2025
·
3 revisions
The ProjectSnippets
module in a ModuleScript that uses the plugin to find the Snippets in your current project. This module returns a table with snippets
NOTE: A snippet is a TABLE.
-
Name
: Name of the snippet[string]
-
Description
: Description of the snippet (will be shown in the autocompletion tab)[string]
-
Body
: Code of your snippet[table<string>]
-
Args
: Arguments of your snippet[dict]
-
Default
: Default value of the argument[any]
-
{
Name = "Foo",
Body = {
},
Description = "Foo",
Args = {
["foo"] = {
Default = "foo",
},
},
},