Posted 18 years ago
by Matthew Smith
-
Developer,
One Plus One Solutions Pty Limited
Version: 4.0.0246
Hi,
I'm having some trouble getting the code snippets to work. I keep getting a 'Object reference not set to an instance of an object.' error. This is the code I'm calling:The snippetsFolder variable is initialising fine, but I get the error attempting to show the popup. Am I doing something wrong??
I'm having some trouble getting the code snippets to work. I keep getting a 'Object reference not set to an instance of an object.' error. This is the code I'm calling:
Dim snippetsFolder As CodeSnippetFolder = New CodeSnippetFolder("VB", Application.StartupPath + "\CodeSnippets\VB")
steEditor.IntelliPrompt.CodeSnippets.ShowInsertSnippetPopup(steEditor.Caret.Offset, "Insert Snippet:", snippetsFolder, CodeSnippetTypes.Expansion)
Regards, Matt