是的,可以。 默认选项应为:
self.file_list(pattern)
Ctrl
Alt
V
link for JetBrains's Pycharm documentation about this shortcut
边注: 有很多有用的快捷方式和所谓的实时模板。我建议您阅读这两篇文章,因为它们可以帮助您更快地编写代码,这样做看起来会更酷。