且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从命令行运行 sublime 插件?

更新时间:2022-12-31 10:54:12

Sublime Text 插件不提供命令行界面.

Sublime Text plugins do not offer command line interfaces.

很多时候,Sublime Text 插件会包装一个外部命令(csslint、jshint 等),该命令由插件作为子进程运行.因为您的问题没有指定您要运行哪个插件,所以无法判断该插件是否基于外部程序.

Many times Sublime Text plugins wrap an external command (csslint, jshint, etc.) which is run as a subprocess by the plugin. Because your question does not specify which plugin you want to run it is impossible to tell whether or not this plugin is based on an external program.

我更愿意建议您从更深层次的角度提出问题我如何从命令行解决问题 X",因为听起来您从错误的角度处理问题.

I'd rather suggest you to ask your question in more sense "How do I solve problem X from the command line" as it sounds you are approaching the problem from the wrong angle.