def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def step_impl(context, name, field):
    context.request.add_file(context.helpers.file_path(name), field)