如何在 Zend Studio 中启用 JSON 代码格式化?

发布于 2024-12-22 17:59:49 字数 131 浏览 5 评论 0原文

我想在 Zend Studio 中享受 .json 文件的代码格式化。我尝试将 .json 扩展名与 JavaScript 编辑器关联,但这没有任何效果,并且 Ctrl+Shift+F 根本不执行任何操作。

我怎样才能实现我想要的?

I would like to enjoy code formatting for .json files in Zend Studio. I have tried associating the .json extension with the JavaScript editor, but this has no effect, and Ctrl+Shift+F simply does nothing.

How can I achieve what I want?

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

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

发布评论

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

评论(1

も星光 2024-12-29 17:59:49

您必须在“内容类型”和“文件关联”中添加文件类型,如下所示:
https ://support.zend.com/hc/en-us/articles/203838106-如何将文件类型添加到 PHP 编辑器

You have to add the file types in "Content Types" as well as in "File Associations", as in:
https://support.zend.com/hc/en-us/articles/203838106-How-to-Add-File-Types-to-the-PHP-Editor

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