是否有适用于记事本的 Google Closure Compiler 插件++

发布于 2024-10-17 03:00:47 字数 304 浏览 9 评论 0原文

我在“互联网”上四处寻找,但找不到正确的答案:

是否有 Google Closure 编译器 Notepad++< /strong> 或让它与NppExec.Execute(F6 键)一起工作的方法。

I looked around on "the Internet" but could not find a proper answer:

Is there a Google Closure Compiler plugin for Notepad++ or a way to get it working with NppExec.Execute (F6-key).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

薄情伤 2024-10-24 03:00:47

去获取 http://closure-compiler.googlecode.com/files/compiler- latest.zip,然后解压缩。
launch

java -jar compiler.jar --js $(FULL_CURRENT_PATH) \
    --compilation_level ADVANCED_OPTIMIZATIONS \
    --js_output_file $(CURRENT_DIRECTORY)\$(NAME_PART)-compiled.js

会创建一个新文件,该文件的名称与当前使用的文件相同,但末尾带有 -compiled.js

go and grab http://closure-compiler.googlecode.com/files/compiler-latest.zip, then unzip it.
launch

java -jar compiler.jar --js $(FULL_CURRENT_PATH) \
    --compilation_level ADVANCED_OPTIMIZATIONS \
    --js_output_file $(CURRENT_DIRECTORY)\$(NAME_PART)-compiled.js

which creates a new file which is named as the currently used one but has -compiled.js at its end.

水中月 2024-10-24 03:00:47

JSMinNpp 插件将最小化 js 代码。它可以是一种替代方案。

尝试一下:http://jsminnpp.sf.net

JSMinNpp plugin will minimize js code. It can be an alternative.

Have a try: http://jsminnpp.sf.net

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文