varHarrie / varharrie.github.io

:blue_book: Personal blog site based on github issues.
https://varharrie.github.io
MIT License
3.66k stars 548 forks source link

VSCode拓展推荐(前端开发) #10

Open varHarrie opened 7 years ago

varHarrie commented 7 years ago

最后更新于:2021-05-31 转载请说明出处,谢谢

一、食用说明

二、拓展

名称 简述
Auto Close Tag 自动闭合HTML标签
Auto Import import提示
Auto Rename Tag 修改HTML标签时,自动修改匹配的标签
Babel JavaScript babel插件,语法高亮
Babelrc .babelrc文件高亮提示
Beautify css/sass/scss/less css/sass/less格式化
Better Align 对齐赋值符号和注释
Better Comments 编写更加人性化的注释
Bookmarks 添加行书签
Bracket Lens 在闭合的括号处提示括号头部的代码
Bracket Pair Colorizer 2 用不同颜色高亮显示匹配的括号
Can I Use HTML5、CSS3、SVG的浏览器兼容性检查
~Code Outline~ ~展示代码结构树~
Code Runner 运行选中代码段(支持多数语言)
Code Spell checker 单词拼写检查
CodeBing 快速打开Bing并搜索,可配置搜索引擎
Color Highlight 颜色值在代码中高亮显示
Color Info 小窗口显示颜色值,rgb,hsl,cmyk,hex等等
Color Picker 拾色器
CSS-in-JS CSS-in-JS高亮提示和转换
Dash 集成Dash
Debugger for Chrome 调试Chrome
Document This 注释文档生成
DotENV .env文件高亮
Edit csv 编辑CSV文件
EditorConfig for VS Code EditorConfig插件
Emoji 在代码中输入emoji
endy 将输入光标跳转到当前行最后面
Error Gutters 在行号处提示错误代码
ESLint ESLint插件,高亮提示
File Peek 根据路径字符串,快速定位到文件
filesize 状态栏显示当前文件大小
Find-Jump 快速跳转到指定单词位置
Font-awesome codes for html FontAwesome提示代码段
ftp-sync 同步文件到ftp
Git Blame 在状态栏显示当前行的Git信息
Git File History 快速浏览单文件历史提交变动
Git Graph Git图形化视图,方便浏览和操作
Git History(git log) 查看git log
Git Tree Compare Git树形比对,查看不同分支的差异
gitignore .gitignore文件语法
GitLens 显示文件最近的commit和作者,显示当前行commit信息
GraphQL for VSCode graphql高亮和提示
Guides 高亮缩进基准线
Gulp Snippets Gulp代码段
Highlight Matching Tag 高亮匹配选中的标签
HTML CSS Class Completion CSS class提示
HTML CSS Support css提示(支持vue)
HTMLHint HTML格式提示
htmltagwrap 快捷包裹html标签
htmltagwrap 包裹HTML
Import Beautify import分组、排序、格式化
Import Cost 行内显示导入(import/require)的包的大小
Indenticator 缩进高亮
IntelliSense for css class names css class输入提示
JavaScript (ES6) code snippets ES6语法代码段
JavaScript Standard Style Standard风格
Jest Runner 支持执行Jest单个测试文件或单个用例
JS Refactor 代码重构工具,提取函数、变量重命名等等
JSON to TS JSON结构转化为typescript的interface
JSON Tools 格式化和压缩JSON
jumpy 快速跳转到指定单词位置
language-stylus Stylus语法高亮和提示
Less IntelliSense less变量与混合提示
Lodash Lodash代码段
Log Wrapper 生产打印选中变量的代码
markdownlint Markdown格式提示
MochaSnippets Mocha代码段
Node modules resolve 快速导航到Node模块
npm 运行npm命令
npm Intellisense 导入模块时,提示已安装模块名称
Output Colorizer 彩色输出信息
Partial Diff 对比两段代码或文件
Parameter Hints 在函数调用处指示参数名称
Path Autocomplete 路径完成提示
Path Intellisense 另一个路径完成提示
Polacode 将代码生成图片
PostCss Sorting css排序
Prettier - Code formatter prettier官方插件
Prettify JSON 格式化JSON
Project Manager 快速切换项目
Quokka.js 不需要手动运行,行内显示变量结果
Rainbow CSV CSV文件使用彩虹色渲染不同列
React Native Storybooks storybook预览插件,支持react
React Playground 为编辑器提供一个react组件运行环境,方便调试
React Standard Style code snippets react standar风格代码块
REST Client 发送REST风格的HTTP请求
Sass sass插件
Settings Sync VSCode设置同步到Gist
Sort lines 排序选中行
Sort Typescript Imports typescript的import排序
String Manipulation 字符串转换处理(驼峰、大写开头、下划线等等)
stylelint css/sass/less代码风格
SVG Viewer SVG查看器
Syncing vscode设置同步到gist
Test Spec Generator 测试用例生成(支持chai、should、jasmine)
TODO Parser Todo管理
Todo Todo Tree 收集代码中的TODO注释,支持快速搜索
Toggle Quotes 切换JS中的引号," -> ' -> `
TS/JS postfix completion ts/js后缀提示
TSLint TypeScript语法检查
Types auto installer 自动安装@types声明依赖
TypeScript Hero TypeScript辅助插件,管理import、outline等等
TypeScript Import TS自动import
TypeScript Import Sorter import整理排序
Typescript React code snippets React Typescript代码段
TypeSearch TS声明文件搜索
Version Lens package.json文件显示模块当前版本和最新版本
vetur Vue插件
Volar Vue插件,支持Vue3
View Node Package 快速打开选中模块的主页和代码仓库
Visual Studio IntelliCode 基于AI的代码提示
VS Live Share 实时多人协助
VSCode Great Icons 文件图标拓展
vscode-database 操作数据库,支持mysql和postgres
vscode-icons 文件图标,方便定位文件
vscode-random 随机字符串生成器
vscode-spotify 集成spotify,播放音乐
vscode-styled-components styled-components高亮支持
vscode-styled-jsx styled-jsx高亮支持
Vue Peek 支持跳转到Vue组件定义文件
Vue TypeScript Snippets Vue Typescript代码段
VueHelper Vue2代码段(包括Vue2 api、vue-router2、vuex2)
Wallaby.js 实时测试插件
Wrap Console Log Lite 对选中代码快速console.log

三、主题

名称 预览
Atom One Light Theme Atom One Light Theme
bluloco-dark bluloco-dark
bluloco-light bluloco-light
Enki Theme Enki Theme
eppz! (C# theme for Unity) eppz! (C# theme for Unity)
Eva Theme Eva Theme
Flat UI Flat UI
GitHub Theme GitHub Theme
Monokai Pro Monokai Pro
New Moon VSCode New Moon VSCode
One Dark Pro One Dark Pro
Plastic Plastic
spacegray-vscode spacegray-vscode
Splus Splus

四、个人首选项配置(仅供参考)

{
  "breadcrumbs.enabled": true,
  "editor.tabSize": 2,
  "editor.renderWhitespace": "boundary",
  "editor.cursorBlinking": "smooth",
  "editor.minimap.renderCharacters": false,
  "editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'",
  "editor.fontLigatures": true,
  "explorer.confirmDragAndDrop": false,
  "extensions.autoUpdate": false,
  "files.insertFinalNewline": true,
  "git.autofetch": true,
  "git.path": "F:\\Program Files\\Git\\cmd\\git.exe",
  "search.exclude": {
    "**/node_modules": true,
    "**/dist": true
  },
  "typescript.locale": "en",
  "window.titleBarStyle": "custom",
  "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
  "window.zoomLevel": 1,
  "workbench.activityBar.visible": true,
  "workbench.colorTheme": "Plastic - deprioritised punctuation",
  "workbench.iconTheme": "vscode-great-icons",
  "workbench.startupEditor": "newUntitledFile",
  "eslint.autoFixOnSave": true,
  "eslint.validate": ["javascript", "javascriptreact", "vue"],
  "vsicons.projectDetection.autoReload": true,
  "vsicons.dontShowNewVersionMessage": true,
  "tslint.autoFixOnSave": true,
  "debugwrapper.wrappers": {
    "default": "console.log('$eSEL', $SEL)"
  },
  "prettier.tslintIntegration": true,
  "cSpell.userWords": [
    "Unmount"
  ],
  "jest.autoEnable": false,
}
WalkerLu commented 5 years ago

mark

wang-yi-bit64 commented 5 years ago

收藏

skmtpsh commented 5 years ago

good boy

bi-kai commented 5 years ago

mark

wangfeng4409 commented 5 years ago

nice

Mrlie commented 5 years ago

我以前安装过一款插件,功能是将代码的括号连线连起来。我自己画的一张图,差不多就是这样,我画的是箭头,实际上是一条1px solid yellow的线,但是我忘记叫啥名了,有没有好心的小哥哥,小姐姐知道的呀 微信截图_20190730112414

xingyucat commented 5 years ago

@Mrlie https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer

Mrlie commented 5 years ago

@Mrlie https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer

Nice啊兄弟

yokov commented 5 years ago

mark

kinnylee commented 4 years ago

vscode 可以把要安装的插件都放到配置文件来自动安装吗?

另外就是遇到 npm run dev 的时候编辑器变得十分卡顿的情况。开发机系统是 Fedora 25

Settings Sync: https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync, 每次在新的环境中,我只安装这一个插件,再登陆账号,其他插件自动安装

xoxong commented 4 years ago

非常棒的推荐,值的收藏

a840530146 commented 4 years ago

大概是css代码提示插件 安装后 vscode就不能联网了 删除都没用!谨慎下载

OneOfTheTwentyThousand commented 4 years ago

太棒了,感谢

OverlyDramatic commented 3 years ago

panda syntax主题,天下第一😂

gaosen0907 commented 3 years ago

mark

MGAT commented 3 years ago

mark

fatFire commented 3 years ago

mark

YFengFly commented 3 years ago

Settings Sync、 Syncing 这种同步工具已经被新版 VSCode 原生支持 TSLint 已经弃坑 这些都可以去掉了 顺便也可参考: https://zhuanlan.zhihu.com/p/125773296

zyllt commented 2 years ago

mark

Corgis commented 2 years ago

请问 保存后自动格式化 vue template里的代码 是什么插件 或者怎么实现的呢,我下载的vue-element-admin项目 安装完包后可以实现,但其他的项目就不行了

varHarrie commented 2 years ago

请问 保存后自动格式化 vue template里的代码 是什么插件 或者怎么实现的呢,我下载的vue-element-admin项目 安装完包后可以实现,但其他的项目就不行了

@Corgis 用prettier,配合vetur和vscode的配置:

"vetur.format.defaultFormatter.html": "prettier",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
Corgis commented 2 years ago

请问 保存后自动格式化 vue template里的代码 是什么插件 或者怎么实现的呢,我下载的vue-element-admin项目 安装完包后可以实现,但其他的项目就不行了

@Corgis 用prettier,配合vetur和vscode的配置:

"vetur.format.defaultFormatter.html": "prettier",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },

好像不是这个 的问题哦 我有配置这个 但是 其他项目不行,vue-element-admin就能保存格式化template ,除了vetur和eslint插件 其他应该不用装吧。还是说vue3的项目不支持

varHarrie commented 2 years ago

@Corgis Vue3用volar吧,配置参考https://github.com/sethidden/vue3-eslint-stylelint-demo

RoyalGladiatorsQuin commented 2 years ago

nice bro

jaychang9 commented 1 year ago

收藏

YeatsLiao commented 1 year ago

Thank you, it's very useful. I hope to provide some font recommendations

helloyans commented 3 months ago

Mark!