def on_pre_save(self, view):
""" Called immediately before the file in the view is saved. """
if self.is_plugin_enabled(view):
# A TextCommand derived class is needed to get an edit object.
view.run_command("single_trailing_new_line")
SingleTrailingNewLine.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录