static S titleWithSnippet(S id) { id = formatSnippetID(id); ret getSnippetTitle(id) + " [" + id + "]"; } static S snippetWithTitle(Snippet s) { ret s == null ? "-" : s.id + " - " + s.title; }