分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

在Sublime中配置JsFormat

发布时间:2023-09-06 01:43责任编辑:沈小雨关键词:配置
JsFormat配置文件: ?{ ???// exposed jsbeautifier options ???"indent_with_tabs": false, ???// 保留换行符 ???"preserve_newlines": true, ???// 最大连续保留2二个换行符,也就是有一个空行 ???"max_preserve_newlines": 2, ???// 在条件语句前有空格 ???"space_before_conditional":false, ???//括弧添加空格 ???"space_in_paren": false, ???// 在函数的括弧后面添加空格 ???//"space-after-anon-function":true, ???"jslint_happy": false, ???// [collapse-preserve-inline|collapse|expand|end-expand|none] ["collapse"] ???// 代码的样式 ???"brace_style": "collapse", ???"keep_array_indentation": false, ???"keep_function_indentation": false, ???"eval_code": false, ???"unescape_strings": false, ???"break_chained_methods": false, ???"wrap_attributes_indent_size":0, ???"wrap-line-length":0, ???"end-with-newline":false, ???// 支持JSX ???"e4x": true, ???//最初的缩进级别 ???"indent_level": 0, ???// 缩进二个字符 ???"indent_size": 2, ???// 缩进2个字符,字符是一个空格 ???"indent_char":" ", ???//"eol":"\n", ???// 保存时自动格式化 ???"format_on_save": true, ???//格式化选中的文本 ???"format_selection": true, ???// 是否启动.jsbeautifyrc文件 ???"jsbeautifyrc_files": false, ???"ignore_sublime_settings": true, ???"format_on_save_extensions": ["js", "json"] ?} ?

转载地址: http://blog.csdn.net/itpinpai/article/details/53284061

在Sublime中配置JsFormat

原文地址:https://www.cnblogs.com/sorrowx/p/8478553.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved