圆月山庄资源网 Design By www.vgjia.com
在前端开发中,有一个非常好用的工具,Visual Studio Code,简称VS code。都不用我安利VS code,大家就会乖乖的去用,无数个大言不惭的攻城狮,都被VS code比德芙还丝滑的强大功能所折服。
现在使用Vscode编码的人越来越多,凭借着免费,开源,轻量,跨平台的特点收货了一大批忠实粉丝 最近因项目需要开始使用Vscode,因此做了一番研究,现在把个人的一些小经验分享给大家,首先我们来看看setings.json配置
{ "window.zoomLevel": 1, "vetur.format.defaultFormatter.html": "js-beautify-html", "editor.quickSuggestions": { "strings": true }, "fileheader.customMade": { //此为头部注释 "Description": "", "Autor": "wangDuJuan", "Date": "Do not edit" // "LastEditors": "liujun", // "LastEditTime": "Do not edit" }, "fileheader.cursorMode": { //此为函数注释 "description": "", "param": "", "return": "", "author": "wangDuJuan" }, // 保存时自动格式化 "eslint.autoFixOnSave": true, // 用来配置作用的文件类型 "eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": true }, { "language": "vue", "autoFix": true } ], "beautify.config": { "indent_size": 4, //缩进大小,默认4 "indent_char": " ", //缩进字符,默认" " "css": { "indent_size": 2 }, "eol": "n", //end of line,行结尾字符"n" "indent_level": 0, //初始缩进级别 "indent_with_tabs": false, //使用tab缩进,将会覆盖“indent_size”和“indent_char”设置,默认false "preserve_newlines": true, //保留空行,默认“true” "max_preserve_newlines": 10, //一次最多保留多少行的空行,默认10 "jslint_happy": false, //开启jslint-stricter的严格模式(强制开启“space_after_anon_function”选项),默认false "space_after_anon_function": false, //在匿名函数前自动加一个空格,比如function (){},默认false "brace_style": "collapse,preserve-inline", //括号风格,"collapse-preserve-inline", "collapse", "expand", "end-expand", or "none" ,默认“collapse” "keep_array_indentation": false, //保持数组缩进,默认false "keep_function_indentation": false, //保持函数缩进,默认false "space_before_conditional": true, //在条件语句之前保留一个空格,默认true "break_chained_methods": false, //中断多行间的链式方法调用,默认true "eval_code": false, "unescape_strings": false, //解码用xNN编码的可打印字符,默认false "wrap_line_length": 0, //Wrap lines at next opportunity after N characters. (Set zero to ignore wrapping),默认0,下次在n个字符后换行 "wrap_attributes": "auto", //将html属性标签放在新行“auto”,“force”,默认auto "wrap_attributes_indent_size": 4, //html属性标签新行缩进字符数,默认为"indent_size"4 "end_with_newline": false //在文件结尾保证有换行,默认false }, "beautify.language": { "js": { "type": [ "javascript", "json", "typescript" ], "filename": [ ".jshintrc", ".jsbeautify" ] }, "css": [ "css", "scss", "sass" ], "html": [ "htm", "html", "vue" ] }, "[scss]": { }, "[typescript]": { }, "workbench.iconTheme": "vscode-icons", "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "[vue]": { "editor.defaultFormatter": "HookyQR.beautify" } }
圆月山庄资源网 Design By www.vgjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
圆月山庄资源网 Design By www.vgjia.com
暂无评论...
更新日志
2024年05月17日
2024年05月17日
- [In-Akustik7506]ReferenceSoundEdition-GreatWomenOfSong(2014)HQCD[WAV+CUE]
- 日本EMI超级名盘TOGE-11035-36BeethovenFidelio-Furtwngler
- 宝丽金50周年2010《古典篇》3CD限定盘[低速原抓WAV+CUE]
- 华纳群星.1992-永远新一天华纳15周年金钻群星演唱会2CD【华纳】【WAV+CUE】
- 原声《功夫熊猫4 OST》[FLAC][545M]
- 陈奕迅《酝酿》[WAV分轨][502M]
- Taylor Swift《THE TORTURED POETS DEPARTMENT- THE ANTHOLOGY》[320K/MP3][279.09MB]
- 崔健《85回顾+梦中的倾诉》2CD [WAV+CUE][771M]
- 群星《安桥试音碟》3CD[FLAC][1.1G]
- Taylor Swift《THE TORTURED POETS DEPARTMENT- THE ANTHOLOGY》][24bit 48kH][FLAC/分轨]
- 群星1995-阿诗玛·中国歌剧金曲[中唱][WAV+CUE]
- [JVC]吴文光-中国古琴:流水[FLAC分轨]
- 刘欢.2004-经典20年珍藏锦集【新索】【WAV+CUE】
- 中唱唱片群星《好歌珍藏-游子情深》2CDWAV
- CD圣经上榜天碟1995-乌仁娜-《蒙古草原之歌》[WAV+CUE].