当前位置:网站首页>Yyds dry goods count 【 vs code work record III 】 set vs code format
Yyds dry goods count 【 vs code work record III 】 set vs code format
2022-06-28 23:34:00 【Front end ballad】
Preface
I'm a ballad I have a brother Ranking at the peak c Station general list 19 It's called a little ballad Once I spent three years creating him Now I will surpass him in five years Today is another day close to my brother. Life is inevitably bumpy Big deal, start over The will of ballads is eternal It's easy to give up But persistence must be cool
Introduction
ballad ballad Yours vs code It's reassembled Is it necessary to format


Solutions
open vs code ctrl+shift+p Copy in
{
"eslint.codeAction.showDocumentation": {
"enable": true
},
// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"editor.tabSize": 2,
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"tabnine.experimentalAutoImports": true,
"javascript.updateImportsOnFileMove.enabled": "never",
// "[vue]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// Force single quotes
"prettier.singleQuote":true,
// Try to control the printing of trailing commas
"prettier.trailingComma": "all",
// Turn on eslint Support
"prettier.eslintIntegration": true,
// Save automatically fix
"eslint.autoFixOnSave": true,
// add to vue Support
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
// Format using plug-ins html
"vetur.format.defaultFormatter.html": "js-beautify-html",
// Format the configuration of the plug-in
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// Property to force line break alignment
"wrap_attributes": "force-aligned"
}
},
"vetur.format.defaultFormatter": {
"html": "prettier",
"css": "prettier",
"postcss": "prettier",
"scss": "prettier",
"less": "prettier",
"js": "prettier",
"ts": "prettier",
"stylus": "stylus-supremacy"
},
// html Color highlight
"files.associations": {
".eslintrc": "json",
"*.vue": "html",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.syntaxProfiles": {
"javascript": "jsx",
"vue": "html",
"vue-html": "html"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"editor.fontLigatures": null
}
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
- 37.
- 38.
- 39.
- 40.
- 41.
- 42.
- 43.
- 44.
- 45.
- 46.
- 47.
- 48.
- 49.
- 50.
- 51.
- 52.
- 53.
- 54.
- 55.
- 56.
- 57.
- 58.
- 59.
- 60.
- 61.
- 62.
- 63.
- 64.
- 65.
- 66.
- 67.
- 68.
- 69.
- 70.
- 71.
- 72.
- 73.
- 74.
- 75.
- 76.
- 77.
- 78.
- 79.
- 80.
- 81.
- 82.

summary
Then the problem is solved
边栏推荐
- 【Flutter 问题系列第 71 篇】Flutter 中 Uint8List 和 Image 之间的相互转换
- TDD and automated testing
- 一张能卖上千万,商家扩张比玩家还快:球星卡的江湖你不懂
- [Electronic Experiment 2] simple electronic doorbell
- 股票开户在网上开通安全吗?
- fio的IO重放功能
- note
- urllib. Parse parses the parameters in the URL connection
- 第五章 虚拟存储器 练习
- 2022-06-28: what does the following golang code output? A:true; B:false; C:panic; D: Compilation failed. package main import “fm
猜你喜欢

note
![[Electronic Experiment 2] simple electronic doorbell](/img/40/227f9ac1f427c1435e0e3aa02640b1.png)
[Electronic Experiment 2] simple electronic doorbell

C# 面试题目_20220627记录一下

PHP uses endroid/qrcode QR code to generate, and Gd library generates sharing posters

ctfshow XSS
![[数学建模]Matlab非线性规划之fmincon()函数](/img/fc/46949679859b1369fcc83d0d8b637c.png)
[数学建模]Matlab非线性规划之fmincon()函数

Lock4j -- distributed locking Middleware -- use / instance

Analysis of CSRF Cross Site Request Forgery vulnerability

Machine learning 6-decision tree

Cmake tutorial (I)
随机推荐
Is it safe and reliable to open a securities account in Yixue school?
stm32F407-------外部中断
Yes, use local_ setup. Bash or setup bash
Machine learning 6-decision tree
Is it safe to open a stock account on the Internet?
Non scientific class! The road of self-study!
解决ConfigParser解析中文问题
自动化测试的生命周期是什么?
C# 面试题目_20220627记录一下
2022年PMP项目管理考试敏捷知识点(4)
IDC: Alibaba cloud ranks first in the market share of China's data governance platform in 2021
Chapter III processor scheduling exercise
PHP 使用endroid/qrcode 二维码生成, GD库生成分享海报
【Word 教程系列第 1 篇】如何去除 Word 表格中的箭头
How to solve the database type error in the operation of the servert project?
See fengzhixia | FENGZikai, the originator of Guoman, for exclusive sale of Digital Collections
ERROR 1067 (42000): Invalid default value for ‘end_ time‘ Mysql
【SSM】报错 Access denied for user ‘WYF‘@‘localhost‘ (using password: YES) 数据的用户名变成了电脑的用户名
LINQ linked table query
老家出资,俞敏洪设立两支基金