Posted 19 years ago
by Devin Grant
- Novi
Dose Syntax Editor support Xml & VJSharp snippets like VS2005, or is it limited to C# & VB languages only?
[Modified at 01/08/2006 08:51 PM]
[Modified at 01/08/2006 08:51 PM]
editor.IntelliPrompt.CodeSnippets.ShowInsertSnippetPopup(
editor.Caret.Offset,
"Insert Snippet:",
new CodeSnippetFolder("XML", Global.SnippetDir + "XML"),
CodeSnippetTypes.Expansion);
}
if ((e.KeyData == Keys.Tab) && (editor.SelectedView.Selection.EndOffset > 0) &&
(!editor.IntelliPrompt.CodeSnippets.IsActive)) {
string folder = @"C:\Program Files\Microsoft Visual Studio 8\xml\1033\Snippets\Xml";
_xmlSnippetFolder = new CodeSnippetFolder("XML", folder);
Debug.WriteLine(_xmlSnippetFolder.CodeSnippets[0].Shortcut);
// Change the shortcut from "element" to "elem" than save the file
_xmlSnippetFolder = new CodeSnippetFolder("XML", folder);
Debug.WriteLine(_xmlSnippetFolder.CodeSnippets[0].Shortcut);
Please log in to a validated account to post comments.