是否有编辑器可以在现有代码中自动缩进/添加空格?
我有一些 JavaScript 代码,我想让它们更具可读性。但是,由于代码量很大,我想使用一个可以自动为我完成此操作的工具。
- 是否已有此类工具可用,或者我是否必须手动执行一些“查找/替换全部”?
我要转换的代码写在一行上,没有空格。
I have some JavaScript code which I want to make more readable. However, due to the amount of code I want to use a tool which does this automatically for me.
- Are there such tools already available or do I have to manually perform some "find/replace-alls"?
The code which I want to convert is written on a single line without spaces.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
快速搜索发现 http://jsbeautifier.org/ 似乎可以满足您在网上寻找的功能。
搜索词:javascript 美化器
Quick search found http://jsbeautifier.org/ which seems to do what you are looking for online.
Search terms: javascript beautifier