AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# 插入当前时间插件 ### 制作插件 插件放置地址,工程路径:`Sublime Text 3x64\Data\Packages\User\addCurrentTime.py` 创建文件:**addCurrentTime.py** 输入一下代码: ~~~ import datetime import sublime_plugin class AddCurrentTimeCommand(sublime_plugin.TextCommand): def run(self, edit): self.view.run_command("insert_snippet", { "contents": "%s" % datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") } ) ~~~ ### 设置调用 开发工具路径:`Preference → Key Bindings - User ` ~~~ [ {"keys": ["shift+alt+d"], "command": "add_current_time"} ] ~~~ ### 使用快捷 : ~~~ shift+alt+d ~~~