SingleTrailingNewLine.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:sublime-single-trailing-new-line 作者: mattst 项目源码 文件源码
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")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号