public string GenUserSnippets(bool dry) { var snips = SnippetGen.Create(); var ㄸ = "'.source.howl':" + snips.Aggregate("", (x, y) => $"{x}\n{Format(y)}") + '\n'; DoExportSnippets(ㄸ, dry); return(ㄸ); }
public string GenUserSnippets(bool dry, bool overwrite) { SideloadExtension(); var snips = SnippetGen.Create(); var ㄸ = snips.Aggregate("", (x, y) => $"{x},\n{Format(y)}") + '\n'; DoExportSnippets(ㄸ = ㄸ.Substring(2), dry, overwrite); return(ㄸ); }