File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,19 @@ local toolbar = plugin:CreateToolbar(PLUGIN_NAME)
43
43
local createProjectSnippetsButton = toolbar :CreateButton (
44
44
'Create Project Snippets' ,
45
45
'Create a project snippets ModuleScript' ,
46
- 'rbxassetid://0 '
46
+ 'rbxassetid://120171915312901 '
47
47
)
48
48
49
49
local triggerSnippetsButton = toolbar :CreateButton (
50
50
'Trigger Snippets' ,
51
51
'Trigger all snippets markers in the current script' ,
52
- 'rbxassetid://0'
52
+ 'rbxassetid://120171915312901'
53
+ )
54
+
55
+ local refreshSnippetsButton = toolbar :CreateButton (
56
+ 'Refresh Snippets' ,
57
+ 'Refreshes snippets intellisense' ,
58
+ 'rbxassetid://120171915312901'
53
59
)
54
60
55
61
local triggerSnippetsAction = plugin :CreatePluginAction (
@@ -218,6 +224,10 @@ triggerSnippetsButton.Click:Connect(function()
218
224
replaceSnippetsMarker ()
219
225
end )
220
226
227
+ refreshSnippetsButton .Click :Connect (function ()
228
+ refreshSnippetsAutocompleteCallbacks ()
229
+ end )
230
+
221
231
createProjectSnippetsButton .Click :Connect (function ()
222
232
if ServerStorage :FindFirstChild (USER_SNIPPETS_MODULE ) then
223
233
return print ('Project snippets already created.' )
You can’t perform that action at this time.
0 commit comments