reindent(重新格式化)最小化了visual studio中的jquery / javascript文件 [英] reindent(reformat) minimized jquery/javascript file in visual studio

查看:62
本文介绍了reindent(重新格式化)最小化了visual studio中的jquery / javascript文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了一个最小化的jquery插件文件,需要根据我的项目要求进行一些自定义。我正在使用Visual Studio 2010.
由于文件已最小化,因此调试或执行任何修改变得非常困难。有没有办法可以重新格式化js文件?

I have downloaded a minimized jquery plugin file and need to do some customization as per my project requirements. I am using Visual Studio 2010. And because the file is minimized, it is becoming very difficult to debug it or perform any modifications. Is there a way i can reformat the js file?

谢谢

推荐答案

您可以通过转到 http://jsfiddle.net 添加格式,将代码粘贴到javascript窗格中,然后点击顶部的 Tidy Up

You can add the formatting back by going to http://jsfiddle.net, pasting the code into the javascript pane, and then clicking Tidy Up at the top.

这篇关于reindent(重新格式化)最小化了visual studio中的jquery / javascript文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆