def _signature_snippet(self, sig):

        sections = sig.sections
        section_snippets = []
        i = 1
        for params in sections:
            param_snippets = []
            for param in params:
                name, tpe = param
                param_snippets.append("${%s:%s:%s}" % (i, name, tpe))
                i += 1
            section_snippets.append("(" + ", ".join(param_snippets) + ")")
        return "".join(section_snippets)
Given a ensime CompletionSignature structure, returns a Sublime Text
dataset/ETHPy150Open ensime/ensime-sublime/ensime.py/Completer._signature_snippet