2
using System.Collections.Generic;
9
[assembly: AddinDependency ("TextEditor.Core", "1.0")]
10
[assembly: AddinDependency ("TextEditor.SnippetsAddin", "1.0")]
15
public class DateSnippet: ISnippetProvider
17
public string GetText (string shortcut)
19
if (shortcut == "date")
20
return DateTime.Now.ToShortDateString ();