1 Star 0 Fork 9

私有云在线文档 / Open-His

forked from OnCloud9 / Open-His 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vscode配置.txt 168.60 KB
一键复制 编辑 原始数据 按行查看 历史
OnCloud9 提交于 2022-07-23 14:16 . 前端环境搭建完成
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024
{
// 控制在差异编辑器中是否把前导空格或尾随空格的改动显示为差异。
"diffEditor.ignoreTrimWhitespace": true,
// 超时(以毫秒为单位),之后将取消差异计算。使用0表示没有超时。
"diffEditor.maxComputationTime": 5000,
// 控制差异编辑器是否为添加/删除的更改显示 +/- 指示符号。
"diffEditor.renderIndicators": true,
// 控制差异编辑器的显示方式是并排还是内联。
"diffEditor.renderSideBySide": true,
// 控制是否应在遇到提交字符时接受建议。例如,在 JavaScript 中,半角分号 (`;`) 可以为提交字符,能够在接受建议的同时键入该字符。
"editor.acceptSuggestionOnCommitCharacter": true,
// 控制除了 `Tab` 键以外, `Enter` 键是否同样可以接受建议。这能减少“插入新行”和“接受建议”命令之间的歧义。
// - on
// - smart: 仅当建议包含文本改动时才可使用 `Enter` 键进行接受。
// - off
"editor.acceptSuggestionOnEnter": "on",
// 控制编辑器中可由屏幕阅读器读取的行数。警告:对于大于默认值的数字,这会影响性能。
"editor.accessibilityPageSize": 10,
// 控制编辑器是否应运行在对屏幕阅读器进行优化的模式。
// - auto: 编辑器将使用平台 API 以检测是否附加了屏幕阅读器。
// - on: 编辑器将对屏幕阅读器的使用进行永久优化。
// - off: 编辑器将不再对屏幕阅读器的使用进行优化。
"editor.accessibilitySupport": "auto",
// 控制编辑器是否在左括号后自动插入右括号。
// - always
// - languageDefined: 使用语言配置确定何时自动闭合括号。
// - beforeWhitespace: 仅当光标位于空白字符左侧时,才自动闭合括号。
// - never
"editor.autoClosingBrackets": "languageDefined",
// 控制编辑器是否应改写右引号或右括号。
// - always
// - auto: 仅在自动插入时才改写右引号或右括号。
// - never
"editor.autoClosingOvertype": "auto",
// 控制编辑器是否在左引号后自动插入右引号。
// - always
// - languageDefined: 使用语言配置确定何时自动闭合引号。
// - beforeWhitespace: 仅当光标位于空白字符左侧时,才自动闭合引号。
// - never
"editor.autoClosingQuotes": "languageDefined",
// 控制编辑器是否应在用户键入、粘贴、移动或缩进行时自动调整缩进。
// - none: 编辑器不会自动插入缩进。
// - keep: 编辑器将保留当前行的缩进。
// - brackets: 编辑器将保留当前行的缩进并遵循语言定义的括号。
// - advanced: 编辑器将保留当前行的缩进、使用语言定义的括号并调用语言定义的特定 onEnterRules。
// - full: 编辑器将保留当前行的缩进,使用语言定义的括号,调用由语言定义的特殊输入规则,并遵循由语言定义的缩进规则。
"editor.autoIndent": "full",
// 控制编辑器是否应自动包住所选内容。
// - languageDefined: 使用语言配置确定何时自动包住所选内容。
// - quotes: 使用引号而非括号来包住所选内容。
// - brackets: 使用括号而非引号来包住所选内容。
// - never
"editor.autoSurround": "languageDefined",
// 在保存时运行的代码操作类型。
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// 控制在保存文件时进行的代码操作的超时时间 (毫秒)。
"editor.codeActionsOnSaveTimeout": 750,
// 控制是否在编辑器中显示 CodeLens。
"editor.codeLens": true,
// 控制编辑器是否显示内联颜色修饰器和颜色选取器。
"editor.colorDecorators": true,
// 控制在复制时是否同时复制语法高亮。
"editor.copyWithSyntaxHighlighting": true,
// 控制光标的动画样式。
"editor.cursorBlinking": "blink",
// 控制是否启用平滑插入动画。
"editor.cursorSmoothCaretAnimation": false,
// 控制光标样式。
"editor.cursorStyle": "line",
// 控制光标周围可见的前置行和尾随行的最小数目。在其他一些编辑器中称为“scrollOff”或“scrollOffset”。
"editor.cursorSurroundingLines": 0,
// 控制何时应强制执行"光标环绕行"。
// - default: 仅当通过键盘或 API 触发时,才会强制执行"光标环绕行"。
// - all: 始终强制执行 "cursorSurroundingLines"
"editor.cursorSurroundingLinesStyle": "default",
// 当 `editor.cursorStyle` 设置为 `line` 时,控制光标的宽度。
"editor.cursorWidth": 0,
// 定义一个默认格式化程序, 该格式化程序优先于所有其他格式化程序设置。必须是提供格式化程序的扩展的标识符。
// - null: 没有
// - vscode.configuration-editing: 在配置文件 (如设置、启动和扩展推荐文件) 中提供高级 IntelliSense、自动修复等功能
// - vscode.css-language-features: 为 CSS、LESS 和 SCSS 文件提供丰富的语言支持。
// - vscode.debug-auto-launch: 当 node-debug 扩展未启用时提供自动附加的辅助程序。
// - vscode.debug-server-ready: 如果正在调试的服务器已准备就绪,在浏览器中打开 URI。
// - vscode.emmet: 适用于 VS Code 的 Emmet 支持
// - vscode.extension-editing: 在创建扩展时提供 linting 功能。
// - vscode.git: Git 源代码管理集成
// - vscode.git-ui: Git SCM UI 集成
// - vscode.grunt: Extension to add Grunt capabilities to VS Code.
// - vscode.gulp: 向 VSCode 提供 Gulp 功能的扩展。
// - vscode.html-language-features: 为 HTML 和 Handlebar 文件提供丰富的语言支持
// - vscode.image-preview: 提供 VS Code的内置图像预览
// - vscode.jake: 向 VS Code 提供 Jake 功能的扩展。
// - vscode.json-language-features: 为 JSON 文件提供丰富的语言支持
// - vscode.markdown-language-features: 为 Markdown 提供丰富的语言支持。
// - vscode.merge-conflict: 为内联合并冲突提供高亮和命令。
// - ms-vscode.node-debug: Node.js 调试支持(低于 8.0 版本)
// - ms-vscode.node-debug2: Node.js 调试支持
// - ms-vscode.references-view: Reference Search results as separate, stable view in the sidebar
// - vscode.npm: 为 npm 脚本提供任务支持的扩展。
// - vscode.php-language-features: 为 PHP 文件提供丰富的语言支持。
// - vscode.python: 在 Python 文件中提供语法高亮、括号匹配和折叠功能。
// - vscode.search-result: 为选项卡搜索结果中提供语法突出显示和语言功能。
// - vscode.typescript-language-features: 为 JavaScript 和 TypeScript 提供丰富的语言支持。
// - akamud.vscode-caniuse: Compatibility check for HTML5, CSS3, SVG, New JS API based on http://caniuse.com/ directly from Visual Studio Code
// - alefragnani.Bookmarks: Mark lines and jump to them
// - christian-kohler.npm-intellisense: Visual Studio Code plugin that autocompletes npm modules in import statements
// - CoenraadS.bracket-pair-colorizer: A customizable extension for colorizing matching brackets
// - dai-shi.vscode-es-beautifier: vscode plugin for es-beautifier
// - dbaeumer.jshint: Integrates JSHint into VS Code. JSHint is a linter for JavaScript
// - dbaeumer.vscode-eslint: Integrates ESLint JavaScript into VS Code.
// - donjayamanne.githistory: View git log, file history, compare branches or commits
// - eamodio.gitlens: Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more
// - ecmel.vscode-html-css: CSS support for HTML documents
// - eg2.tslint: TSLint for Visual Studio Code
// - febean.vue-format: A beautify extension for .vue file
// - fishku.vant-snippets: Vant Snippets for VS Code
// - HookyQR.beautify: Beautify code in place for VS Code
// - nobelhuang.tslint-vue-tsx: TSLint for Vue.js with TSX
// - octref.vetur: Vue tooling for VS Code
// - tombonnike.vscode-status-bar-format-toggle: A VS Code extension that allows you to toggle the formatter (Prettier, Beautify, …) ON and OFF with a simple click.
// - vscode-icons-team.vscode-icons: Icons for Visual Studio Code
// - waderyan.gitblame: See git blame information in the status bar.
// - wmaurer.vscode-jumpy: Jumpy provides fast cursor movement, inspired by Atom's package of the same name.
// - yhpnoraa.beauty: a plugin for beautify & format several web based languages.
"editor.defaultFormatter": null,
// 控制是否在打开文件时,基于文件内容自动检测 `editor.tabSize#` 和 `#editor.insertSpaces`。
"editor.detectIndentation": true,
// 控制在编辑器中是否允许通过拖放来移动选中内容。
"editor.dragAndDrop": true,
// 控制在没有选择内容时进行复制是否复制当前行。
"editor.emptySelectionClipboard": true,
// 按下"Alt"时滚动速度倍增。
"editor.fastScrollSensitivity": 5,
// 控制 "查找小部件" 是否应在编辑器顶部添加额外的行。如果为 true, 则可以在 "查找小工具" 可见时滚动到第一行之外。
"editor.find.addExtraSpaceOnTop": true,
// 在执行查找操作时,在编辑器中的选中文本中还是整个文件中进行查找。
// - never: 切勿自动打开“选择中查找”(默认)
// - always: 始终自动打开“在选择中查找”
// - multiline: 选择多行内容时,自动打开“在选择中查找”。
"editor.find.autoFindInSelection": "never",
// 控制是否将编辑器选中内容作为搜索词填入到查找小组件中。
"editor.find.seedSearchStringFromSelection": true,
// 控制编辑器是否启用了代码折叠。
"editor.folding": true,
// 控制计算折叠范围的策略。`auto` 将使用语言特定的折叠策略 (若可用)。`indentation` 将使用基于缩进的折叠策略。
"editor.foldingStrategy": "auto",
// 控制字体系列。
"editor.fontFamily": "Consolas, 'Courier New', monospace",
// 配置字体连字。
"editor.fontLigatures": false,
// 以像素为单位控制字体大小。
"editor.fontSize": 14,
// 控制字体粗细。
"editor.fontWeight": "normal",
// 控制编辑器是否自动格式化粘贴的内容。格式化程序必须可用,并且能针对文档中的某一范围进行格式化。
"editor.formatOnPaste": false,
// 在保存时格式化文件。格式化程序必须可用,延迟后文件不能保存,并且编辑器不能关闭。
"editor.formatOnSave": false,
// 控制在保存文件时进行格式化的超时时间 (毫秒)。
"editor.formatOnSaveTimeout": 750,
// 控制编辑器在键入一行后是否自动格式化该行。
"editor.formatOnType": false,
// 控制编辑器是否应呈现垂直字形边距。字形边距最常用于调试。
"editor.glyphMargin": true,
// 当"转到声明"的结果为当前位置时将要执行的替代命令的 ID。
"editor.gotoLocation.alternativeDeclarationCommand": "editor.action.goToReferences",
// 当"转到定义"的结果为当前位置时将要执行的替代命令的 ID。
"editor.gotoLocation.alternativeDefinitionCommand": "editor.action.goToReferences",
// 当"转到实现"的结果为当前位置时将要执行的替代命令的 ID。
"editor.gotoLocation.alternativeImplementationCommand": "",
// 当"转到引用"的结果是当前位置时正在执行的替代命令 ID。
"editor.gotoLocation.alternativeReferenceCommand": "",
// 当"转到类型定义"的结果是当前位置时正在执行的备用命令 ID。
"editor.gotoLocation.alternativeTypeDefinitionCommand": "editor.action.goToReferences",
// 此设置已弃用,请改用单独的设置,如"editor.editor.gotoLocation.multipleDefinitions"或"editor.editor.gotoLocation.multipleImplementations"。
//
"editor.gotoLocation.multiple": null,
// 控制存在多个目标位置时"转到声明"命令的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multipleDeclarations": "peek",
// 控制存在多个目标位置时"转到定义"命令的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multipleDefinitions": "peek",
// 控制存在多个目标位置时"转到实现"命令的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multipleImplementations": "peek",
// 控制存在多个目标位置时"转到引用"命令的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multipleReferences": "peek",
// 控制存在多个目标位置时"转到类型定义"命令的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multipleTypeDefinitions": "peek",
// 控制是否在概览标尺中隐藏光标。
"editor.hideCursorInOverviewRuler": false,
// 控制是否突出显示编辑器中活动的缩进参考线。
"editor.highlightActiveIndentGuide": true,
// 控制显示悬停提示前的等待时间 (毫秒)。
"editor.hover.delay": 300,
// 控制是否显示悬停提示。
"editor.hover.enabled": true,
// 控制当鼠标移动到悬停提示上时,其是否保持可见。
"editor.hover.sticky": true,
// 按 `Tab` 键时插入空格。该设置在 `editor.detectIndentation` 启用时根据文件内容可能会被覆盖。
"editor.insertSpaces": true,
// 对大型文件进行特殊处理,禁用某些内存密集型功能。
"editor.largeFileOptimizations": true,
// 控制以像素为单位的字母间距。
"editor.letterSpacing": 0,
// 在编辑器中启用代码操作小灯泡提示。
"editor.lightbulb.enabled": true,
// 控制行高。为 0 时则通过字体大小自动计算。
"editor.lineHeight": 0,
// 控制行号的显示。
// - off: 不显示行号。
// - on: 将行号显示为绝对行数。
// - relative: 将行号显示为与光标相隔的行数。
// - interval: 每 10 行显示一次行号。
"editor.lineNumbers": "on",
// 控制是否在编辑器中检测链接并使其可被点击。
"editor.links": true,
// 突出显示匹配的括号。
"editor.matchBrackets": "always",
// 由于性能原因,超过这个长度的行将不会被标记
"editor.maxTokenizationLineLength": 20000,
// 控制是否显示缩略图。
"editor.minimap.enabled": true,
// 限制缩略图的宽度,控制其最多显示的列数。
"editor.minimap.maxColumn": 120,
// 渲染每行的实际字符,而不是色块。
"editor.minimap.renderCharacters": true,
// 在缩略图中绘制内容的比例。
"editor.minimap.scale": 1,
// 控制何时显示迷你地图滑块。
"editor.minimap.showSlider": "mouseover",
// 控制在哪一侧显示缩略图。
"editor.minimap.side": "right",
// 对鼠标滚轮滚动事件的 `deltaX` 和 `deltaY` 乘上的系数。
"editor.mouseWheelScrollSensitivity": 1,
// 按住 `Ctrl` 键并滚动鼠标滚轮时对编辑器字体大小进行缩放。
"editor.mouseWheelZoom": false,
// 当多个光标重叠时进行合并。
"editor.multiCursorMergeOverlapping": true,
// 在通过鼠标添加多个光标时使用的修改键。“转到定义”和“打开链接”功能所需的鼠标动作将会相应调整,不与多光标修改键冲突。[阅读详细信息](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)。
// - ctrlCmd: 映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。
// - alt: 映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。
"editor.multiCursorModifier": "alt",
// 控制粘贴时粘贴文本的行计数与光标计数相匹配。
// - spread: 每个光标粘贴一行文本。
// - full: 每个光标粘贴全文。
"editor.multiCursorPaste": "spread",
// 控制编辑器是否突出显示语义符号的匹配项。
"editor.occurrencesHighlight": true,
// 控制是否在概览标尺周围绘制边框。
"editor.overviewRulerBorder": true,
// 控制参数提示菜单在到达列表末尾时进行循环还是关闭。
"editor.parameterHints.cycle": false,
// 在输入时显示含有参数文档和类型信息的小面板。
"editor.parameterHints.enabled": true,
// 控制是否在键入时自动显示建议。
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
// 控制显示快速建议前的等待时间 (毫秒)。
"editor.quickSuggestionsDelay": 10,
// 控制编辑器是否显示控制字符。
"editor.renderControlCharacters": false,
// 当文件以换行符结束时, 呈现最后一行的行号。
"editor.renderFinalNewline": true,
// 控制编辑器是否显示缩进参考线。
"editor.renderIndentGuides": true,
// 控制编辑器的当前行进行高亮显示的方式。
// - none
// - gutter
// - line
// - all: 同时突出显示导航线和当前行。
"editor.renderLineHighlight": "line",
// 控制编辑器在空白字符上显示符号的方式。
// - none
// - boundary: Render whitespace characters except for single spaces between words.
// - selection: 仅在选定文本上呈现空白字符。
// - all
"editor.renderWhitespace": "none",
// 控制选区是否有圆角。
"editor.roundedSelection": true,
// 在一定数量的等宽字符后显示垂直标尺。输入多个值,显示多个标尺。若数组为空,则不绘制标尺。
"editor.rulers": [],
// 控制编辑器水平滚动时可以超过范围的字符数。
"editor.scrollBeyondLastColumn": 5,
// 控制编辑器是否可以滚动到最后一行之后。
"editor.scrollBeyondLastLine": true,
// 控制编辑器是否应突出显示与所选内容类似的匹配项。
"editor.selectionHighlight": true,
// 控制是否自动隐藏导航线上的折叠控件。
"editor.showFoldingControls": "mouseover",
// 控制是否淡化未使用的代码。
"editor.showUnused": true,
// 控制编辑器是否在滚动时使用动画。
"editor.smoothScrolling": false,
// 控制代码片段是否与其他建议一起显示及其排列的位置。
// - top: 在其他建议上方显示代码片段建议。
// - bottom: 在其他建议下方显示代码片段建议。
// - inline: 在其他建议中穿插显示代码片段建议。
// - none: 不显示代码片段建议。
"editor.snippetSuggestions": "inline",
// 在速览编辑器中,即使双击其中的内容或者按 `Esc` 键,也保持其打开状态。
"editor.stablePeek": false,
// 此设置已弃用,请改用单独的设置,如"editor.suggest.showKeywords"或"editor.suggest.showSnippets"。
//
"editor.suggest.filteredTypes": {},
// 控制对建议的筛选和排序是否考虑小的拼写错误。
"editor.suggest.filterGraceful": true,
// 控制在接受补全时是否应高亮显示意外的文本修改,例如"插入模式"是"替换",但补全仅支持"插入"。
"editor.suggest.insertHighlight": false,
// 控制接受补全时是否覆盖单词。请注意,这取决于扩展选择使用此功能。
// - insert: 插入建议而不覆盖光标右侧的文本。
// - replace: 插入建议并覆盖光标右侧的文本。
"editor.suggest.insertMode": "insert",
// 控制排序时是否提高靠近光标的词语的优先级。
"editor.suggest.localityBonus": false,
// 控制在显示滚动条之前 IntelliSense 将显示的建议数 (最多 15个)。
"editor.suggest.maxVisibleSuggestions": 12,
// 控制是否在多个工作区和窗口间共享记忆的建议选项(需要 `editor.suggestSelection`)。
"editor.suggest.shareSuggestSelections": false,
// 启用后,IntelliSense 将显示“类”建议。
"editor.suggest.showClasses": true,
// 启用后,IntelliSense 将显示“颜色”建议。
"editor.suggest.showColors": true,
// 启用后,IntelliSense 将显示“常量”建议。
"editor.suggest.showConstants": true,
// 启用后,IntelliSense 将显示“构造函数”建议。
"editor.suggest.showConstructors": true,
// 启用后,IntelliSense 将显示“自定义颜色”建议。
"editor.suggest.showCustomcolors": true,
// 启用后,IntelliSense 将显示 "enumMember" 建议。
"editor.suggest.showEnumMembers": true,
// 启用后,IntelliSense 将显示“枚举”建议。
"editor.suggest.showEnums": true,
// 启用后,IntelliSense 将显示“事件”建议。
"editor.suggest.showEvents": true,
// 启用后,IntelliSense 将显示“字段”建议。
"editor.suggest.showFields": true,
// 启用后,IntelliSense 将显示“文件”建议。
"editor.suggest.showFiles": true,
// 启用后,IntelliSense 将显示“文件夹”建议。
"editor.suggest.showFolders": true,
// 启用后,IntelliSense 将显示“函数”建议。
"editor.suggest.showFunctions": true,
// 控制是否在建议中显示或隐藏图标。
"editor.suggest.showIcons": true,
// 启用后,IntelliSense 将显示“接口”建议。
"editor.suggest.showInterfaces": true,
// 启用后,IntelliSense 将显示“关键字”建议。
"editor.suggest.showKeywords": true,
// 启用后,IntelliSense 将显示“方法”建议。
"editor.suggest.showMethods": true,
// 启用后,IntelliSense 将显示“模块”建议。
"editor.suggest.showModules": true,
// 启用后,IntelliSense 将显示“操作符”建议。
"editor.suggest.showOperators": true,
// 启用后,IntelliSense 将显示“属性”建议。
"editor.suggest.showProperties": true,
// 启用后,IntelliSense 将显示“参考”建议。
"editor.suggest.showReferences": true,
// 启用后,IntelliSense 将显示“片段”建议。
"editor.suggest.showSnippets": true,
// 启用后,IntelliSense 将显示“结构”建议。
"editor.suggest.showStructs": true,
// 启用后,IntelliSense 将显示 "typeParameter" 建议。
"editor.suggest.showTypeParameters": true,
// 启用后,IntelliSense 将显示“单位”建议。
"editor.suggest.showUnits": true,
// 启用后,IntelliSense 将显示“值”建议。
"editor.suggest.showValues": true,
// 启用后,IntelliSense 将显示“变量”建议。
"editor.suggest.showVariables": true,
// 启用后,IntelliSense 将显示“文本”建议。
"editor.suggest.showWords": true,
// 控制在活动代码片段内是否禁用快速建议。
"editor.suggest.snippetsPreventQuickSuggestions": true,
// 建议小部件的字号。如果设置为 `0`,则使用 `editor.fontSize` 的值。
"editor.suggestFontSize": 0,
// 建议小部件的行高。如果设置为 `0`,则使用 `editor.lineHeight` 的值。
"editor.suggestLineHeight": 0,
// 控制在键入触发字符后是否自动显示建议。
"editor.suggestOnTriggerCharacters": true,
// 控制在建议列表中如何预先选择建议。
// - first: 始终选择第一个建议。
// - recentlyUsed: 选择最近的建议,除非进一步键入选择其他项。例如 `console. -> console.log`,因为最近补全过 `log`。
// - recentlyUsedByPrefix: 根据之前补全过的建议的前缀来进行选择。例如,`co -> console`、`con -> const`。
"editor.suggestSelection": "recentlyUsed",
// 启用 Tab 补全。
// - on: 在按下 Tab 键时进行 Tab 补全,将插入最佳匹配建议。
// - off: 禁用 Tab 补全。
// - onlySnippets: 在前缀匹配时进行 Tab 补全。在 "quickSuggestions" 未启用时体验最好。
"editor.tabCompletion": "off",
// 一个制表符等于的空格数。在 `editor.detectIndentation` 启用时,根据文件内容,该设置可能会被覆盖。
"editor.tabSize": 2,
// 覆盖当前所选颜色主题中的编辑器颜色和字体样式。
"editor.tokenColorCustomizations": {},
// 覆盖当前所选颜色主题中的标记颜色和样式。
"editor.tokenColorCustomizationsExperimental": {},
// 删除自动插入的尾随空白符号。
"editor.trimAutoWhitespace": true,
// 根据制表位插入和删除空格。
"editor.useTabStops": true,
// 控制是否根据文档中的文字计算自动完成列表。
"editor.wordBasedSuggestions": true,
// 执行单词相关的导航或操作时作为单词分隔符的字符。
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
// 控制折行的方式。
// - off: 永不换行。
// - on: 将在视区宽度处换行。
// - wordWrapColumn: 在 `editor.wordWrapColumn` 处折行。
// - bounded: 在视区宽度和 `editor.wordWrapColumn` 中的较小值处折行。
"editor.wordWrap": "off",
// 在 `editor.wordWrap` 为 `wordWrapColumn` 或 `bounded` 时,控制编辑器的折行列。
"editor.wordWrapColumn": 80,
// 控制折行的缩进。
// - none: 没有缩进。折行从第 1 列开始。
// - same: 折行的缩进量与其父级相同。
// - indent: 折行的缩进量比其父级多 1。
// - deepIndent: 折行的缩进量比其父级多 2。
"editor.wrappingIndent": "same",
// 控制是否在“源代码管理”视图中始终显示内联操作。
"scm.alwaysShowActions": false,
// 控制是否显示源代码管理提供程序部分,即使只有一个已注册的提供程序。
"scm.alwaysShowProviders": false,
// 控制 SCM 视图在打开文件时是否应自动显示和选择文件。
"scm.autoReveal": true,
// 控制源计数控制挂件。
// - all: 显示所有源代码管理提供程序计数锁屏提醒的总和。
// - focused: 显示焦点源控制提供程序的计数标记。
// - off: 禁用源代码管理计数徽章。
"scm.countBadge": "all",
// 控制默认的源代码管理存储库视图模式。
// - tree: 将存储库更改显示为树。
// - list: 将存储库更改显示为列表。
"scm.defaultViewMode": "list",
// 控制编辑器中差异的显示效果。
// - all: 显示所有可用位置中的差异装饰。
// - gutter: 仅在编辑器行号槽中显示差异装饰。
// - overview: 仅在概览标尺中显示差异装饰。
// - minimap: 仅在缩略图中显示差异装饰。
// - none: 不要显示差异装饰。
"scm.diffDecorations": "all",
// 控制行号槽中源代码管理差异装饰器的可见性。
// - always: 始终显示行号槽中的差异装饰器。
// - hover: 仅在悬停时显示行号槽中的差异装饰器。
"scm.diffDecorationsGutterVisibility": "always",
// 控制水槽中不同装饰的宽度(px)(添加&修改)。
"scm.diffDecorationsGutterWidth": 3,
// 控制在 "源代码管理提供程序" 部分中可见的提供程序数。设置为 "0", 以便能够手动调整视图的大小。
"scm.providers.visible": 10,
// 控制工作台中活动栏的可见性。
"workbench.activityBar.visible": true,
// 覆盖当前所选颜色主题的颜色。
"workbench.colorCustomizations": {},
// 指定用在工作台中的颜色主题。
"workbench.colorTheme": "Default Dark+",
// 控制命令面板中保留最近使用命令的数量。设置为 0 时禁用命令历史功能。
"workbench.commandPalette.history": 50,
// 当再次打开命令面板时,控制是否恢复上一次输入的内容。
"workbench.commandPalette.preserveInput": false,
// 如果在居中布局中打开了超过一组编辑器,控制是否自动将宽度调整为最大宽度值。当回到只打开了一组编辑器的状态,将自动将宽度调整为原始的居中宽度值。
"workbench.editor.centeredLayoutAutoResize": true,
// 控制编辑器组中最后一个选项卡关闭时这个空组的行为。若启用,将自动关闭空组。若禁用,空组仍将保留在网格布局中。
"workbench.editor.closeEmptyGroups": true,
// 当文件被其他进程删除或重命名时,控制是否自动关闭在这个期间内打开了此文件的编辑器。若禁用此项,在这种情况下将保留编辑器。请注意,若从应用内部进行删除,将始终关闭编辑器,并且为了保护您的数据,已更新文件始终不会关闭。
"workbench.editor.closeOnFileDelete": false,
// 控制打开的编辑器是否为预览编辑器。预览编辑器在被固定 (例如,通过双击或编辑) 前可重用,其字体样式为斜体。
"workbench.editor.enablePreview": true,
// 控制编辑器是否从"快速打开"中打开,以预览显示。预览编辑器在固定之前会重复使用(例如,通过双击或编辑)。
"workbench.editor.enablePreviewFromQuickOpen": true,
// 控制是否按最常使用的顺序或从左到右的顺序关闭选项卡。
"workbench.editor.focusRecentEditorAfterClose": true,
// 控制是否绘制已修改 (存在更新) 的编辑器选项卡的顶部边框。
"workbench.editor.highlightModifiedTabs": false,
// 控制编辑器标签的格式。
// - default: 显示文件名。当启用选项卡且在同一组内有两个相同名称的文件时,将添加每个文件路径中可以用于区分的部分。在选项卡被禁用且编辑器活动时,将显示相对于工作区文件夹的路径。
// - short: 在文件的目录名之后显示文件名。
// - medium: 在文件相对当前工作区文件夹的路径之后显示文件名。
// - long: 在文件的绝对路径之后显示文件名。
"workbench.editor.labelFormat": "default",
// 使用鼠标按钮 4 和鼠标按钮 5 (如果提供)在打开的文件之间导航。
"workbench.editor.mouseBackForwardToNavigate": true,
// 控制编辑器打开的位置。选择 `left` 或 `right` 可分别在当前活动编辑器的左侧或右侧打开。选择 `first` (最前) 或 `last` (最后) 打开的位置与当前活动编辑器无关。
"workbench.editor.openPositioning": "right",
// 控制编辑器在并排打开时 (比如从资源管理器) 出现的默认位置。默认在当前活动编辑器右侧打开。若更改为 `down`,则在当前活动编辑器下方打开。
"workbench.editor.openSideBySideDirection": "right",
// 在重新打开已关闭文件时,还原最后一个视图的状态 (如滚动位置)。
"workbench.editor.restoreViewState": true,
// 控制是否在打开的任何可见组中显示编辑器。如果禁用,编辑器将优先在当前活动的编辑器组中打开。如果启用,将会显示在已打开的编辑器,而不是在当前活动的编辑器组中再次打开。请注意,有些情况下会忽略此设置,例如,强制编辑器在特定组中打开或当前活动组的一侧时。
"workbench.editor.revealIfOpen": false,
// 控制是否在编辑器选项卡中显示图标。要求同时启用图标主题。
"workbench.editor.showIcons": true,
// 控制打开的编辑器是否显示在选项卡中。
"workbench.editor.showTabs": true,
// 拆分编辑器组时控制编辑器组大小。
// - distribute: 将所有编辑器组拆分为相等的部分。
// - split: 将活动编辑器组拆分为相等的部分。
"workbench.editor.splitSizing": "distribute",
// 控制编辑器选项卡中关闭按钮的位置,或是设置为 `off` 禁用。
"workbench.editor.tabCloseButton": "right",
// 控制编辑器选项卡的大小。
// - fit: 始终将标签页保持足够大,能够完全显示编辑器标签。
// - shrink: 在不能同时显示所有选项卡时,允许选项卡缩小。
"workbench.editor.tabSizing": "fit",
// 从 Microsoft 联机服务中获取要进行的实验。
"workbench.enableExperiments": true,
// 配置资源要使用的编辑器。
"workbench.experimental.editorAssociations": [],
// 指定在工作台中使用的图标主题,或指定 "null" 以不显示任何文件图标。
// - null: 无文件图标
// - vs-minimal
// - vs-seti
// - vscode-icons
"workbench.iconTheme": "vscode-icons",
// 控制列表和树中的键盘导航是否仅通过键入自动触发。如果设置为 `false` ,键盘导航只在执行 `list.toggleKeyboardNavigation` 命令时触发,您可以为该命令指定键盘快捷方式。
"workbench.list.automaticKeyboardNavigation": true,
// 控制列表和树是否支持在工作台中进行水平滚动。
"workbench.list.horizontalScrolling": false,
// 控制工作台中的列表和树的键盘导航样式。它可为“简单”、“突出显示”或“筛选”。
// - simple: 简单键盘导航聚焦与键盘输入相匹配的元素。仅对前缀进行匹配。
// - highlight: 高亮键盘导航会突出显示与键盘输入相匹配的元素。进一步向上和向下导航将仅遍历突出显示的元素。
// - filter: 筛选器键盘导航将筛选出并隐藏与键盘输入不匹配的所有元素。
"workbench.list.keyboardNavigation": "highlight",
// 在通过鼠标多选树和列表条目时使用的修改键 (例如“资源管理器”、“打开的编辑器”和“源代码管理”视图)。“在侧边打开”功能所需的鼠标动作 (若可用) 将会相应调整,不与多选修改键冲突。
// - ctrlCmd: 映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。
// - alt: 映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。
"workbench.list.multiSelectModifier": "ctrlCmd",
// 控制在树和列表中怎样使用鼠标来展开子项(若支持)。对于树中的父节点,此设置将控制是使用单击还是双击来展开。注意,某些不适用于此设置的树或列表可能会忽略此项。
"workbench.list.openMode": "singleClick",
// 控制面板 (终端、调试控制台、输出、问题) 的默认位置。可显示在工作台的底部或右侧。
"workbench.panel.defaultLocation": "bottom",
// 控制 Quick Open 是否在其失去焦点时自动关闭。
"workbench.quickOpen.closeOnFocusLost": true,
// 在打开 Quick Open 视图时,控制是否自动恢复上一次输入的值。
"workbench.quickOpen.preserveInput": false,
// 配置默认使用的设置编辑器。
// - ui: 使用设置 ui 编辑器。
// - json: 使用 json 文件编辑器。
"workbench.settings.editor": "ui",
// 控制是否在设置中启用自然语言搜索。自然语言搜索由 Microsoft 联机服务提供。
"workbench.settings.enableNaturalLanguageSearch": true,
// 控制在打开按键绑定设置时是否同时打开显示所有默认按键绑定的编辑器。
"workbench.settings.openDefaultKeybindings": false,
// 控制在打开设置时是否同时打开显示所有默认设置的编辑器。
"workbench.settings.openDefaultSettings": false,
// 控制设置编辑器的目录在搜索时的行为。
// - hide: 在搜索时隐藏目录。
// - filter: 筛选目录为仅显示含有匹配设置的类别。单击一个类别将仅显示该类别的结果。
"workbench.settings.settingsSearchTocBehavior": "filter",
// 控制在将设置编辑为 json 时是否使用拆分 json 编辑器。
"workbench.settings.useSplitJSON": false,
// 控制边栏的位置。它可显示在工作台的左侧或右侧。
"workbench.sideBar.location": "left",
// 在没有从上一会话中恢复出信息的情况下,控制启动时显示的编辑器。
// - none: 在启动时不打开编辑器。
// - welcomePage: 打开欢迎页面 (默认)。
// - readme: 打开包含一个自述文件的文件夹时, 打开自述文件, 否则回退到 "欢迎页面"。
// - newUntitledFile: 打开新的无标题文件 (仅在打开空工作区时适用)。
// - welcomePageInEmptyWorkbench: 在打开空工作区时打开欢迎页面。
"workbench.startupEditor": "welcomePage",
// 控制工作台底部状态栏的可见性。
"workbench.statusBar.visible": true,
// 启用后,当没有打开编辑器时将显示水印提示。
"workbench.tips.enabled": true,
// 此设置已弃用,请改用“workbench.list.horizontalScrolling”。
// 控制工作台中的树控件是否支持水平滚动。
"workbench.tree.horizontalScrolling": false,
// 控制树缩进(以像素为单位)。
"workbench.tree.indent": 8,
// 控制树是否应呈现缩进参考线。
"workbench.tree.renderIndentGuides": "onHover",
// 控制是否显示视图头部的操作项。视图头部操作项可以一直,或是仅当聚焦到和悬停在视图上时显示。
"workbench.view.alwaysShowHeaderActions": false,
// 如果已启用,将自动更改为高对比度主题;如果 Windows 正在使用高对比度主题,则当离开 Windows 高对比度主题时会更改为深色主题。
"window.autoDetectHighContrast": true,
// 控制在关闭最后一个编辑器时是否关闭整个窗口。此设置仅适用于没有显示文件夹的窗口。
"window.closeWhenEmpty": false,
// 控制是否通过按 Alt 键聚焦菜单栏。此设置对使用 Alt 键切换菜单栏没有任何影响。
"window.customMenuBarAltFocus": true,
// 如果启用, 双击标题栏中的应用程序图标将关闭窗口, 并且该窗口无法通过图标拖动。此设置仅在 "#window.titleBarStyle#" 设置为 "custom" 时生效。
"window.doubleClickIconToClose": false,
// 控制是否可通过 Alt 键快捷键打开主菜单。如果禁用助记符,则可将这些 Alt 键快捷键绑定到编辑器命令。
"window.enableMenuBarMnemonics": true,
// 控制菜单栏的可见性。“切换”设置表示隐藏菜单栏,按一次 Alt 键则将显示此菜单栏。默认情况下,除非窗口为全屏,否则菜单栏可见。
// - default: 菜单仅在全屏模式下隐藏。
// - visible: 菜单始终可见,即使处于全屏模式下。
// - toggle: 菜单隐藏,但可以通过 Alt 键显示。
// - hidden: 菜单始终隐藏。
// - compact: 菜单在侧边栏中显示为一个紧凑的按钮。当"window.titleBarStyle"为"native"时,将忽略此值。
"window.menuBarVisibility": "default",
// 控制在已有窗口时新开窗口的尺寸。请注意,此设置对第一个打开的窗口无效。第一个窗口将始终恢复关闭前的大小和位置。
// - default: 在屏幕中心打开新窗口。
// - inherit: 以与上一个活动窗口相同的尺寸打开新窗口。
// - maximized: 打开最大化的新窗口。
// - fullscreen: 在全屏模式下打开新窗口。
"window.newWindowDimensions": "default",
// 控制是否在新窗口中打开文件。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 在新窗口中打开文件。
// - off: 在文件所在文件夹的已有窗口中或在上一个活动窗口中打开文件。
// - default: 在新窗口中打开文件,除非文件从应用程序内进行选取 (例如,通过“文件”菜单)。
"window.openFilesInNewWindow": "off",
// 控制打开文件夹时是在新窗口打开还是替换上一个活动窗口。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 在新窗口中打开文件夹。
// - off: 文件夹将替换上一个活动窗口。
// - default: 在新窗口中打开文件夹,除非文件夹从应用程序内进行选取 (例如,通过“文件”菜单)。
"window.openFoldersInNewWindow": "default",
// 在另一实例无参启动时,控制是打开新的空窗口或是聚焦到最后运行的实例。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 打开一个新的空窗口。
// - off: 聚焦到上一活动的运行实例。
"window.openWithoutArgumentsInNewWindow": "on",
// 若窗口在处于全屏模式时退出,控制其在恢复时是否还原到全屏模式。
"window.restoreFullscreen": false,
// 控制窗口在重启后再次打开的方式。
// - all: 重新打开所有窗口。
// - folders: 重新打开所有文件夹。空工作区将不会被恢复。
// - one: 重新打开上一个活动窗口。
// - none: 永远不重新打开窗口。总是以一个空窗口启动。
"window.restoreWindows": "one",
// 根据活动编辑器控制窗口标题。变量是根据上下文替换的:
// - "${activeEditorShort}": 文件名 (例如 myFile.txt)。
// - "${activeEditorMedium}": 相对于工作区文件夹的文件路径 (例如, myFolder/myFileFolder/myFile.txt)。
// - "${activeEditorLong}": 文件的完整路径 (例如 /Users/Development/myFolder/myFileFolder/myFile.txt)。
// - "${activeFolderShort}": 文件所在的文件夹名称 (例如, myFileFolder)。
// - "${activeFolderMedium}": 相对于工作区文件夹的、包含文件的文件夹的路径, (例如 myFolder/myFileFolder)。
// - "${activeFolderLong}": 文件所在文件夹的完整路径 (例如 /Users/Development/myFolder/myFileFolder)。
// - "${folderName}": 文件所在工作区文件夹的名称 (例如 myFolder)。
// - "${folderpath}": 文件所在工作区文件夹的路径 (例如 /Users/Development/myFolder)。
// - "${rootName}": 工作区的名称 (例如, myFolder 或 myWorkspace)。
// - "${rootPath}": 工作区的文件路径 (例如 /Users/Development/myWorkspace)。
// - "${appName}": 例如 VS Code。
// - “${remoteName}”: 例如 SSH
// - "${dirty}": 表示活动编辑器为脏的脏指示器。
// - "${separator}": 一种条件分隔符 ("-"), 仅在被包含值或静态文本的变量包围时显示。
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}",
// 调整窗口标题栏的外观。在 Linux 和 Windows 上,此设置也会影响应用程序和上下文菜单的外观。更改需要完全重新启动才能应用。
"window.titleBarStyle": "custom",
// 调整窗口的缩放级别。原始大小是 0,每次递增(例如 1)或递减(例如 -1)表示放大或缩小 20%。也可以输入小数以便以更精细的粒度调整缩放级别。
"window.zoomLevel": 0,
// 控制在打开禅模式时是否启用居中布局。
"zenMode.centerLayout": true,
// 控制在打开禅模式时是否将工作台切换到全屏。
"zenMode.fullScreen": true,
// 控制在打开禅模式时是否隐藏工作台左侧的活动栏。
"zenMode.hideActivityBar": true,
// 控制在打开禅模式时是否隐藏编辑器行号。
"zenMode.hideLineNumbers": true,
// 控制在打开禅模式时是否隐藏工作台底部的状态栏。
"zenMode.hideStatusBar": true,
// 控制在打开禅模式时是否隐藏工作台选项卡。
"zenMode.hideTabs": true,
// 若窗口在处于禅模式时退出,控制其在恢复时是否还原到禅模式。
"zenMode.restore": false,
// 控制在禅宗模式下是否显示通知。如果为 true,则只会弹出错误通知。
"zenMode.silentNotifications": true,
// 仅在截屏模式下显示键盘快捷键。
"screencastMode.onlyKeyboardShortcuts": false,
// 控制截屏模式叠加的垂直偏移,从底部作为工作台高度的百分比。
"screencastMode.verticalOffset": 20,
// 配置语言的文件关联 (如: `"*.extension": "html"`)。这些关联的优先级高于已安装语言的默认关联。
"files.associations": {},
// 启用后,将在文件打开时尝试猜测字符集编码。可以按语言对此项进行配置。
"files.autoGuessEncoding": false,
// 控制已更新文件的自动保存。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save)阅读有关自动保存的详细信息。
// - off: 永不自动保存更新后的文件。
// - afterDelay: 当文件修改后的时间超过 `files.autoSaveDelay` 中配置的值时自动进行保存。
// - onFocusChange: 编辑器失去焦点时自动保存更新后的文件。
// - onWindowChange: 窗口失去焦点时自动保存更新后的文件。
"files.autoSave": "off",
// 控制自动保存已更新文件的延迟时间 (毫秒)。仅在 `files.autoSave` 设置为 `afterDelay` 时生效。
"files.autoSaveDelay": 1000,
// 分配给新文件的默认语言模式。
"files.defaultLanguage": "",
// 在删除文件或文件夹时,将它们移动到操作系统的“废纸篓”中 (Windows 为“回收站”)。禁用此设置将永久删除文件或文件夹。
"files.enableTrash": true,
// 在读取和写入文件时使用的默认字符集编码。可以按语言对此项进行配置。
// - utf8: UTF-8
// - utf8bom: UTF-8 with BOM
// - utf16le: UTF-16 LE
// - utf16be: UTF-16 BE
// - windows1252: Western (Windows 1252)
// - iso88591: Western (ISO 8859-1)
// - iso88593: Western (ISO 8859-3)
// - iso885915: Western (ISO 8859-15)
// - macroman: Western (Mac Roman)
// - cp437: DOS (CP 437)
// - windows1256: Arabic (Windows 1256)
// - iso88596: Arabic (ISO 8859-6)
// - windows1257: Baltic (Windows 1257)
// - iso88594: Baltic (ISO 8859-4)
// - iso885914: Celtic (ISO 8859-14)
// - windows1250: Central European (Windows 1250)
// - iso88592: Central European (ISO 8859-2)
// - cp852: Central European (CP 852)
// - windows1251: Cyrillic (Windows 1251)
// - cp866: Cyrillic (CP 866)
// - iso88595: Cyrillic (ISO 8859-5)
// - koi8r: Cyrillic (KOI8-R)
// - koi8u: Cyrillic (KOI8-U)
// - iso885913: Estonian (ISO 8859-13)
// - windows1253: Greek (Windows 1253)
// - iso88597: Greek (ISO 8859-7)
// - windows1255: Hebrew (Windows 1255)
// - iso88598: Hebrew (ISO 8859-8)
// - iso885910: Nordic (ISO 8859-10)
// - iso885916: Romanian (ISO 8859-16)
// - windows1254: Turkish (Windows 1254)
// - iso88599: Turkish (ISO 8859-9)
// - windows1258: Vietnamese (Windows 1258)
// - gbk: Simplified Chinese (GBK)
// - gb18030: Simplified Chinese (GB18030)
// - cp950: Traditional Chinese (Big5)
// - big5hkscs: Traditional Chinese (Big5-HKSCS)
// - shiftjis: Japanese (Shift JIS)
// - eucjp: Japanese (EUC-JP)
// - euckr: Korean (EUC-KR)
// - windows874: Thai (Windows 874)
// - iso885911: Latin/Thai (ISO 8859-11)
// - koi8ru: Cyrillic (KOI8-RU)
// - koi8t: Tajik (KOI8-T)
// - gb2312: Simplified Chinese (GB 2312)
// - cp865: Nordic DOS (CP 865)
// - cp850: Western European DOS (CP 850)
"files.encoding": "utf8",
// 默认行尾字符。
// - \n: LF
// - \r\n: CRLF
// - auto: 使用具体操作系统规定的行末字符。
"files.eol": "auto",
// 配置排除的文件和文件夹的 glob 模式。例如,文件资源管理器将根据此设置决定要显示或隐藏的文件和文件夹。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)阅读有关 glob 模式的详细信息。
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
// 控制是否在会话间记住未保存的文件,以允许在退出编辑器时跳过保存提示。
// - off: 禁用热退出。
// - onExit: 在 Windows/Linux 平台关闭最后一个窗口,或者在全平台触发 `workbench.action.quit` 命令 (命令托盘、键绑定、菜单) 时进行热退出。下次启动时将还原所有已备份的窗口。
// - onExitAndWindowClose: 在 Windows/Linux 平台关闭最后一个窗口、触发 `workbench.action.quit` 命令 (命令托盘、键绑定、菜单) 会引起应用程序关闭。对于任何有文件夹打开的窗口,则不论该窗口是否是最后一个窗口进行热退出。下次启动时将还原所有未打开文件夹的窗口。若要还原打开有文件夹的窗口,请将 `window.restoreWindows` 设置为 `all`。
"files.hotExit": "onExit",
// 启用后,保存文件时在文件末尾插入一个最终新行。
"files.insertFinalNewline": false,
// 在打开大型文件时,控制 VS Code 可在重启后使用的内存。在命令行中指定 `--max-memory=新的大小` 参数可达到相同效果。
"files.maxMemoryForLargeFilesMB": 4096,
// 超时(以毫秒为单位)后,将取消创建、重命名和删除的文件参与者。使用"0"禁用参与者。
"files.participants.timeout": 5000,
// 启用简单文件对话框。启用时,简单文件对话框将替换系统文件对话框。
"files.simpleDialog.enable": false,
// 启用后,保存文件时将删除在最终新行后的所有新行。
"files.trimFinalNewlines": false,
// 启用后,将在保存文件时删除文件末尾的空格。
"files.trimTrailingWhitespace": false,
// 配置文件路径的 glob 模式以从文件监视排除。模式必须在绝对路径上匹配(例如 ** 前缀或完整路径需正确匹配)。更改此设置需要重启。如果在启动时遇到 Code 消耗大量 CPU 时间,则可以排除大型文件夹以减少初始加载。
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
// 控制资源管理器是否在打开文件时自动显示并选择。
"explorer.autoReveal": true,
// 控制资源管理器是否应以紧凑形式呈现文件夹。在这种形式中,单个子文件夹将被压缩在组合的树元素中。例如,对 Java 包结构很有用。
"explorer.compactFolders": true,
// 控制资源管理器是否在把文件删除到废纸篓时进行确认。
"explorer.confirmDelete": true,
// 控制在资源管理器内拖放移动文件或文件夹时是否进行确认。
"explorer.confirmDragAndDrop": true,
// 控制文件修饰是否应使用徽章。
"explorer.decorations.badges": true,
// 控制文件修饰是否应使用颜色。
"explorer.decorations.colors": true,
// 控制资源管理器是否允许通过拖放移动文件和文件夹。
"explorer.enableDragAndDrop": true,
// 选择在粘贴同名文件(夹)时要使用的重命名方式。
// - simple: 在重复名称的末尾附加单词“copy”,后面可能跟一个数字
// - smart: 在重复名称的末尾添加一个数字。如果某个号码已经是名称的一部分,请尝试增加该号码
"explorer.incrementalNaming": "simple",
// 在“打开的编辑器”窗格中显示的编辑器数量。
"explorer.openEditors.visible": 9,
// 控制文件和文件夹在资源管理器中的排列顺序。
// - default: 按名称的字母顺序排列文件和文件夹。文件夹显示在文件前。
// - mixed: 按名称的字母顺序排列文件和文件夹。两者穿插显示。
// - filesFirst: 按名称的字母顺序排列文件和文件夹。文件显示在文件夹前。
// - type: 按扩展名的字母顺序排列文件和文件夹。文件夹显示在文件前。
// - modified: 按最后修改日期降序排列文件和文件夹。文件夹显示在文件前。
"explorer.sortOrder": "default",
// 在搜索视图中控制操作栏的位置。
// - auto: 当搜索视图较窄时将操作栏置于右侧,当搜索视图较宽时,将它紧接在内容之后。
// - right: 始终将操作栏放置在右侧。
"search.actionsPosition": "auto",
// 控制是折叠还是展开搜索结果。
// - auto: Files with less than 10 results are expanded. Others are collapsed.
// - alwaysCollapse
// - alwaysExpand
"search.collapseResults": "alwaysExpand",
// 实验性:启用后,允许在编辑器中打开工作区搜索结果。
"search.enableSearchEditorPreview": false,
// 配置在搜索中排除的文件和文件夹的 glob 模式。已经继承 `files.exclude` 设置的所有 glob 模式。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)阅读有关 glob 模式的详细信息。
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true
},
// 控制是否在搜索中跟踪符号链接。
"search.followSymlinks": true,
// 启用后,搜索服务进程将保持活动状态,而不是在一个小时不活动后关闭。这将使文件搜索缓存保留在内存中。
"search.maintainFileSearchCache": false,
// 是否在 Quick Open 的文件结果中包含最近打开的文件。
"search.quickOpen.includeHistory": true,
// 控制 Quick Open 文件结果中是否包括全局符号搜索的结果。
"search.quickOpen.includeSymbols": false,
// 在键入时搜索所有文件。
"search.searchOnType": true,
// 启用"#search.searchOnType"后,控制键入的字符与开始搜索之间的超时(以毫秒为单位)。禁用"搜索.searchOnType"时无效。
"search.searchOnTypeDebouncePeriod": 300,
// 控制是否显示搜索结果所在的行号。
"search.showLineNumbers": false,
// 若搜索词全为小写,则不区分大小写进行搜索,否则区分大小写进行搜索。
"search.smartCase": false,
// 控制在搜索文件时是否使用全局 `.gitignore` 和 `.ignore` 文件。
"search.useGlobalIgnoreFiles": false,
// 控制在搜索文件时是否使用 `.gitignore` 和 `.ignore` 文件。
"search.useIgnoreFiles": true,
// 弃用。当使用仅 PCRE2 支持的正则表达式功能时,将自动使用 PCRE2。
// 是否在文本搜索中使用 pcre2 正则表达式引擎。这允许使用一些高级正则表达式功能, 如前瞻和反向引用。但是, 并非所有 pcre2 功能都受支持-仅支持 javascript 也支持的功能。
"search.usePCRE2": false,
// 控制在选择或替换匹配项时是否打开“替换预览”视图。
"search.useReplacePreview": true,
// 已弃用。请考虑使用 "search.usePCRE2" 获取对高级正则表达式功能的支持。
// 此设置已被弃用,将回退到 "search.usePCRE2"。
"search.useRipgrep": true,
// 此设置已弃用,请改用“update.mode”。
// 配置是否接收自动更新。更改后需要重新启动。更新是从微软在线服务获取的。
"update.channel": "default",
// 启用在 Windows 上后台下载和安装新的 VS Code 版本
"update.enableWindowsBackgroundUpdates": true,
// 配置是否接收自动更新。更改后需要重新启动。更新是从微软在线服务获取的。
// - none: 禁用更新。
// - manual: 禁用自动后台更新检查。如果手动检查更新,更新将可用。
// - start: 仅在启动时检查更新。禁用自动后台更新检查。
// - default: 启用自动更新检查。代码将定期自动检查更新。
"update.mode": "default",
// 在更新后显示发行说明。发行说明将从 Microsoft 联机服务中获取。
"update.showReleaseNotes": true,
// 要使用的代理设置。如果未设置,则将从 "http_proxy" 和 "https_proxy" 环境变量中继承。
"http.proxy": "",
// 要作为每个网络请求的 "Proxy-Authorization" 标头发送的值。
"http.proxyAuthorization": null,
// 控制是否根据提供的 CA 列表验证代理服务器证书。
"http.proxyStrictSSL": true,
// 对扩展使用代理支持。
// - off: 禁用对扩展的代理支持。
// - on: 为扩展启用代理支持。
// - override: 为扩展启用代理支持,覆盖请求选项。
"http.proxySupport": "override",
// 控制是否应从操作系统加载 CA 证书。(在 Windows 和 macOS 上, 关闭此窗口后需要重新加载窗口。
"http.systemCertificates": true,
// 允许在任何文件中设置断点。
"debug.allowBreakpointsEverywhere": false,
// 控制调试控制台中的字体系列。
"debug.console.fontFamily": "default",
// 控制调试控制台中的字体大小(以像素为单位)。
"debug.console.fontSize": 14,
// 设置调试控制台中的行高(以像素为单位)。使用 0 来计算从字体大小开始的行高。
"debug.console.lineHeight": 0,
// 控制是否应在调试控制台中换行。
"debug.console.wordWrap": true,
// 控制调试过程中是否启用非调试悬停提示。启用后,将调用悬停提供程序来提供悬停提示。即使启用此项设置,普通悬停提示也不会显示。
"debug.enableAllHovers": false,
// 控制当调试器中断时,工作台窗口是否应获得焦点。
"debug.focusWindowOnBreak": true,
// 当处于调试过程中时,在编辑器中内联显示变量值。
"debug.inlineValues": false,
// 控制何时打开内部调试控制台。
"debug.internalConsoleOptions": "openOnFirstSessionStart",
// 控制在运行预启动任务后遇到错误时应该怎么做。
// - debugAnyway: 忽略任务错误并开始调试。
// - showErrors: 显示"问题"视图,但不开始调试。
// - prompt: 提示用户。
"debug.onTaskErrors": "prompt",
// 控制何时打开“调试”视图。
"debug.openDebug": "openOnSessionStart",
// 在调试会话结束时自动打开资源管理器视图。
"debug.openExplorerOnEnd": false,
// 控制断点是否应显示在概览标尺中。
"debug.showBreakpointsInOverviewRuler": false,
// 控制调试时是否应在编辑器中显示内联断点候选修饰。
"debug.showInlineBreakpointCandidates": true,
// 控制何时显示调试状态栏。
// - never: 在状态栏中不再显示调试
// - always: 始终在状态栏中显示调试
// - onFirstSessionStart: 仅于第一次启动调试后在状态栏中显示调试
"debug.showInStatusBar": "onFirstSessionStart",
// 控制调试子会话是否显示在调试工具栏中。当此设置为 false 时, 子会话上的 stop 命令也将停止父会话。
"debug.showSubSessionsInToolBar": false,
// 控制调试工具栏的位置。可在所有视图中“浮动”、在调试视图中“停靠”,也可“隐藏”。
"debug.toolBarLocation": "floating",
// 全局调试启动配置。应当作为跨工作区共享的 \"launch.json\" 的替代方法。
"launch": {
"configurations": [],
"compounds": []
},
// 控制评论面板应何时打开。
"comments.openPanel": "openOnSessionStartWithComments",
// 启用/禁用 HTML 标记的自动关闭。
"html.autoClosingTags": true,
// 指向 JSON 文件的相对文件路径的列表,这些路径采用[自定义数据格式](https://github.com/Microsoft/vscode-html-languageservice/blob/master/docs/customData.md。
//
// VS Code 在启动时加载自定义数据,从而增强它对你在 JSON 文件中指定的自定义 HTML 标记、属性和属性值的 HTML 支持。
//
// 这些文件路径与工作区相对,且只考虑工作区文件夹设置。
"html.customData": [],
// List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.
"html.format.contentUnformatted": "pre,code,textarea",
// 启用或禁用默认 HTML 格式化程序。
"html.format.enable": true,
// 以新行结束。
"html.format.endWithNewline": false,
// 以逗号分隔的标记列表,其中的标记之前将有额外新行。若为 `null`,默认包含 `"head, body, /html"`。
"html.format.extraLiners": "head, body, /html",
// 对 `{{#foo}}` 和 `{{/foo}}` 进行格式化与缩进。
"html.format.indentHandlebars": false,
// 缩进 `<head>` 和 `<body>` 部分。
"html.format.indentInnerHtml": false,
// 保留在一个区块中的换行符的最大数量。若为 `null`,则没有限制。
"html.format.maxPreserveNewLines": null,
// 控制是否保留元素前已有的换行符。仅适用于元素前,不适用于标记内或文本。
"html.format.preserveNewLines": true,
// 以逗号分隔的标记列表,其中的内容不会被重新格式化。若为 `null`,默认包含所有列于 https://www.w3.org/TR/html5/dom.html#phrasing-content 的标记。
"html.format.unformatted": "wbr",
// 对属性进行换行。
// - auto: 仅在超出行长度时才对属性进行换行。
// - force: 对除第一个属性外的其他每个属性进行换行。
// - force-aligned: 对除第一个属性外的其他每个属性进行换行,并保持对齐。
// - force-expand-multiline: 对每个属性进行换行。
// - aligned-multiple: 当超出折行长度时,将属性进行垂直对齐。
// - preserve: 保留属性的包装
// - preserve-aligned: 保留属性的包装,但对齐。
"html.format.wrapAttributes": "auto",
// 每行最大字符数(0 = 禁用)。
"html.format.wrapLineLength": 120,
// 在匹配的 HTML 标记上启用/禁用镜像光标。
"html.mirrorCursorOnMatchingTag": true,
// 配置内置 HTML 语言支持是否建议 HTML5 标记、属性和值。
"html.suggest.html5": true,
// 跟踪 VS Code 与 HTML 语言服务器之间的通信。
"html.trace.server": "off",
// 配置内置的 HTML 语言支持是否对嵌入的脚本进行验证。
"html.validate.scripts": true,
// 配置内置 HTML 语言支持是否对嵌入的样式进行验证。
"html.validate.styles": true,
// 已弃用设置 "json.colorDecorators.enable",请改用 "editor.colorDecorators"。
// 启用或禁用颜色修饰器
"json.colorDecorators.enable": true,
// 启用或禁用默认 JSON 格式化程序。
"json.format.enable": true,
// 计算的大纲符号和折叠区域的最大数量(因性能原因而受限)。
"json.maxItemsComputed": 5000,
// 将当前项目中的 JSON 文件与架构关联起来
"json.schemas": [],
// 跟踪 VS Code 和 JSON 语言服务器之间的通信。
"json.trace.server": "off",
// 控制应在何处打开markdown文件中的链接。
// - currentGroup: 打开活动编辑器组中的链接。
// - beside: 打开活动编辑器旁边的链接。
"markdown.links.openLocation": "currentGroup",
// 设置换行符如何在 markdown 预览中呈现。将其设置为 "true" 会为每一个新行创建一个 <br>。
"markdown.preview.breaks": false,
// 在 Markdown 预览中双击切换到编辑器。
"markdown.preview.doubleClickToSwitchToEditor": true,
// 控制 Markdown 预览中使用的字体系列。
"markdown.preview.fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', 'Ubuntu', 'Droid Sans', sans-serif",
// 控制 Markdown 预览中使用的字号(以像素为单位)。
"markdown.preview.fontSize": 14,
// 控制 Markdown 预览中使用的行高。此数值与字号相关。
"markdown.preview.lineHeight": 1.6,
// 在 Markdown 预览中启用或禁用将类似 URL 的文本转换为链接。
"markdown.preview.linkify": true,
// 在 Markdown 预览中标记当前的编辑器选定内容。
"markdown.preview.markEditorSelection": true,
// 控制如何打开markdown预览中其他markdown文件的链接。
// - inPreview: 尝试在 Markdown 预览中打开链接
// - inEditor: 尝试在编辑器中打开链接
"markdown.preview.openMarkdownLinks": "inPreview",
// 滚动 Markdown 预览时,更新其编辑器视图。
"markdown.preview.scrollEditorWithPreview": true,
// 滚动 Markdown 编辑器时,更新其预览视图。
"markdown.preview.scrollPreviewWithEditor": true,
// 要在 Markdown 预览中使用的 CSS 样式表的 URL 或本地路径列表。相对路径被解释为相对于资源管理器中打开的文件夹。如果没有任何打开的文件夹,则会被解释为相对于 Markdown 文件的位置。所有的 "\" 需写为 "\\"。
"markdown.styles": [],
// 对 Markdown 扩展启用调试日志记录。
"markdown.trace": "off",
// 控制是否启用内置 PHP 语言建议。支持对 PHP 全局变量和变量进行建议。
"php.suggest.basic": true,
// 启用/禁用内置的 PHP 验证。
"php.validate.enable": true,
// 指向 PHP 可执行文件。
"php.validate.executablePath": null,
// 不管 linter 是在 save 还是在 type 上运行。
"php.validate.run": "onSave",
// 启用或禁用自动关闭 JSX 标记。要求工作区使用高于 3.0 版本的 TypeScript。
"javascript.autoClosingTags": true,
// 启用/禁用 JavaScript 格式化程序。
"javascript.format.enable": true,
// 定义逗号分隔符后面的空格处理。
"javascript.format.insertSpaceAfterCommaDelimiter": true,
// 定义 constructor 关键字后的空格处理方式。要求工作区使用高于 2.3.0 版本的 TypeScript。
"javascript.format.insertSpaceAfterConstructor": false,
// 定义匿名函数的函数关键字后面的空格处理。
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// 定义控制流语句中关键字后面的空格处理。
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// 定义 JSX 表达式括号中左括号后和右括号前的空格处理方式。
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// 定义非空大括号中左括号后和右括号前的空格处理方式。要求工作区使用高于 2.3.0 版本的 TypeScript。
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// 定义非空中括号的左括号后和右括号前的空格处理方式。
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// 定义非空小括号的左括号后和右括号前的空格处理方式。
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// 定义模板字符串括号中左括号后和右括号前的空格处理方式。
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// 定义 for 语句中分号之后的空格处理方式。
"javascript.format.insertSpaceAfterSemicolonInForStatements": true,
// 定义二进制运算符后面的空格处理
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// 定义函数参数括号前的空格处理方式。
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
// 定义控制块的左括号是否放置在新的一行。
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// 定义函数的左大括号是否放置在新的一行。
"javascript.format.placeOpenBraceOnNewLineForFunctions": false,
// 定义非必要分号的处理方式。要求在工作区内使用 TypeScript 3.7 或更高版本。
// - ignore: 不要插入或删除任何分号。
// - insert: 在语句末尾插入分号。
// - remove: 删除不必要的分号。
"javascript.format.semicolons": "ignore",
// 启用或禁用 JavaScript 文件的语义检查。若有 jsconfig.json 或 tsconfig.json 文件,将覆盖此设置。要求工作区使用高于 2.3.1 版本的 TypeScript。
"javascript.implicitProjectConfig.checkJs": false,
// 对不属于任何工程的 JavaScript 文件启用或禁用 `experimentalDecorators` 设置。若有 jsconfig.json 或 tsconfig.json 文件,将覆盖此设置。要求工作区使用高于 2.3.1 版本的 TypeScript。
"javascript.implicitProjectConfig.experimentalDecorators": false,
// 自动 import 语句中路径的首选样式。
// - auto: 自动选择导入路径样式。如果配置了 "baseUrl",并且相对路径的段少于非相对导入,则首选相对导入。
// - relative: 相对于文件位置。
// - non-relative: 根据 `jsconfig.json` 或 `tsconfig.json` 中配置的 `baseUrl` 。
"javascript.preferences.importModuleSpecifier": "auto",
// 用于快速修复的首选引用样式: `single` (单引号)、`double` (双引号) 或 `auto` (从已有 import 语句中推测引号类型)。要求工作区使用高于 2.9 版本的 TypeScript。
"javascript.preferences.quoteStyle": "auto",
// 启用/禁用在重命名过程中引入对象速记属性的别名。需要在工作区中使用 TypeScript 3.4 或更高版本。
"javascript.preferences.renameShorthandProperties": true,
// 启用/禁用在 JavaScript 文件中引用 CodeLens。
"javascript.referencesCodeLens.enabled": false,
// 启用/禁用在 JavaScript 文件中对所有函数的 CodeLens 引用。
"javascript.referencesCodeLens.showOnAllFunctions": false,
// 启用或禁用自动导入建议。要求工作区使用高于 2.6.1 版本的 TypeScript。
"javascript.suggest.autoImports": true,
// 完成函数的参数签名。
"javascript.suggest.completeFunctionCalls": false,
// 启用/禁用对完成 JSDoc 注释的建议。
"javascript.suggest.completeJSDocs": true,
// 启用或禁用自动完成建议。
"javascript.suggest.enabled": true,
// 启用/禁用显示可能未定义的值的完成情况,这些值会插入可选的链式调用。需要启用 TS 3.7+ 和严格的空检查。
"javascript.suggest.includeAutomaticOptionalChainCompletions": true,
// 启用/禁用在 JavaScript 建议中包含文件中的唯一名称。请注意,在使用`@ts-check`或`checkJs`进行语义检查的 JavaScript 代码中,名称建议始终处于禁用状态。
"javascript.suggest.names": true,
// 在 import 语句和 require 调用中,启用或禁用路径建议。
"javascript.suggest.paths": true,
// 启用或禁用编辑器中 JavaScript 文件的建议诊断。要求工作区使用高于 2.8 版本的 TypeScript。
"javascript.suggestionActions.enabled": true,
// 当在 VS Code 中重命名或移动文件时,启用或禁用自动更新导入路径。要求工作区使用高于 2.9 版本的 TypeScript。
// - prompt: 在每次重命名时进行提示。
// - always: 始终自动更新路径。
// - never: 一律不要重命名路径,也不要提示。
"javascript.updateImportsOnFileMove.enabled": "prompt",
// 启用/禁用 JavaScript 验证。
"javascript.validate.enable": true,
// 启用或禁用自动关闭 JSX 标记。要求工作区使用高于 3.0 版本的 TypeScript。
"typescript.autoClosingTags": true,
// 检查是否安装了 NPM 以自动获取类型。
"typescript.check.npmIsInstalled": true,
// 禁用自动类型获取。自动类型获取从 npm 提取 `@types` 包,提高对于外部库的 IntelliSense 能力。
"typescript.disableAutomaticTypeAcquisition": false,
// 启用/禁用默认 TypeScript 格式化程序。
"typescript.format.enable": true,
// 定义逗号分隔符后面的空格处理。
"typescript.format.insertSpaceAfterCommaDelimiter": true,
// 定义 constructor 关键字后的空格处理方式。要求工作区使用高于 2.3.0 版本的 TypeScript。
"typescript.format.insertSpaceAfterConstructor": false,
// 定义匿名函数的函数关键字后面的空格处理。
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// 定义控制流语句中关键字后面的空格处理。
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// 定义 JSX 表达式括号中左括号后和右括号前的空格处理方式。
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// 定义非空大括号中左括号后和右括号前的空格处理方式。要求工作区使用高于 2.3.0 版本的 TypeScript。
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// 定义非空中括号的左括号后和右括号前的空格处理方式。
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// 定义非空小括号的左括号后和右括号前的空格处理方式。
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// 定义模板字符串括号中左括号后和右括号前的空格处理方式。
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// 定义 for 语句中分号之后的空格处理方式。
"typescript.format.insertSpaceAfterSemicolonInForStatements": true,
// 定义 TypeScript 中类型断言后的空格处理方式。要求工作区使用高于 2.4 版本的 TypeScript。
"typescript.format.insertSpaceAfterTypeAssertion": false,
// 定义二进制运算符后面的空格处理
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// 定义函数参数括号前的空格处理方式。
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
// 定义控制块的左括号是否放置在新的一行。
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// 定义函数的左大括号是否放置在新的一行。
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
// 定义非必要分号的处理方式。要求在工作区内使用 TypeScript 3.7 或更高版本。
// - ignore: 不要插入或删除任何分号。
// - insert: 在语句末尾插入分号。
// - remove: 删除不必要的分号。
"typescript.format.semicolons": "ignore",
// 启用或禁用实现 CodeLens。此 CodeLens 显示接口的实现。
"typescript.implementationsCodeLens.enabled": false,
// 设置在报告 JavaScript 和 TypeScript 的错误时使用的区域设置。要求工作区使用高于 2.6.0 版本的 TypeScript。默认 (`null`) 使用 VS Code 的区域设置。
"typescript.locale": null,
// 指定用于自动获取类型的 NPM 可执行文件的路径。要求工作区使用高于 2.3.4 版本的 TypeScript。
"typescript.npm": null,
// 自动 import 语句中路径的首选样式。
// - auto: 自动选择导入路径样式。如果配置了 "baseUrl",并且相对路径的段少于非相对导入,则首选相对导入。
// - relative: 相对于文件位置。
// - non-relative: 根据 `jsconfig.json` 或 `tsconfig.json` 中配置的 `baseUrl` 。
"typescript.preferences.importModuleSpecifier": "auto",
// 用于快速修复的首选引用样式: `single` (单引号)、`double` (双引号) 或 `auto` (从已有 import 语句中推测引号类型)。要求工作区使用高于 2.9 版本的 TypeScript。
"typescript.preferences.quoteStyle": "auto",
// 启用/禁用在重命名过程中引入对象速记属性的别名。需要在工作区中使用 TypeScript 3.4 或更高版本。
"typescript.preferences.renameShorthandProperties": true,
// 在 TypeScript 文件中启用或禁用引用 CodeLens。
"typescript.referencesCodeLens.enabled": false,
// 启用/禁用在 TypeScript 文件中的所有函数上引用 CodeLens。
"typescript.referencesCodeLens.showOnAllFunctions": false,
// 将风格检查的问题报告为警告。
"typescript.reportStyleChecksAsWarnings": true,
// 启用或禁用自动导入建议。要求工作区使用高于 2.6.1 版本的 TypeScript。
"typescript.suggest.autoImports": true,
// 完成函数的参数签名。
"typescript.suggest.completeFunctionCalls": false,
// 启用/禁用对完成 JSDoc 注释的建议。
"typescript.suggest.completeJSDocs": true,
// 启用或禁用自动完成建议。
"typescript.suggest.enabled": true,
// 启用/禁用显示可能未定义的值的完成情况,这些值会插入可选的链式调用。需要启用 TS 3.7+ 和严格的空检查。
"typescript.suggest.includeAutomaticOptionalChainCompletions": true,
// 在 import 语句和 require 调用中,启用或禁用路径建议。
"typescript.suggest.paths": true,
// 启用或禁用编辑器中 TypeScript 文件的建议诊断。要求工作区使用高于 2.8 版本的 TypeScript。
"typescript.suggestionActions.enabled": true,
// 启用或禁用偶尔出现的有关 JavaScript 和 TypeScript 的调查,帮助我们改善 VS Code 对两者的支持。
"typescript.surveys.enabled": true,
// 控制对 tsc 任务的自动检测。
// - on: 同时创建生成和监视任务。
// - off: 禁用此功能。
// - build: 仅创建单次运行编译任务。
// - watch: 仅创建编译和监视任务。
"typescript.tsc.autoDetect": "on",
// 指定用于 IntelliSense 的 TypeScript 安装下的 tsserver 和 lib*.d.ts 文件的文件夹路径,例如:`./node_modules/typescript/lib`。
//
// -当指定为用户设置时,`typescript.tsdk` 中的 TypeScript 版本会自动替换内置的 TypeScript 版本。
// -当指定为工作区设置时,`typescript.tsdk` 允许通过 `TypeScript: Select TypeScript version`
// 命令切换到使用 IntelliSense 的该工作区版本 TypeScript。
//
// 有关 TypeScript 版本管理的更多详细信息,请参阅 [TypeScript文档](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-newer-typescript-versions)。
"typescript.tsdk": null,
// 将 TS 服务器的日志保存到一个文件。此日志可用于诊断 TS 服务器问题。日志可能包含你的项目中的文件路径、源代码和其他可能敏感的信息。
"typescript.tsserver.log": "off",
// 设置要分配给 TypeScript 服务器进程的最大内存量(MB)
"typescript.tsserver.maxTsServerMemory": 3072,
// 其他用于搜索 TypeScript 语言服务插件的路径。要求工作区使用高于 2.3.0 版本的 TypeScript。
"typescript.tsserver.pluginPaths": [],
// 对发送到 TS 服务器的消息启用跟踪。此跟踪信息可用于诊断 TS 服务器问题。 跟踪信息可能包含你的项目中的文件路径、源代码和其他可能敏感的信息。
"typescript.tsserver.trace": "off",
// 允许/禁止生成单独的 TypeScript 服务器,该服务器可更快地响应与语法相关的操作,例如计算折叠或计算文档符号。需要在工作区中使用 TypeScript 3.4.0 或更高版本。
"typescript.tsserver.useSeparateSyntaxServer": true,
// 当在 VS Code 中重命名或移动文件时,启用或禁用自动更新导入路径。要求工作区使用高于 2.9 版本的 TypeScript。
// - prompt: 在每次重命名时进行提示。
// - always: 始终自动更新路径。
// - never: 一律不要重命名路径,也不要提示。
"typescript.updateImportsOnFileMove.enabled": "prompt",
// 启用/禁用 TypeScript 验证。
"typescript.validate.enable": true,
// 完成 CSS 属性时在行尾插入分号
"css.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"css.completion.triggerPropertyValueCompletion": true,
// 指向 JSON 文件的相对文件路径的列表,这些路径采用[自定义数据格式](https://github.com/Microsoft/vscode-css-languageservice/blob/master/docs/customData.md)。
//
// VS Code 在启动时加载自定义数据,从而增强它对你在 JSON 文件中指定的指令、伪类和伪元素中的自定义 CSS 属性的 CSS 支持。
//
// 这些文件路径与工作区相对,且只考虑工作区文件夹设置。
"css.customData": [],
// 无效的参数数量。
"css.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"css.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"css.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"css.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"css.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"css.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"css.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"css.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"css.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"css.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"css.lint.important": "ignore",
// import 语句没有并行加载。
"css.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"css.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"css.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"css.lint.unknownAtRules": "warning",
// 未知的属性。
"css.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"css.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"css.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"css.lint.vendorPrefix": "warning",
// 零不需要单位。
"css.lint.zeroUnits": "ignore",
// 跟踪 VS Code 与 CSS 语言服务器之间的通信。
"css.trace.server": "off",
// 启用或禁用所有验证。
"css.validate": true,
// 补全 CSS 属性时在行尾插入分号
"less.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"less.completion.triggerPropertyValueCompletion": true,
// 参数数目无效。
"less.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"less.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"less.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"less.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"less.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"less.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"less.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"less.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"less.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"less.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"less.lint.important": "ignore",
// import 语句没有并行加载。
"less.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"less.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"less.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"less.lint.unknownAtRules": "warning",
// 未知的属性。
"less.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"less.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"less.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"less.lint.vendorPrefix": "warning",
// 零不需要单位。
"less.lint.zeroUnits": "ignore",
// 启用或禁用所有验证。
"less.validate": true,
// 补全CSS属性时在行尾插入分号
"scss.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"scss.completion.triggerPropertyValueCompletion": true,
// 参数数目无效。
"scss.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"scss.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"scss.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"scss.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"scss.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"scss.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"scss.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"scss.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"scss.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"scss.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"scss.lint.important": "ignore",
// import 语句没有并行加载。
"scss.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"scss.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"scss.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"scss.lint.unknownAtRules": "warning",
// 未知的属性。
"scss.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"scss.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"scss.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"scss.lint.vendorPrefix": "warning",
// 零不需要单位。
"scss.lint.zeroUnits": "ignore",
// 启用或禁用所有验证。
"scss.validate": true,
// 启用后,将自动检查扩展更新。若扩展存在更新,将在“扩展”视图中将其标记为过时扩展。更新将从 Microsoft 联机服务中获取。
"extensions.autoCheckUpdates": true,
// 启用后,将自动安装扩展更新。更新将从 Microsoft 联机服务中获取。
"extensions.autoUpdate": true,
// 启用后,将在离开“扩展”视图时,自动关闭扩展详细信息页面。
"extensions.closeExtensionDetailsOnViewChange": false,
// 当此处列出扩展名时,该扩展名处理URI时将不会显示确认提示。
"extensions.confirmedUriHandlerExtensionIds": [],
// 启用后,将不会显示扩展建议的通知。
"extensions.ignoreRecommendations": false,
// 启用后,除非用户特别进行请求,将不会获取或显示推荐。某些推荐将从 Microsoft 联机服务中获取。
"extensions.showRecommendationsOnlyOnDemand": false,
// 是否在终端允许弦形键绑定。请注意,当此设置为 true,且击键导致出现弦形,则它将绕过 `terminal.integrated.commandsToSkipShell`,因此在你希望使用 Ctrl+k 转到 shell (而不是 VS Code)时将此设置设为 false 非常有用。
"terminal.integrated.allowChords": true,
// 设置后将替代 `terminal.integrated.shell.linux` 并忽略 `shellArgs` 个值的路径,用于与自动化相关的终端使用(如任务和调试)。
"terminal.integrated.automationShell.linux": null,
// 设置后将替代 `terminal.integrated.shell.osx` 并忽略 `shellArgs` 个值的路径,用于与自动化相关的终端使用(如任务和调试)。
"terminal.integrated.automationShell.osx": null,
// 设置后将替代 `terminal.integrated.shell.windows` 并忽略 `shellArgs` 个值的路径,用于与自动化相关的终端使用(如任务和调试)。
"terminal.integrated.automationShell.windows": null,
// 一组命令 ID,其键绑定不会发送到 shell,而是始终由 Code 处理。这样,通常由 shell 使用的键绑定的作用与终端未聚焦时相同,例如 ctrl + p 启动 "快速打开"。
// 默认跳过的命令:- editor.action.toggleTabFocusMode
// - workbench.action.debug.continue
// - workbench.action.debug.pause
// - workbench.action.debug.restart
// - workbench.action.debug.run
// - workbench.action.debug.start
// - workbench.action.debug.stepInto
// - workbench.action.debug.stepOut
// - workbench.action.debug.stepOver
// - workbench.action.debug.stop
// - workbench.action.firstEditorInGroup
// - workbench.action.focusActiveEditorGroup
// - workbench.action.focusEighthEditorGroup
// - workbench.action.focusFifthEditorGroup
// - workbench.action.focusFirstEditorGroup
// - workbench.action.focusFourthEditorGroup
// - workbench.action.focusLastEditorGroup
// - workbench.action.focusSecondEditorGroup
// - workbench.action.focusSeventhEditorGroup
// - workbench.action.focusSixthEditorGroup
// - workbench.action.focusThirdEditorGroup
// - workbench.action.lastEditorInGroup
// - workbench.action.navigateDown
// - workbench.action.navigateLeft
// - workbench.action.navigateRight
// - workbench.action.navigateUp
// - workbench.action.nextPanelView
// - workbench.action.nextSideBarView
// - workbench.action.openNextRecentlyUsedEditorInGroup
// - workbench.action.openPreviousRecentlyUsedEditorInGroup
// - workbench.action.previousPanelView
// - workbench.action.previousSideBarView
// - workbench.action.quickOpen
// - workbench.action.quickOpenPreviousEditor
// - workbench.action.quickOpenView
// - workbench.action.showCommands
// - workbench.action.tasks.build
// - workbench.action.tasks.reRunTask
// - workbench.action.tasks.restartTask
// - workbench.action.tasks.runTask
// - workbench.action.tasks.showLog
// - workbench.action.tasks.showTasks
// - workbench.action.tasks.terminate
// - workbench.action.tasks.test
// - workbench.action.terminal.clear
// - workbench.action.terminal.clearSelection
// - workbench.action.terminal.copySelection
// - workbench.action.terminal.deleteToLineStart
// - workbench.action.terminal.deleteWordLeft
// - workbench.action.terminal.deleteWordRight
// - workbench.action.terminal.findNext
// - workbench.action.terminal.findPrevious
// - workbench.action.terminal.focus
// - workbench.action.terminal.focusAtIndex1
// - workbench.action.terminal.focusAtIndex2
// - workbench.action.terminal.focusAtIndex3
// - workbench.action.terminal.focusAtIndex4
// - workbench.action.terminal.focusAtIndex5
// - workbench.action.terminal.focusAtIndex6
// - workbench.action.terminal.focusAtIndex7
// - workbench.action.terminal.focusAtIndex8
// - workbench.action.terminal.focusAtIndex9
// - workbench.action.terminal.focusFindWidget
// - workbench.action.terminal.focusNext
// - workbench.action.terminal.focusNextPane
// - workbench.action.terminal.focusPrevious
// - workbench.action.terminal.focusPreviousPane
// - workbench.action.terminal.hideFindWidget
// - workbench.action.terminal.kill
// - workbench.action.terminal.moveToLineEnd
// - workbench.action.terminal.moveToLineStart
// - workbench.action.terminal.navigationModeExit
// - workbench.action.terminal.navigationModeFocusNext
// - workbench.action.terminal.navigationModeFocusPrevious
// - workbench.action.terminal.new
// - workbench.action.terminal.newInActiveWorkspace
// - workbench.action.terminal.paste
// - workbench.action.terminal.resizePaneDown
// - workbench.action.terminal.resizePaneLeft
// - workbench.action.terminal.resizePaneRight
// - workbench.action.terminal.resizePaneUp
// - workbench.action.terminal.runActiveFile
// - workbench.action.terminal.runSelectedText
// - workbench.action.terminal.scrollDown
// - workbench.action.terminal.scrollDownPage
// - workbench.action.terminal.scrollToBottom
// - workbench.action.terminal.scrollToNextCommand
// - workbench.action.terminal.scrollToPreviousCommand
// - workbench.action.terminal.scrollToTop
// - workbench.action.terminal.scrollUp
// - workbench.action.terminal.scrollUpPage
// - workbench.action.terminal.selectAll
// - workbench.action.terminal.selectToNextCommand
// - workbench.action.terminal.selectToNextLine
// - workbench.action.terminal.selectToPreviousCommand
// - workbench.action.terminal.selectToPreviousLine
// - workbench.action.terminal.sendSequence
// - workbench.action.terminal.split
// - workbench.action.terminal.splitInActiveWorkspace
// - workbench.action.terminal.toggleFindCaseSensitive
// - workbench.action.terminal.toggleFindRegex
// - workbench.action.terminal.toggleFindWholeWord
// - workbench.action.terminal.toggleTerminal
// - workbench.action.toggleFullScreen
// - workbench.action.toggleMaximizedPanel
// - workbench.action.togglePanel
"terminal.integrated.commandsToSkipShell": [],
// 在存在活动终端会话的情况下,是否在退出时进行确认。
"terminal.integrated.confirmOnExit": false,
// 控制是否将终端中选定的文本复制到剪贴板。
"terminal.integrated.copyOnSelection": false,
// 控制终端光标是否闪烁。
"terminal.integrated.cursorBlinking": false,
// 控制终端光标的样式。
"terminal.integrated.cursorStyle": "block",
// 将在其中启动终端的一个显式起始路径,它用作 shell 进程的当前工作目录(cwd)。当根目录为不方便的 cwd 时,此路径在工作区设置中可能十分有用。
"terminal.integrated.cwd": "",
// 控制是否检测"$LANG"环境变量并将其设置为符合 UTF-8 的选项,因为 VS Code 的终端仅支持来自 shell 的 UTF-8 编码数据。
// - auto: 如果现有变量不存在或不以“.UTF-8”结尾,则设置"$LANG"环境变量。
// - off: 不要设置"$LANG"环境变量。
// - on: 始终设置"$LANG"环境变量。
"terminal.integrated.detectLocale": "auto",
// 控制终端中的粗体文本是否始终使用 ANSI 的“明亮”颜色样式。
"terminal.integrated.drawBoldTextInBrightColors": true,
// 控制终端铃声是否启用。
"terminal.integrated.enableBell": false,
// 是否在终端中启用文件链接。在网络驱动器上工作时,链接速度可能很慢,因为每个文件链接都根据文件系统进行验证。
"terminal.integrated.enableFileLinks": true,
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 Linux 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.linux": {},
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 macOS 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.osx": {},
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 Windows 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.windows": {},
// 将在系统恢复时刷新终端渲染器的实验性设置。
"terminal.integrated.experimentalRefreshOnResume": false,
// 将使用下拉标题的终端标题事件的实验性设置。此设置仅适用于新终端。
"terminal.integrated.experimentalUseTitleEvent": false,
// 控制终端的字体系列,默认为 `editor.fontFamily` 的值。
"terminal.integrated.fontFamily": "",
// 控制终端的字号(以像素为单位)。
"terminal.integrated.fontSize": 14,
// 终端中非粗体字使用的字重。
"terminal.integrated.fontWeight": "normal",
// 终端中粗体字使用的字重。
"terminal.integrated.fontWeightBold": "bold",
// 新 shell 是否应从 VS Code 继承其环境。Windows 上不支持此功能。
"terminal.integrated.inheritEnv": true,
// 控制终端字符的间距。此项的值为整数,表示在字符间添加的额外像素数。
"terminal.integrated.letterSpacing": 0,
// 控制终端的行高,此数字乘上终端字号得到实际行高(以像素为单位)。
"terminal.integrated.lineHeight": 1,
// 在 macOS 中,控制是否在按住 Option 键并单击时进行强制选择。这将强制进行常规 (行) 选择并禁用列选择模式; 同时允许使用常规终端选择来进行复制与粘贴,例如,可在 tmux 启用了鼠标模式时适用。
"terminal.integrated.macOptionClickForcesSelection": false,
// 控制是否在 macOS 终端中,使用 Option 键作为 Meta 键。
"terminal.integrated.macOptionIsMeta": false,
// 若已设置,则每个单元格的前景色将更改为尝试满足指定的对比度。示例值:
//
// - 1: 默认值,不执行任何操作。
// - 4.5: [WCAG AA 合规性](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html)的最低要求。
// - 7: [WCAG AAA 合规性](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast7.html)的最低要求。
// - 21: 黑色背景白字或白色背景黑字。
"terminal.integrated.minimumContrastRatio": 1,
// 控制终端的渲染方式。
// - auto: 让 VS Code 决定要使用的渲染器。
// - canvas: 使用基于 GPU/画布的标准渲染器。
// - dom: 使用基于 DOM 的备用渲染器。
// - experimentalWebgl: 使用基于 WebGL 的实验性渲染器。请注意,此功能存在一些[已知问题](https://github.com/xtermjs/xterm.js/issues?q=is%3Aopen+is%3Aissue+label%3Aarea%2Faddon%2Fwebgl),并且仅能在新终端中启用(不像其他渲染器那样可以热更换)。
"terminal.integrated.rendererType": "auto",
// 控制终端对右键单击的响应方式。
// - default: 显示上下文菜单。
// - copyPaste: 当有内容选中时进行复制,否则进行粘贴。
// - paste: 右键单击粘贴。
// - selectWord: 选择光标下的单词并显示上下文菜单。
"terminal.integrated.rightClickBehavior": "copyPaste",
// 控制终端保持在缓冲区的最大行数。
"terminal.integrated.scrollback": 1000,
// 终端在 Linux 上使用的 shell 的路径(默认: /bin/bash)。[详细了解如何配置 shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shell.linux": null,
// 终端在 macOS 上使用的 shell 的路径(默认: /bin/bash)。[详细了解如何配置 shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shell.osx": null,
// 终端在 Windows 上使用的 shell 的路径(默认: C:\Windows\Sysnative\WindowsPowerShell\v1.0\powershell.exe)。[详细了解如何配置 shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\cmd.exe",
// 在 Linux 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.linux": [],
// 在 macOS 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.osx": [
"-l"
],
// 在 Windows 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.windows": [],
// 当退出代码非零时,控制是否显示“终端进程以某退出代码终止”的警告。
"terminal.integrated.showExitAlert": true,
// 控制拆分终端的初始工作目录。
// - workspaceRoot: 新拆分终端将使用工作区根目录作为工作目录。在多根目录工作区中,可选择要使用的根目录。
// - initial: 新拆分终端将使用父终端起始目录作为工作目录。
// - inherited: 在macOS和Linux上,一个新的分割终端将使用父终端的工作目录。在Windows上,这与初始值相同。
"terminal.integrated.splitCwd": "inherited",
// 是否要将 ConPTY 用于 Windows 终端进程通信(需要 Windows 10 内部版本号 18309+)。如果此为 false,则将使用 Winpty。
"terminal.integrated.windowsEnableConpty": true,
// 控制为所有任务提供程序扩展启用"提供任务"。如果"任务:运行任务"命令速度较慢,则禁用任务提供程序的自动检测可能会有所帮助。单个扩展可以提供设置禁用自动检测。
"task.autoDetect": "on",
// 配置在运行任务时是否显示问题匹配器提示。设置为"true"从不提示,或使用任务类型的字典仅关闭特定任务类型的提示。
"task.problemMatchers.neverPrompt": false,
// 控制是否显示在“运行任务”快速选取中具有详细信息的任务的任务详细信息。
"task.quickOpen.detail": true,
// 控制任务快速打开对话框中跟踪的最近项目数。
"task.quickOpen.history": 30,
// 控制当只有一个任务要选取时是否跳过任务快速选取。
"task.quickOpen.skip": false,
// 配置当提供程序速度较慢时是否显示警告
"task.slowProviderWarning": true,
// 自定义要启动的终端类型。
// - integrated: 使用 VS Code 的集成终端。
// - external: 使用设定的外部终端。
"terminal.explorerKind": "integrated",
// 自定义要在 Linux 上运行的终端。
"terminal.external.linuxExec": "xterm",
// 定义在 macOS 上运行的终端应用程序。
"terminal.external.osxExec": "Terminal.app",
// 自定义要在 Windows 上运行的终端。
"terminal.external.windowsExec": "C:\\Windows\\Sysnative\\cmd.exe",
// 在打开文件时,控制是否在“问题”视图中对其进行定位。
"problems.autoReveal": true,
// 在文件和文件夹上显示错误和警告。
"problems.decorations.enabled": true,
// 启用后,状态栏中将显示当前问题。
"problems.showCurrentInStatus": false,
// 启用/禁用导航路径。
"breadcrumbs.enabled": true,
// 控制是否及如何在“导航路径”视图中显示文件路径。
// - on: 在导航路径视图中显示文件路径。
// - off: 不在导航路径视图中显示文件路径。
// - last: 在导航路径视图中仅显示文件路径的最后一个元素。
"breadcrumbs.filePath": "on",
// 使用图标渲染面包屑导航项。
"breadcrumbs.icons": true,
// 启用后,痕迹导航栏将显示“数组”符号。
"breadcrumbs.showArrays": true,
// 启用后,痕迹导航栏将显示“布尔”符号。
"breadcrumbs.showBooleans": true,
// 启用后,痕迹导航栏显示“类”符号。
"breadcrumbs.showClasses": true,
// 启用后,痕迹导航栏将显示“常量”符号。
"breadcrumbs.showConstants": true,
// 启用后,痕迹符将显示“构造函数”符号。
"breadcrumbs.showConstructors": true,
// 启用后,痕迹导航栏将显示 "enumMember" 符号。
"breadcrumbs.showEnumMembers": true,
// 启用后,痕迹导航栏将显示“枚举”符号。
"breadcrumbs.showEnums": true,
// 启用后,痕迹导航栏将显示“事件”符号。
"breadcrumbs.showEvents": true,
// 启用后,痕迹导航栏将显示“字段”符号。
"breadcrumbs.showFields": true,
// 启用后,痕迹导航栏将显示“文件”符号。
"breadcrumbs.showFiles": true,
// 启用后,痕迹导航栏将显示“函数”符号。
"breadcrumbs.showFunctions": true,
// 启用后,痕迹导航栏将显示“接口”符号。
"breadcrumbs.showInterfaces": true,
// 启用后,痕迹导航栏将显示“键”符号。
"breadcrumbs.showKeys": true,
// 启用后,痕迹导航栏将显示“方法”符号。
"breadcrumbs.showMethods": true,
// 启用后,痕迹导航栏将显示“模块”符号。
"breadcrumbs.showModules": true,
// 启用后,痕迹导航栏将显示“命名空间”符号。
"breadcrumbs.showNamespaces": true,
// 启用后,痕迹导航栏将显示 "null" 符号。
"breadcrumbs.showNull": true,
// 启用后,痕迹导航栏将显示“数字”符号。
"breadcrumbs.showNumbers": true,
// 启用后,痕迹导航栏将显示“对象”符号。
"breadcrumbs.showObjects": true,
// 启用后,痕迹导航栏将显示“运算符”符号。
"breadcrumbs.showOperators": true,
// 启用后,痕迹导航栏将显示“包”符号。
"breadcrumbs.showPackages": true,
// 启用后,痕迹导航栏将显示“属性”符号。
"breadcrumbs.showProperties": true,
// 启用后,痕迹导航栏将显示“字符串”符号。
"breadcrumbs.showStrings": true,
// 启用后,痕迹导航栏将显示“结构”符号。
"breadcrumbs.showStructs": true,
// 启用后,痕迹导航栏将显示 "typeParameter" 符号。
"breadcrumbs.showTypeParameters": true,
// 启用后,痕迹导航栏将显示“变量”符号。
"breadcrumbs.showVariables": true,
// 控制是否及如何在“导航路径”视图中显示符号。
// - on: 在“导航路径”视图中显示所有符号。
// - off: 不在导航路径视图中显示符号。
// - last: 在导航路径视图中仅显示当前符号。
"breadcrumbs.symbolPath": "on",
// 控制“导航路径”大纲视图中符号的排序方式。
// - position: 以文件位置顺序显示符号大纲。
// - name: 以字母顺序显示符号大纲。
// - type: 以符号类型顺序显示符号大纲。
"breadcrumbs.symbolSortOrder": "position",
// 将崩溃报告发送到 Microsoft 联机服务。
// 此选项在重新启动后才能生效。
"telemetry.enableCrashReporter": true,
// 将使用数据和错误发送到 Microsoft 联机服务。
"telemetry.enableTelemetry": true,
// 显示大纲元素的图标。
"outline.icons": true,
// 使用错误和警告的徽章。
"outline.problems.badges": true,
// 使用颜色表示错误和警告。
"outline.problems.colors": true,
// 显示大纲元素上的错误和警告。
"outline.problems.enabled": true,
// 启用后,大纲将显示“数组”符号。
"outline.showArrays": true,
// 启用后,大纲将显示“布尔”符号。
"outline.showBooleans": true,
// 启用后,大纲将显示“类”符号。
"outline.showClasses": true,
// 启用后,大纲将显示“常量”符号。
"outline.showConstants": true,
// 启用大纲时,大纲将显示“构造函数”符号。
"outline.showConstructors": true,
// 启用后,大纲将显示“枚举成员”符号。
"outline.showEnumMembers": true,
// 启用后,大纲将显示“枚举”符号。
"outline.showEnums": true,
// 启用后,大纲将显示“事件”符号。
"outline.showEvents": true,
// 启用时,大纲将显示“字段”符号。
"outline.showFields": true,
// 启用后,大纲将显示“文件”符号。
"outline.showFiles": true,
// 启用时,大纲将显示“函数”符号。
"outline.showFunctions": true,
// 启用后,大纲将显示“接口”符号。
"outline.showInterfaces": true,
// 启用后,大纲将显示“键”符号。
"outline.showKeys": true,
// 启用后,大纲将显示“方法”符号。
"outline.showMethods": true,
// 启用后,大纲将显示“模块”符号。
"outline.showModules": true,
// 启用后,大纲将显示“命名空间”符号。
"outline.showNamespaces": true,
// 启用后,大纲将显示 "null" 符号。
"outline.showNull": true,
// 启用后,大纲将显示“数字”符号。
"outline.showNumbers": true,
// 启用后,大纲将显示“对象”符号。
"outline.showObjects": true,
// 启用时,大纲显示“运算符”符号。
"outline.showOperators": true,
// 启用后,大纲将显示“包”符号。
"outline.showPackages": true,
// 启用后,大纲将显示“属性”符号。
"outline.showProperties": true,
// 启用后,大纲将显示“字符串”符号。
"outline.showStrings": true,
// 启用后,大纲将显示“结构”符号。
"outline.showStructs": true,
// 启用后,大纲将显示 "typeParameter" 符号。
"outline.showTypeParameters": true,
// 启用后,大纲将显示“变量”符号。
"outline.showVariables": true,
// 针对 [css] 语言,配置替代编辑器设置。
"[css]": {
"editor.suggest.insertMode": "replace"
},
// 针对 [git-commit] 语言,配置替代编辑器设置。
"[git-commit]": {
"editor.rulers": [
72
]
},
// 针对 [go] 语言,配置替代编辑器设置。
"[go]": {
"editor.insertSpaces": false
},
// 针对 [handlebars] 语言,配置替代编辑器设置。
"[handlebars]": {
"editor.suggest.insertMode": "replace"
},
// 针对 [html] 语言,配置替代编辑器设置。
"[html]": {
"editor.suggest.insertMode": "replace"
},
// 针对 [json] 语言,配置替代编辑器设置。
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// 针对 [jsonc] 语言,配置替代编辑器设置。
"[jsonc]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// 针对 [less] 语言,配置替代编辑器设置。
"[less]": {
"editor.suggest.insertMode": "replace"
},
// 针对 [makefile] 语言,配置替代编辑器设置。
"[makefile]": {
"editor.insertSpaces": false
},
// 针对 [markdown] 语言,配置替代编辑器设置。
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false
},
// 针对 [scss] 语言,配置替代编辑器设置。
"[scss]": {
"editor.suggest.insertMode": "replace"
},
// 针对 [search-result] 语言,配置替代编辑器设置。
"[search-result]": {
"editor.lineNumbers": "off"
},
// 针对 [shellscript] 语言,配置替代编辑器设置。
"[shellscript]": {
"files.eol": "\n"
},
// 针对 [yaml] 语言,配置替代编辑器设置。
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
// 启用后,扩展将本地下载并安装在远程上。
"remote.downloadExtensionsLocally": false,
// 覆盖扩展的类型。"ui" 扩展在本地计算机上安装和运行,而 "workspace" 扩展则在远程计算机上运行。通过使用此设置重写扩展的默认类型,可指定是否应在本地或远程安装和启用该扩展。
"remote.extensionKind": {
"pub.name": [
"ui"
]
},
// 当 Node.js 从集成终端以调试模式启动时自动附加 Node 调试器
// - disabled: 自动附加被禁用,且不在状态栏中显示。
// - on: 自动附加已启用。
// - off: 自动附加未启用。
"debug.node.autoAttach": "disabled",
// 控制使用 "useWSL" 属性时是否显示警告。
"debug.node.showUseWslIsDeprecatedWarning": true,
// 不应展开 Emmet 缩写的语言数组。
"emmet.excludeLanguages": [
"markdown"
],
// 指向包含 Emmet 配置文件与代码片段的文件夹路径。
"emmet.extensionsPath": null,
// 在默认不支持 Emmet 的语言中启用 Emmet 缩写功能。在此添加该语言与受支持的语言间的映射。
// 示例: `{"vue-html": "html", "javascript": "javascriptreact"}`
"emmet.includeLanguages": {},
// 当设置为 `false` 时,将分析整个文件并确定当前位置能否展开 Emmet 缩写。当设置为 `true` 时,将仅在 CSS/SCSS/LESS 文件中分析当前位置周围的内容。
"emmet.optimizeStylesheetParsing": true,
// 用于修改 Emmet 某些操作和解析程序的行为的首选项。
"emmet.preferences": {},
// 将可能的 Emmet 缩写作为建议进行显示。当在样式表中或 emmet.showExpandedAbbreviation 设置为 `"never"` 时不适用。
"emmet.showAbbreviationSuggestions": true,
// 将展开的 Emmet 缩写作为建议进行显示。
// 若选择 `"inMarkupAndStylesheetFilesOnly"`,将在 html、haml、jade、slim、xml、xsl、css、scss、sass、less 和 stylus 文件中生效。
// 若选择 `"always"`,将在所有适用文件 (不仅仅是标记或 CSS 文件) 的所有部分生效。
"emmet.showExpandedAbbreviation": "always",
// 若为 `true`,Emmet 建议将显示为代码片段。可以在 `editor.snippetSuggestions` 设置中排列其顺序。
"emmet.showSuggestionsAsSnippets": false,
// 为指定的语法定义配置文件或使用带有特定规则的配置文件。
"emmet.syntaxProfiles": {},
// 启用后,按下 TAB 键,将展开 Emmet 缩写。
"emmet.triggerExpansionOnTab": false,
// 用于 Emmet 代码片段的变量
"emmet.variables": {},
// 控制是否启用强制推送 (不论 force 还是 force-with-lease)。
"git.allowForcePush": false,
// 始终显示“暂存的更改”资源组。
"git.alwaysShowStagedChangesResourceGroup": false,
// 控制所有提交的 signoff 标志。
"git.alwaysSignOff": false,
// 启用时,提交将自动从当前Git存储库的默认远程获取。
"git.autofetch": false,
// 在启用 "git.autofetch" 情况下每次自动 git fetch 之间的间隔时间(以秒为单位)。
"git.autofetchPeriod": 180,
// 是否启用自动刷新。
"git.autorefresh": true,
// 配置何时自动检测存储库。
// - true: 扫描当前打开文件夹与当前打开文件所在文件夹的子文件夹。
// - false: 禁止自动扫描存储库。
// - subFolders: 扫描当前打开文件夹的子文件夹。
// - openEditors: 扫描当前打开文件的父文件夹。
"git.autoRepositoryDetection": true,
// 在拉取前暂存所有更改,在成功拉取后还原这些更改。
"git.autoStash": false,
// 控制分支的排列顺序。
"git.branchSortOrder": "committerdate",
// 用于验证新分支名称的正则表达式。
"git.branchValidationRegex": "",
// 在新分支名称中替换空白字符的字符。
"git.branchWhitespaceChar": "-",
// 控制在运行“推送到...”功能时列出的分支类型。
// - all: 显示全部参考文献。
// - local: 只显示本地分支。
// - tags: 仅显示标记。
// - remote: 仅显示远程分支。
"git.checkoutType": "all",
// 始终确认为 "Git: Commit Empty" 命令创建空提交。
"git.confirmEmptyCommits": true,
// 控制在强制推送前是否进行确认。
"git.confirmForcePush": true,
// 同步 Git 存储库前请先进行确认。
"git.confirmSync": true,
// 控制 Git 计数徽章。
// - all: 对所有更改计数。
// - tracked: 仅对跟踪的更改计数。
// - off: 关闭计数器。
"git.countBadge": "all",
// 控制 Git 是否在资源管理器和“打开的编辑器”视图中添加颜色和小标。
"git.decorations.enabled": true,
// 克隆 Git 存储库的默认位置。
"git.defaultCloneDirectory": null,
// 控制是否自动检测 Git 子模块。
"git.detectSubmodules": true,
// 控制可检测到的 Git 子模块的限制。
"git.detectSubmodulesLimit": 10,
// 启用使用 GPG 签名的提交
"git.enableCommitSigning": false,
// 是否启用 Git。
"git.enabled": true,
// 在没有暂存的更改时提交所有更改。
"git.enableSmartCommit": false,
// 控制Git Sync命令是否出现在状态栏中。
"git.enableStatusBarSync": true,
// 在拉取时是抓取所有分支还是仅当前分支。
"git.fetchOnPull": false,
// 要忽略的 Git 存储库列表。
"git.ignoredRepositories": [],
// 忽略“旧版 Git”警告。
"git.ignoreLegacyWarning": false,
// 忽略“存储库中存在大量更改”的警告。
"git.ignoreLimitWarning": false,
// 忽略“缺失 Git”的警告。
"git.ignoreMissingGitWarning": false,
// 控制何时显示提交消息输入验证。
"git.inputValidation": "warn",
// 控制显示提交消息长度警告的长度阈值。
"git.inputValidationLength": 72,
// 控制显示警告的提交消息主题长度阈值。请取消设置它以继承 "config.inputValidationLength" 的值。
"git.inputValidationSubjectLength": 50,
// 控制单击更改时是否应打开差异编辑器。否则将打开常规编辑器。
"git.openDiffOnClick": true,
// Git 可执行文件的路径和文件名。例如: `C:\Program Files\Git\bin\git.exe` (Windows)。
"git.path": null,
// 成功提交后运行 git 命令。
// - none: 提交后不要运行任何命令。
// - push: 成功提交后运行'Git Push'。
// - sync: 成功提交后运行'Git Sync'。
"git.postCommitCommand": "none",
// 控制 Git 是否在提交之前检查未保存的文件。
// - always: 检查是否有任何未保存的文件。
// - staged: 只检查未保存的已暂存文件。
// - never: 禁用此检查。
"git.promptToSaveFilesBeforeCommit": "always",
// 拉取时提取所有标签。
"git.pullTags": true,
// 在运行“同步”命令时,强制 Git 使用“变基”。
"git.rebaseWhenSync": false,
// 在其中搜索 Git 存储库的路径的列表。
"git.scanRepositories": [],
// 控制是否在 Git 更改视图中显示内联“打开文件”操作。
"git.showInlineOpenFileAction": true,
// 控制 Git 操作是否显示进度提示。
"git.showProgress": true,
// 控制在推送成功时是否显示通知。
"git.showPushSuccessNotification": false,
// 控制哪些更改由Smart Commit自动暂存。
// - all: 自动暂存所有更改。
// - tracked: 仅自动暂存跟踪的更改。
"git.smartCommitChanges": "all",
// 建议启用智能提交(在无暂存更改时提交所有更改)。
"git.suggestSmartCommit": true,
// 控制在运行同步操作时是否出现通知,允许用户取消操作。
"git.supportCancellation": false,
// 控制未跟踪的更改的行为。
// - mixed: 所有更改,无论是跟踪的还是未跟踪的,都会一起出现并表现出相同的行为。
// - separate: 未跟踪的更改单独显示在“源代码管理”视图中。它们也被排除在几个操作之外。
// - hidden: 未跟踪的更改被隐藏,并从多个操作中排除。
"git.untrackedChanges": "mixed",
// 控制是否使用更安全的 force-with-lease 进行强制推送。
"git.useForcePushWithLease": true,
// 控制是否自动检测 Grunt 任务。默认开启。
"grunt.autoDetect": "on",
// 控制是否自动检测 Gulp 任务。默认开启。
"gulp.autoDetect": "on",
// 控制是否自动检测 Jake 任务。默认开启。
"jake.autoDetect": "on",
// 是否在解决合并冲突后自动转到下一个合并冲突。
"merge-conflict.autoNavigateNextConflict.enabled": false,
// 为编辑器中的合并冲突区域创建 CodeLens。
"merge-conflict.codeLens.enabled": true,
// 为编辑器中的合并冲突区域创建提示小标。
"merge-conflict.decorators.enabled": true,
// 控件在比较合并冲突中的更改时应在何处打开差异视图。
// - Current: 在当前的编辑器组中打开差异视图。
// - Beside: 在当前编辑器组旁边打开差异视图。
// - Below: 在当前编辑器组下方打开差异视图。
"merge-conflict.diffViewPosition": "Current",
// Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references
// - peek: Show references in peek editor.
// - view: Show references in separate view.
"references.preferredLocation": "peek",
// 控制是否自动检测 npm 脚本。
"npm.autoDetect": "on",
// 从资源管理器上下文菜单中启用运行文件夹中包含的 NPM 脚本。
"npm.enableRunFromFolder": false,
// 在没有顶级 "package.json" 文件时,为 npm 脚本启用资源管理器视图。
"npm.enableScriptExplorer": false,
// 配置应从自动脚本检测中排除的文件夹的 glob 模式。
"npm.exclude": "",
// 从 https://registry.npmjs.org 和 https://registry.bower.io 获取数据,以提供自动补全和 npm 依赖项上的悬停功能信息。
"npm.fetchOnlinePackageInfo": true,
// 用于运行脚本的程序包管理器。
"npm.packageManager": "npm",
// 使用 `--silent` 选项运行 npm 命令。
"npm.runSilent": false,
// npm 脚本资源管理器中使用的默认单击操作:"打开"或"运行",默认值为"打开"。
"npm.scriptExplorerAction": "open",
// 装饰器的背景色. 使用 rgba() 并定义透明背景颜色以与其他装饰一起使用. 例如: rgba(21, 126, 251, 0.1)
"bookmarks.backgroundLineColor": "",
// 自定义书签图标的图片路径
"bookmarks.gutterIconPath": "",
// 允许导航查找项目中所有文件中的书签,而不仅仅是当前的书签
"bookmarks.navigateThroughAllFiles": false,
// 允许书签保存(恢复)在本地
"bookmarks.saveBookmarksInProject": false,
// Specifies whether Bookmarks commands are displayed on the context menu
"bookmarks.showCommandsInContextMenu": true,
// Specifies wheher the Side Bar show be displayed expanded
"bookmarks.sideBar.expanded": false,
// 启用对于使用像 Prettier 这样的格式化工具的一个解决方案,格式化会使得扩展不会收到文件变更通知并且会扰乱书签的定位
"bookmarks.useWorkaroundForFormatters": false,
// 允许导航环绕范围中的第一个和最后一个书签(当前文件或所有文件)
"bookmarks.wrapNavigation": true,
// For import command. The declaration type used for require()
"npm-intellisense.importDeclarationType": "const",
// For import command. Use import statements instead of require()
"npm-intellisense.importES6": true,
// For import command. The linebreak used after the snippet
"npm-intellisense.importLinebreak": ";\r\n",
// For import command. The type of quotes to use in the snippet
"npm-intellisense.importQuotes": "'",
// (experimental) Enables path intellisense in subfolders of modules
"npm-intellisense.packageSubfoldersIntellisense": false,
// Look for package.json inside nearest directory instead of workspace root
"npm-intellisense.recursivePackageJsonLookup": true,
// Scans devDependencies as well
"npm-intellisense.scanDevDependencies": false,
// shows build in node modules like 'path' of 'fs'
"npm-intellisense.showBuildInLibs": false,
// CSS for the active scope. Use {color} to match the bracket color. The string types listed at https://code.visualstudio.com/docs/extensionAPI/vscode-api#DecorationRenderOptions can be used
"bracketPairColorizer.activeScopeCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}; opacity: 0.5"
],
// Should different brackets share a color group (Consecutive), or use their own color group (Independent)
"bracketPairColorizer.colorMode": "Consecutive",
// Define paired characters and their shared color group
"bracketPairColorizer.consecutivePairColors": [
"()",
"[]",
"{}",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
// Don't colorize files of these languages
"bracketPairColorizer.excludedLanguages": [],
// Should opening brackets iterate the color cycle even if they are not nested
"bracketPairColorizer.forceIterationColorCycle": false,
// Ensure that an opening brackets color does not match a previous brackets color
"bracketPairColorizer.forceUniqueOpeningColor": false,
// Should the active scope brackets always be highlighted? Recommended to disable editor.matchBrackets if using this feature.
"bracketPairColorizer.highlightActiveScope": false,
// Define paired characters and their color groups
"bracketPairColorizer.independentPairColors": [
[
"()",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
[
"[]",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
[
"{}",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
]
],
// Show active bracket scope in ruler?
"bracketPairColorizer.rulerPosition": "Center",
// CSS for the scope line. Use {color} to match the bracket color. The string types listed at https://code.visualstudio.com/docs/extensionAPI/vscode-api#DecorationRenderOptions can be used
"bracketPairColorizer.scopeLineCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}; opacity: 0.5"
],
// True: Scope Line will start from the ending bracket position. False: Scope Line will always be at column 0
"bracketPairColorizer.scopeLineRelativePosition": true,
// Show active bracket scope in gutter?
"bracketPairColorizer.showBracketsInGutter": false,
// Show active bracket scope in ruler?
"bracketPairColorizer.showBracketsInRuler": false,
// Show a horizontal line to create a block around the active bracket scope?
"bracketPairColorizer.showHorizontalScopeLine": true,
// Show a vertical line on the left side of the editor representing the active bracket scope?
"bracketPairColorizer.showVerticalScopeLine": true,
// How long the user should idle for, before the document is colorized. Set to 0 to disable
"bracketPairColorizer.timeOut": 200,
// A path to file containing the configuration options for jshint. If the file exists it overrides jshint.options and any .jshintrc file
"jshint.config": null,
// Control whether or not jshint is enabled for JavaScript files.
"jshint.enable": true,
// Matching files and directories are being ignored by jshint. Glob patterns are interpreted relative to the workspace's root folder.
"jshint.exclude": {},
// A path to a file containing patterns describing which files and directories should be ignored by jshint. If the file exists it overrides jshint.exclude and any .jshintignore file.
"jshint.excludePath": null,
// Lint JavaScript embedded in HTML
"jshint.lintHTML": false,
// Configures the path to the jshint module. Can be an absolute path or relative to the current directory.
"jshint.nodePath": "",
// The jshint options object to provide args to the jshint command.
"jshint.options": {},
// The package manager you use to install node modules.
"jshint.packageManager": "npm",
// Report warnings as errors
"jshint.reportWarningsAsErrors": false,
// Traces the communication between VS Code and the jshint linter service.
"jshint.trace.server": "off",
// Always show the ESlint status bar item.
"eslint.alwaysShowStatus": false,
// The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member.
// Turns auto fix on save on or off.
"eslint.autoFixOnSave": true,
//
"eslint.codeAction.disableRuleComment": {
"enable": true,
"location": "separateLine"
},
//
"eslint.codeAction.showDocumentation": {
"enable": true
},
// Specifies the code action mode. Possible values are 'all' and 'problems'.
// - all: Fixes all possible problems in the file. This option might take some time.
// - problems: Only fixes reported problems that have non overlapping textual edits. This options runs a lot faster.
"eslint.codeActionsOnSave.mode": "all",
// Enables ESLint debug mode (same as --debug on the command line)
"eslint.debug": false,
// Controls whether eslint is enabled for JavaScript files or not.
"eslint.enable": true,
// Enables ESLint as a formatter.
"eslint.format.enable": false,
// Controls whether a task for linting the whole workspace will be available.
"eslint.lintTask.enable": false,
// Command line options applied when running the task for linting the whole workspace (see https://eslint.org/docs/user-guide/command-line-interface).
"eslint.lintTask.options": ".",
// Whether ESlint should migrate auto fix on save settings.
"eslint.migration.2_x": "on",
// A path added to NODE_PATH when resolving the eslint module.
"eslint.nodePath": null,
// Whether ESLint should issue a warning on ignored files.
"eslint.onIgnoredFiles": "off",
// The eslint options object to provide args normally passed to eslint when executed from a command line (see http://eslint.org/docs/developer-guide/nodejs-api#cliengine).
"eslint.options": {},
// The package manager you use to install node modules.
"eslint.packageManager": "npm",
// An array of language ids for which the extension should probe if support is installed.
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue"
],
// This option is deprecated. Use eslint.lintTask.enable instead.
// Controls whether a task for linting the whole workspace will be available.
"eslint.provideLintTask": false,
// Turns on quiet mode, which ignores warnings.
"eslint.quiet": false,
// Run the linter on save (onSave) or on type (onType)
"eslint.run": "onType",
// The location of the node binary to run ESLint under.
"eslint.runtime": null,
// Traces the communication between VSCode and the eslint linter service.
"eslint.trace.server": "off",
// An array of language ids which should be validated by ESLint. If not installed ESLint will show an error.
"eslint.validate": [],
//
"eslint.workingDirectories": [],
// Avatar image cache expiration (0 = cache disabled)
"gitHistory.avatarCacheExpiration": 60,
// Whether to display the commit explorer view
"gitHistory.hideCommitViewExplorer": false,
// Output log information
"gitHistory.logLevel": "None",
// Default number of items to be displayed in Git History Viewer
"gitHistory.pageSize": 100,
// Whether to display a button in the editor title menu bar
"gitHistory.showEditorTitleMenuBarIcons": true,
// Specifies the length of abbreviated commit ids (shas)
"gitlens.advanced.abbreviatedShaLength": "7",
// Specifies additional arguments to pass to the `git blame` command
"gitlens.advanced.blame.customArguments": null,
// Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait
"gitlens.advanced.blame.delayAfterEdit": 5000,
// Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum
"gitlens.advanced.blame.sizeThresholdAfterEdit": 5000,
// Specifies whether git output will be cached — changing the default is not recommended
"gitlens.advanced.caching.enabled": true,
// Specifies whether file histories will follow renames — will affect how merge commits are shown in histories
"gitlens.advanced.fileHistoryFollowsRenames": true,
// Specifies the maximum number of items to show in a list. Use 0 to specify no maximum
"gitlens.advanced.maxListItems": 200,
// Specifies the maximum number of items to show in a search. Use 0 to specify no maximum
"gitlens.advanced.maxSearchItems": 200,
// Specifies which messages should be suppressed
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitDisabledWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressSupportGitLensNotification": false
},
// Specifies whether to dismiss quick pick menus when focus is lost (if not, press `ESC` to dismiss)
"gitlens.advanced.quickPick.closeOnFocusOut": true,
// Specifies how many folders deep to search for repositories
"gitlens.advanced.repositorySearchDepth": 1,
// Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename
"gitlens.advanced.similarityThreshold": null,
// Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting
"gitlens.advanced.telemetry.enabled": true,
// Specifies whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisons. See the [Git docs](https://git-scm.com/docs/gitrevisions#_dotted_range_notations)
"gitlens.advanced.useSymmetricDifferenceNotation": true,
// Specifies autolinks to external resources in commit messages. Use <num> as the variable for the reference number
"gitlens.autolinks": [],
// Specifies whether to show avatar images in the gutter blame annotations
"gitlens.blame.avatars": true,
// Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations
"gitlens.blame.compact": true,
// Specifies how to format absolute dates (e.g. using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats
"gitlens.blame.dateFormat": null,
// Specifies the format of the gutter blame annotations. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.blame.dateFormat` setting
"gitlens.blame.format": "${message|40?} ${agoOrDate|14-}",
// Specifies whether to provide a heatmap indicator in the gutter blame annotations
"gitlens.blame.heatmap.enabled": true,
// Specifies where the heatmap indicators will be shown in the gutter blame annotations
// - left: Adds a heatmap indicator on the left edge of the gutter blame annotations
// - right: Adds a heatmap indicator on the right edge of the gutter blame annotations
"gitlens.blame.heatmap.location": "right",
// Specifies whether to highlight lines associated with the current line
"gitlens.blame.highlight.enabled": true,
// Specifies where the associated line highlights will be shown
"gitlens.blame.highlight.locations": [
"gutter",
"line",
"overview"
],
// Specifies whether to ignore whitespace when comparing revisions during blame operations
"gitlens.blame.ignoreWhitespace": false,
// Specifies whether gutter blame annotations will be separated by a small gap
"gitlens.blame.separateLines": true,
// Specifies how the gutter blame annotations will be toggled
// - file: Toggles each file individually
// - window: Toggles the window, i.e. all files at once
"gitlens.blame.toggleMode": "file",
// Specifies the command to be executed when an _authors_ code lens is clicked
// - gitlens.toggleFileBlame: Toggles file blame annotations
// - gitlens.diffWithPrevious: Compares the current committed file with the previous commit
// - gitlens.revealCommitInView: Reveals the commit in the Repositories view
// - gitlens.showCommitsInView: Shows the commits within the range in the Search Commits view
// - gitlens.showQuickCommitDetails: Shows a commit details quick pick
// - gitlens.showQuickCommitFileDetails: Shows a commit file details quick pick
// - gitlens.showQuickFileHistory: Shows a file history quick pick
// - gitlens.showQuickRepoHistory: Shows a branch history quick pick
"gitlens.codeLens.authors.command": "gitlens.toggleFileBlame",
// Specifies whether to provide an _authors_ code lens, showing number of authors of the file or code block and the most prominent author (if there is more than one)
"gitlens.codeLens.authors.enabled": true,
// Specifies whether to provide any Git code lens, by default. Use the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window
"gitlens.codeLens.enabled": true,
// Specifies whether to provide any Git code lens on symbols that span only a single line
"gitlens.codeLens.includeSingleLineSymbols": false,
// Specifies the command to be executed when a _recent change_ code lens is clicked
// - gitlens.toggleFileBlame: Toggles file blame annotations
// - gitlens.diffWithPrevious: Compares the current committed file with the previous commit
// - gitlens.revealCommitInView: Reveals the commit in the Repositories view
// - gitlens.showCommitsInView: Shows the commit in the Search Commits view
// - gitlens.showQuickCommitDetails: Shows a commit details quick pick
// - gitlens.showQuickCommitFileDetails: Shows a commit file details quick pick
// - gitlens.showQuickFileHistory: Shows a file history quick pick
// - gitlens.showQuickRepoHistory: Shows a branch history quick pick
"gitlens.codeLens.recentChange.command": "gitlens.showQuickCommitFileDetails",
// Specifies whether to provide a _recent change_ code lens, showing the author and date of the most recent commit for the file or code block
"gitlens.codeLens.recentChange.enabled": true,
// Specifies where Git code lens will be shown in the document
"gitlens.codeLens.scopes": [
"document",
"containers"
],
// Specifies where Git code lens will be shown in the document for the specified languages
"gitlens.codeLens.scopesByLanguage": [
{
"language": "azure-pipelines",
"scopes": [
"document"
]
},
{
"language": "ansible",
"scopes": [
"document"
]
},
{
"language": "css",
"scopes": [
"document"
]
},
{
"language": "html",
"scopes": [
"document"
]
},
{
"language": "json",
"scopes": [
"document"
]
},
{
"language": "jsonc",
"scopes": [
"document"
]
},
{
"language": "less",
"scopes": [
"document"
]
},
{
"language": "postcss",
"scopes": [
"document"
]
},
{
"language": "python",
"symbolScopes": [
"!Module"
]
},
{
"language": "scss",
"scopes": [
"document"
]
},
{
"language": "stylus",
"scopes": [
"document"
]
},
{
"language": "vue",
"scopes": [
"document"
]
},
{
"language": "yaml",
"scopes": [
"document"
]
}
],
// Specifies a set of document symbols where Git code lens will or will not be shown in the document. Prefix with `!` to avoid providing a Git code lens for the symbol. Must be a member of `SymbolKind`
"gitlens.codeLens.symbolScopes": [],
// Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats
"gitlens.currentLine.dateFormat": null,
// Specifies whether to provide a blame annotation for the current line, by default. Use the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window
"gitlens.currentLine.enabled": true,
// Specifies the format of the current line blame annotation. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.currentLine.dateFormat` setting
"gitlens.currentLine.format": "${author}, ${agoOrDate} • ${message}",
// Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport
"gitlens.currentLine.scrollable": true,
// Specifies debug mode
"gitlens.debug": false,
// Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats
"gitlens.defaultDateFormat": null,
// Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats
"gitlens.defaultDateShortFormat": null,
// Specifies whether commit dates should use the authored or committed date
// - authored: Uses the date when the changes were authored (i.e. originally written)
// - committed: Uses the date when the changes were committed
"gitlens.defaultDateSource": "authored",
// Specifies how dates will be displayed by default
// - relative: e.g. 1 day ago
// - absolute: e.g. July 25th, 2018 7:18pm
"gitlens.defaultDateStyle": "relative",
// Specifies the style of the gravatar default (fallback) images
// - identicon: A geometric pattern
// - mp: A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
// - monsterid: A monster with different colors, faces, etc
// - retro: 8-bit arcade-style pixelated faces
// - robohash: A robot with different colors, faces, etc
// - wavatar: A face with differing features and backgrounds
"gitlens.defaultGravatarsStyle": "robohash",
// Specifies whether to dismiss the Git Commands menu when focus is lost (if not, press `ESC` to dismiss)
"gitlens.gitCommands.closeOnFocusOut": false,
// Specifies whether to match all or any commit message search patterns
"gitlens.gitCommands.search.matchAll": false,
// Specifies whether to match commit search patterns with or without regard to casing
"gitlens.gitCommands.search.matchCase": false,
// Specifies whether to match commit search patterns using regular expressions
"gitlens.gitCommands.search.matchRegex": true,
// Specifies whether to show the commit search results in the _Search Commits_ view or directly within the quick pick menu
"gitlens.gitCommands.search.showResultsInView": true,
// Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu|command)`
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"stash-push:command",
"switch:command"
],
// Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor`)
"gitlens.heatmap.ageThreshold": "90",
// Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` value
"gitlens.heatmap.coldColor": "#0a60f6",
// Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` value
"gitlens.heatmap.hotColor": "#f66a0a",
// Specifies how the gutter heatmap annotations will be toggled
// - file: Toggles each file individually
// - window: Toggles the window, i.e. all files at once
"gitlens.heatmap.toggleMode": "file",
// Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations
"gitlens.hovers.annotations.changes": true,
// Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations
"gitlens.hovers.annotations.details": true,
// Specifies whether to provide any hovers when showing blame annotations
"gitlens.hovers.annotations.enabled": true,
// Specifies when to trigger hovers when showing blame annotations
// - annotation: Only shown when hovering over the line annotation
// - line: Shown when hovering anywhere over the line
"gitlens.hovers.annotations.over": "line",
// Specifies whether to show avatar images in hovers
"gitlens.hovers.avatars": true,
// Specifies whether to show just the changes to the line or the set of related changes in the _changes (diff)_ hover
// - line: Shows only the changes to the line
// - hunk: Shows the set of related changes
"gitlens.hovers.changesDiff": "line",
// Specifies whether to provide a _changes (diff)_ hover for the current line
"gitlens.hovers.currentLine.changes": true,
// Specifies whether to provide a _commit details_ hover for the current line
"gitlens.hovers.currentLine.details": true,
// Specifies whether to provide any hovers for the current line
"gitlens.hovers.currentLine.enabled": true,
// Specifies when to trigger hovers for the current line
// - annotation: Only shown when hovering over the line annotation
// - line: Shown when hovering anywhere over the line
"gitlens.hovers.currentLine.over": "annotation",
// Specifies the format (in markdown) of the _commit details_ hover. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs
"gitlens.hovers.detailsMarkdownFormat": "${avatar} &nbsp;__${author}__, ${ago} &nbsp; _(${date})_ \n\n${message}\n\n${commands}",
// Specifies whether to provide any hovers
"gitlens.hovers.enabled": true,
// Specifies whether to enable experimental features
"gitlens.insiders": false,
// Specifies the keymap to use for GitLens shortcut keys
// - alternate: Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)
// - chorded: Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)
// - none: No shortcut keys will be added
"gitlens.keymap": "chorded",
// Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share
"gitlens.liveshare.allowGuestAccess": true,
// Specifies which commands will be added to which menus
"gitlens.menus": {
"editor": {
"blame": false,
"clipboard": true,
"compare": true,
"details": false,
"history": false,
"remote": false
},
"editorGroup": {
"blame": true,
"compare": true
},
"editorTab": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true
},
"explorer": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true
},
"scmGroup": {
"compare": true,
"openClose": true,
"stash": true,
"stashInline": true
},
"scmItem": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true,
"stash": true
}
},
// Specifies the active GitLens mode, if any
"gitlens.mode.active": "",
// Specifies the active GitLens mode alignment in the status bar
// - left: Aligns to the left
// - right: Aligns to the right
"gitlens.mode.statusBar.alignment": "right",
// Specifies whether to provide the active GitLens mode in the status bar
"gitlens.mode.statusBar.enabled": true,
// Specifies the user-defined GitLens modes
"gitlens.modes": {
"zen": {
"name": "Zen",
"statusBarItemName": "Zen",
"description": "for a zen-like experience, disables many visual features",
"codeLens": false,
"currentLine": false,
"hovers": false,
"statusBar": false
},
"review": {
"name": "Review",
"statusBarItemName": "Reviewing",
"description": "for reviewing code, enables many visual features",
"codeLens": true,
"currentLine": true,
"hovers": true
}
},
// Specifies how much (if any) output will be sent to the GitLens output channel
// - silent: Logs nothing
// - errors: Logs only errors
// - verbose: Logs all errors, warnings, and messages
// - debug: Logs all errors, warnings, and messages with extra context useful for debugging
"gitlens.outputLevel": "errors",
// Specifies where the highlights of the recently changed lines will be shown
"gitlens.recentChanges.highlight.locations": [
"gutter",
"line",
"overview"
],
// Specifies how the recently changed lines annotations will be toggled
// - file: Toggles each file individually
// - window: Toggles the window, i.e. all files at once
"gitlens.recentChanges.toggleMode": "file",
// Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services
"gitlens.remotes": null,
// Specifies whether to show What's New after upgrading to new feature releases
"gitlens.showWhatsNewAfterUpgrades": true,
// Specifies how branches are sorted in quick pick menus and views
// - name:desc: Sorts branches by name in descending order
// - name:asc: Sorts branches by name in ascending order
// - date:desc: Sorts branches by the most recent commit date in descending order
// - date:asc: Sorts branches by the most recent commit date in ascending order
"gitlens.sortBranchesBy": "name:desc",
// Specifies how tags are sorted in quick pick menus and views
// - name:desc: Sorts tags by name in descending order
// - name:asc: Sorts tags by name in ascending order
// - date:desc: Sorts tags by date in descending order
// - date:asc: Sorts tags by date in ascending order
"gitlens.sortTagsBy": "name:desc",
// Specifies the blame alignment in the status bar
// - left: Aligns to the left
// - right: Aligns to the right
"gitlens.statusBar.alignment": "right",
// Specifies the command to be executed when the blame status bar item is clicked
// - gitlens.toggleFileBlame: Toggles file blame annotations
// - gitlens.diffWithPrevious: Compares the current line commit with the previous
// - gitlens.diffWithWorking: Compares the current line commit with the working tree
// - gitlens.toggleCodeLens: Toggles Git code lens
// - gitlens.revealCommitInView: Reveals the commit in the Repositories view
// - gitlens.showCommitsInView: Shows the commit in the Search Commits view
// - gitlens.showQuickCommitDetails: Shows a commit details quick pick
// - gitlens.showQuickCommitFileDetails: Shows a commit file details quick pick
// - gitlens.showQuickFileHistory: Shows a file history quick pick
// - gitlens.showQuickRepoHistory: Shows a branch history quick pick
"gitlens.statusBar.command": "gitlens.showQuickCommitDetails",
// Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats
"gitlens.statusBar.dateFormat": null,
// Specifies whether to provide blame information in the status bar
"gitlens.statusBar.enabled": true,
// Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.statusBar.dateFormat` setting
"gitlens.statusBar.format": "${author}, ${agoOrDate}",
// Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar "flashing"
"gitlens.statusBar.reduceFlicker": false,
// Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes
"gitlens.strings.codeLens.unsavedChanges.authorsOnly": "Unsaved changes (cannot determine authors)",
// Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes
"gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": "Unsaved changes (cannot determine recent change or authors)",
// Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes
"gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": "Unsaved changes (cannot determine recent change)",
// Specifies the description format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs
"gitlens.views.commitDescriptionFormat": "${changes • }${author}, ${agoOrDate}",
// Specifies the description format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.commitFileDescriptionFormat": "${directory}${ ← originalPath}",
// Specifies the format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.commitFileFormat": "${file}",
// Specifies the format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs
"gitlens.views.commitFormat": "${❰ tips ❱➤ }${message}",
// Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view
"gitlens.views.compare.avatars": true,
// Specifies whether to show the _Compare_ view
"gitlens.views.compare.enabled": true,
// Specifies whether to compact (flatten) unnecessary file nesting in the _Compare_ view. Only applies when `gitlens.views.compare.files.layout` is set to `tree` or `auto`
"gitlens.views.compare.files.compact": true,
// Specifies how the _Compare_ view will display files
// - auto: Automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.compare.files.threshold` value and the number of files at each nesting level
// - list: Displays files as a list
// - tree: Displays files as a tree
"gitlens.views.compare.files.layout": "auto",
// Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Compare_ view. Only applies when `gitlens.views.compare.files.layout` is set to `auto`
"gitlens.views.compare.files.threshold": 5,
// Specifies where to show the _Compare_ view
// - gitlens: Adds to the GitLens side bar
// - explorer: Adds to the Explorer side bar
// - scm: Adds to the Source Control side bar
"gitlens.views.compare.location": "gitlens",
// Specifies the default number of items to show in a view list. Use 0 to specify no limit
"gitlens.views.defaultItemLimit": 10,
// Specifies whether to show avatar images instead of status icons in the _File History_ view
"gitlens.views.fileHistory.avatars": true,
// Specifies whether to show the _File History_ view
"gitlens.views.fileHistory.enabled": true,
// Specifies where to show the _File History_ view
// - gitlens: Adds to the GitLens side bar
// - explorer: Adds to the Explorer side bar
// - scm: Adds to the Source Control side bar
"gitlens.views.fileHistory.location": "gitlens",
// Specifies whether to show avatar images instead of status icons in the _Line History_ view
"gitlens.views.lineHistory.avatars": true,
// Specifies whether to show the _Line History_ view
"gitlens.views.lineHistory.enabled": true,
// Specifies where to show the _Line History_ view
// - gitlens: Adds to the GitLens side bar
// - explorer: Adds to the Explorer side bar
// - scm: Adds to the Source Control side bar
"gitlens.views.lineHistory.location": "gitlens",
// Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit
"gitlens.views.pageItemLimit": 20,
// Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes
"gitlens.views.repositories.autoRefresh": true,
// Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files
"gitlens.views.repositories.autoReveal": true,
// Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view
"gitlens.views.repositories.avatars": true,
// Specifies how the _Repositories_ view will display branches
// - list: Displays branches as a list
// - tree: Displays branches as a tree when branch names contain slashes `/`
"gitlens.views.repositories.branches.layout": "tree",
// Specifies whether to show the _Repositories_ view in a compact display density
"gitlens.views.repositories.compact": false,
// Specifies whether to show the _Repositories_ view
"gitlens.views.repositories.enabled": true,
// Specifies whether to compact (flatten) unnecessary file nesting in the _Repositories_ view. Only applies when `gitlens.views.repositories.files.layout` is set to `tree` or `auto`
"gitlens.views.repositories.files.compact": true,
// Specifies how the _Repositories_ view will display files
// - auto: Automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.repositories.files.threshold` value and the number of files at each nesting level
// - list: Displays files as a list
// - tree: Displays files as a tree
"gitlens.views.repositories.files.layout": "auto",
// Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Repositories_ view. Only applies when `gitlens.views.repositories.files.layout` is set to `auto`
"gitlens.views.repositories.files.threshold": 5,
// Specifies whether to include working tree file status for each repository in the _Repositories_ view
"gitlens.views.repositories.includeWorkingTree": true,
// Specifies where to show the _Repositories_ view
// - gitlens: Adds to the GitLens side bar
// - explorer: Adds to the Explorer side bar
// - scm: Adds to the Source Control side bar
"gitlens.views.repositories.location": "gitlens",
// Specifies whether to show a comparison of a user-selected reference (branch, tag. etc) to the current branch or the working tree in the _Repositories_ view
"gitlens.views.repositories.showBranchComparison": "working",
// Specifies whether to show the tracking branch when displaying local branches in the _Repositories_ view
"gitlens.views.repositories.showTrackingBranch": true,
// Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view
"gitlens.views.search.avatars": true,
// Specifies whether to show the _Search Commits_ view
"gitlens.views.search.enabled": true,
// Specifies whether to compact (flatten) unnecessary file nesting in the _Search Commits_ view. Only applies when `gitlens.views.search.files.layout` is set to `tree` or `auto`
"gitlens.views.search.files.compact": true,
// Specifies how the _Search Commits_ view will display files
// - auto: Automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.search.files.threshold` value and the number of files at each nesting level
// - list: Displays files as a list
// - tree: Displays files as a tree
"gitlens.views.search.files.layout": "auto",
// Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Search Commits_ view. Only applies when `gitlens.views.search.files.layout` is set to `auto`
"gitlens.views.search.files.threshold": 5,
// Specifies where to show the _Search Commits_ view
// - gitlens: Adds to the GitLens side bar
// - explorer: Adds to the Explorer side bar
// - scm: Adds to the Source Control side bar
"gitlens.views.search.location": "gitlens",
// Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views
"gitlens.views.showRelativeDateMarkers": true,
// Specifies the description format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs
"gitlens.views.stashDescriptionFormat": "${changes • }${agoOrDate}",
// Specifies the description format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.stashFileDescriptionFormat": "${directory}${ ← originalPath}",
// Specifies the format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.stashFileFormat": "${file}",
// Specifies the format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs
"gitlens.views.stashFormat": "${message}",
// Specifies the description format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.statusFileDescriptionFormat": "${directory}${ ← originalPath}",
// Specifies the format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs
"gitlens.views.statusFileFormat": "${working }${file}",
// A list of style sheet file extensions you want the extension to look for.
"css.fileExtensions": [
"css",
"scss"
],
// A list of remote style sheets.
"css.remoteStyleSheets": [],
// Always show rule failures as warnings, independent of the tslint configuration.
"tslint.alwaysShowRuleFailuresAsWarnings": false,
// Always show the TSlint status bar item, not only when there are errors or warnings.
"tslint.alwaysShowStatus": false,
// Turns auto fix on save on or off, or defines which rules (e.g. `no-var-keyword`) to auto fix on save.
"tslint.autoFixOnSave": false,
// The path to the rules configuration file
"tslint.configFile": "",
// Control whether tslint is enabled for TypeScript files or not.
"tslint.enable": true,
// Configure glob patterns of file paths to exclude from linting
"tslint.exclude": "",
// Control if TypeScript definition files should be ignored
"tslint.ignoreDefinitionFiles": true,
// Control whether tslint is enabled for JavaScript files or not.
"tslint.jsEnable": false,
// A path added to NODE_PATH when resolving the tslint module.
"tslint.nodePath": "",
// The package manager to use to locate the tslint module.
"tslint.packageManager": "npm",
// An additional rules directory
"tslint.rulesDirectory": "",
// Run the linter on save (onSave) or on type (onType)
"tslint.run": "onType",
// Traces the communication between VSCode and the tslint linter service.
"tslint.trace.server": "off",
// Always show rule failures as warnings, independent of the tslint configuration.
"tslint.typeCheck": false,
// Validate a file when there is only a default tslint configuration is found
"tslint.validateWithDefaultConfig": false,
// If end attrs width '>' when break_attr_limit.(当break_attr_limit时,attrs 后边是否跟随‘>’, 即是否不把标签的括号换行。依赖break_attr_limit > -1 时生效)
"vue-format.attr_end_with_gt": true,
// Break attributes when tag's attributes.length > this number, no break when -1. (tag 的 attrs 大于该数值时,强制 attrs 换行,-1时不换行)
"vue-format.break_attr_limit": -1,
// List of format, default ["html", "js", "css"].(需要格式化的语言,默认["html", "js", "css"])
"vue-format.format_need": [
"html",
"js",
"css"
],
// If indent the root-tag in .vue's template(是否缩进vue组件template中的根节点)
"vue-format.html_indent_root": false,
// The config use some js-beautify options, see js-beautify.(使用js-beautify配置项,详情查看js-beautify)
"vue-format.js-beautify": {
"indent_size": "editor.tabSize",
"indent_char": " ",
"indent_with_tabs": false,
"brace-style": "collapse",
"space_after_anon_function": true,
"css": {},
"js": {},
"html": {
"force_format": [
"template"
]
}
},
// The config use some pug-beautify options, see pug-beautify.(使用pug-beautify配置项,详情查看pug-beautify)
"vue-format.pug-beautify": {
"fill_tab": false
},
// A path to a file, or an object containing the configuration options for js-beautify. If the .jsbeautifyrc file exists in project root, it overrides this configuration.
"beautify.config": null,
// List of paths to ignore when using VS Code format command, including format on save. Uses glob pattern matching.
"beautify.ignore": [],
// Link file types to the beautifier type
"beautify.language": {
"js": {
"type": [
"javascript",
"json",
"jsonc"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [
"css",
"less",
"scss"
],
"html": [
"htm",
"html"
]
},
// Include completion for module export and auto import them
"vetur.completion.autoImport": true,
// Where Vetur source Scaffold Snippets from and how to indicate them. Set a source to "" to disable it.
//
// - workspace: `<WORKSPACE>/.vscode/vetur/snippets`.
// - user: `<USER-DATA-DIR>/User/snippets/vetur`.
// - vetur: Bundled in Vetur.
//
// The default is:
// ```
// "vetur.completion.scaffoldSnippetSources": {
// "workspace": "💼",
// "user": "🗒️",
// "vetur": "✌"
// }
// ```
//
// Alternatively, you can do:
//
// ```
// "vetur.completion.scaffoldSnippetSources": {
// "workspace": "(W)",
// "user": "(U)",
// "vetur": "(V)"
// }
// ```
//
// Read more: https://vuejs.github.io/vetur/snippet.html.
"vetur.completion.scaffoldSnippetSources": {
"workspace": "💼",
"user": "🗒️",
"vetur": "✌"
},
// Casing conversion for tag completion
// - initial: use the key in `components: {...}` as is for tag completion and do not force any casing
// - kebab: kebab-case completion for <my-tag>
"vetur.completion.tagCasing": "kebab",
// Log level for VLS
// - INFO: Only log info messages. This is the default.
// - DEBUG: Log info and debug messages.
"vetur.dev.logLevel": "INFO",
// Path to VLS for Vetur developers. There are two ways of using it.
//
// 1. Clone vuejs/vetur from GitHub, build it and point it to the ABSOLUTE path of `/server`.
// 2. `yarn global add vue-language-server` and point Vetur to the installed location (`yarn global dir` + node_modules/vue-language-server)
"vetur.dev.vlsPath": "",
// The port that VLS listens to. Can be used for attaching to the VLS Node process for debugging / profiling.
"vetur.dev.vlsPort": -1,
// Enable template interpolation service that offers diagnostics / hover / definition / references.
"vetur.experimental.templateInterpolationService": false,
// Default formatter for <style> region
// - none: disable formatting
// - prettier: css formatter using css parser from prettier
"vetur.format.defaultFormatter.css": "prettier",
// Default formatter for <template> region
// - none: disable formatting
// - prettyhtml: prettyhtml
// - js-beautify-html: html formatter of js-beautify
// - prettier: prettier
"vetur.format.defaultFormatter.html": "prettyhtml",
// Default formatter for <script> region
// - none: disable formatting
// - prettier: js formatter from prettier
// - prettier-eslint: prettier-eslint
// - vscode-typescript: js formatter from TypeScript
"vetur.format.defaultFormatter.js": "prettier",
// Default formatter for <style lang='less'> region
// - none: disable formatting
// - prettier: less formatter using postcss parser from prettier
"vetur.format.defaultFormatter.less": "prettier",
// Default formatter for <style lang='postcss'> region
// - none: disable formatting
// - prettier: postcss formatter using css parser from prettier
"vetur.format.defaultFormatter.postcss": "prettier",
// Default formatter for <style lang='scss'> region
// - none: disable formatting
// - prettier: scss formatter using scss parser from prettier
"vetur.format.defaultFormatter.scss": "prettier",
// Default formatter for <style lang='stylus'> region
// - none: disable formatting
// - stylus-supremacy: stylus formatter from stylus-supremacy
"vetur.format.defaultFormatter.stylus": "stylus-supremacy",
// Default formatter for <script> region
// - none: disable formatting
// - prettier: ts formatter using typescript parser from prettier
// - prettier-tslint: ts formatter from TypeScript
"vetur.format.defaultFormatter.ts": "prettier",
// Options for all default formatters
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-expand-multiline"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
// Enable/disable the Vetur document formatter.
"vetur.format.enable": true,
// Number of spaces per indentation level. Inherited by all formatters.
"vetur.format.options.tabSize": 2,
// Use tabs for indentation. Inherited by all formatters.
"vetur.format.options.useTabs": false,
// Whether to have initial indent for <script> region
"vetur.format.scriptInitialIndent": false,
// Whether to have initial indent for <style> region
"vetur.format.styleInitialIndent": false,
// Mapping from custom block tag name to language name. Used for generating grammar to support syntax highlighting for custom blocks.
"vetur.grammar.customBlocks": {
"docs": "md",
"i18n": "json"
},
// Traces the communication between VS Code and Vue Language Server.
"vetur.trace.server": "off",
// Use dependencies from workspace. Currently only for TypeScript.
"vetur.useWorkspaceDependencies": false,
// Validate js/ts in <script>
"vetur.validation.script": true,
// Validate css/scss/less/postcss in <style>
"vetur.validation.style": true,
// Validate vue-html in <template> using eslint-plugin-vue
"vetur.validation.template": true,
// The events for which the extension should toggle the formatting for. Affects all events (formatOnPaste, formatOnSave, formatOnType) by default.
"formattingToggle.affects": [
"formatOnPaste",
"formatOnSave",
"formatOnType"
],
// 这项设置会更改深色主题默认的文件图标
"vsicons.associations.fileDefault.file": null,
// 这项设置会更改浅色主题默认的文件图标
"vsicons.associations.fileDefault.file_light": null,
// 这些自定义设置会覆盖掉系统默认的文件图标设置
"vsicons.associations.files": [],
// 这项设置会更改深色主题默认的文件夹图标
"vsicons.associations.folderDefault.folder": null,
// 这项设置会更改浅色主题默认的文件夹图标
"vsicons.associations.folderDefault.folder_light": null,
// 这项设置会更改默认的根目录文件夹图标
"vsicons.associations.folderDefault.root_folder": null,
// 这项设置会更改浅色主题默认的根目录文件夹图标
"vsicons.associations.folderDefault.root_folder_light": null,
// 这些自定义设置会覆盖掉系统默认的文件夹图标设置
"vsicons.associations.folders": [],
// 指向位于您的计算机上含自定义图标的文件夹的父文件夹的物理路径
"vsicons.customIconFolderPath": "",
// 如果设置成'true',手动修改配置后不提醒「重启后生效」
"vsicons.dontShowConfigManuallyChangedMessage": false,
// 如果设置成'true',关于新的版本消息将不再显示
"vsicons.dontShowNewVersionMessage": false,
// 如果设置成'true',插件会自动匹配 Angular 模式
"vsicons.presets.angular": false,
// 如果设置成'true',所有文件夹会恢复成默认图标
"vsicons.presets.foldersAllDefaultIcon": false,
// 如果设置成'true',此扩展会隐藏在“资源管理器”中的文件夹箭头
"vsicons.presets.hideExplorerArrows": false,
// 如果设置成'true',所有文件夹会隐藏
"vsicons.presets.hideFolders": false,
// 如果设置成'true',插件会自动使用官方 JS 图标
"vsicons.presets.jsOfficial": false,
// 如果设置成'true',插件会自动使用官方 JSON 图标
"vsicons.presets.jsonOfficial": false,
// 如果设置成'true',插件会自动匹配 NestJS 模式
"vsicons.presets.nestjs": false,
// 如果设置成'true',插件会自动使用官方 TS 图标
"vsicons.presets.tsOfficial": false,
// 如果设置成'true',检测工程文件后自动重启插件
"vsicons.projectDetection.autoReload": false,
// 如果设置成'true',插件不再自动检测工程文件
"vsicons.projectDetection.disableDetect": false,
// The link to an online tool to view a commit (use `${hash}` for the commit hash).
"gitblame.commitUrl": "",
// Ignore whitespace changes when blaming (-w flag)
"gitblame.ignoreWhitespace": false,
// When enabled it inferes online commit tool URL based on origin URL. Disabled whenever `gitblame.commitUrl` isn't empty.
"gitblame.inferCommitUrl": true,
// Customize the info message
"gitblame.infoMessageFormat": "${commit.summary}",
// BitBucket uses commits instead of commit in their web interface. Turn this on if you want the View button to work for BitBucket.
"gitblame.isWebPathPlural": false,
// If enabled it logs all messages to the log. If disabled only critical messages gets logged.
"gitblame.logNonCritical": true,
// An array of substrings that, when present in the git origin URL, activates `gitblame.isWebPathPlural`
"gitblame.pluralWebPathSubstrings": [
"bitbucket",
"atlassian"
],
// Customize the status bar message
"gitblame.statusBarMessageFormat": "Blame ${author.name} ( ${time.ago} )",
// Customize the status bar message
"gitblame.statusBarMessageNoCommit": "Not Committed Yet",
// Priority where the status bar view should be placed
"gitblame.statusBarPositionPriority": 0,
// The Regexp to use to match empty lines in Jumpy Line Mode
"jumpy.lineRegexp": "^\\s*$",
// The Regexp to use to match words in Jumpy Word Mode
"jumpy.wordRegexp": "\\w{2,}",
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/private-cloud-online-document/open-his.git
git@gitee.com:private-cloud-online-document/open-his.git
private-cloud-online-document
open-his
Open-His
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891