varHarrie / varharrie.github.io

:blue_book: Personal blog site based on github issues.
https://varharrie.github.io
MIT License
3.66k stars 544 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,
}
varHarrie commented 6 years ago

@ywang04 似乎内置这种提示功能了吧?

image

ywang04 commented 6 years ago

你好 谢谢回复 下图是我在vs code里target. 什么都选不到

image

但在atom里 安装过ternjs 插件之后 同样的代码target. 就可以提供我想要的一些dom api image

不知道是不是event.target导致的这个问题?我按照你的代码 也是没有问题的呢。

From: varHarrie notifications@github.com Reply-To: varHarrie/YmxvZw reply@reply.github.com Date: Friday, 17 November 2017 at 16:43 To: varHarrie/YmxvZw YmxvZw@noreply.github.com Cc: Yang Wang Yang.Wang04@gmail.com, Mention mention@noreply.github.com Subject: Re: [varHarrie/YmxvZw] VSCode拓展插件推荐(HTML、Node、Vue、React开发均适用) (#10)

@ywang04 似乎内置这种提示功能了吧?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ywang04 commented 6 years ago

https://github.com/Microsoft/TypeScript/issues/14374 这个问题应该是一个bug 谢谢你的提醒

coldice8 commented 6 years ago

想请教一下 VSCode 中如何快速的输入 console.log(value)?Webstorm 如果对 value 打 log,输入 value.log 按 Tab 就可以了。VSCode 有没有类似的快捷输入?

ywang04 commented 6 years ago

@coldice945 可以看看 https://marketplace.visualstudio.com/items?itemName=akamud.vscode-javascript-snippet-pack 这个插件 输入[cl] console.log

varHarrie commented 6 years ago

@coldice945 这个是你要的功能 TS/JS postfix completion

还有一个是快捷键ctrl+shift+q Log Wrapper

zhangcanfeng612 commented 6 years ago

@coldice945 这个可以不需要插件呀,vscode有个用户定义的代码块 e1ce9a65-20c0-4ae7-9105-8b5678ef4683

heriky commented 6 years ago

mark

littlesupermanio commented 6 years ago

mark

Jancat commented 6 years ago

mark

moGitHub1209 commented 6 years ago

mark

starsyork commented 6 years ago

请教一下, 有没有插件可以实现类似 IDEA 的跨文件变量函数名自动补全(提示)功能?

seayao commented 6 years ago

你好, 我问一个问题, 我用vscode格式化vue代码的时候 它会自动把函数和()之间的空格去掉导致出错: [eslint] Missing space before function parentheses. (space-before-function-paren) 如何配置解决呢? 求教。

cyanbluezyx commented 6 years ago

先收藏一个

zhangcanfeng612 commented 6 years ago

@barnboo 使用eslint就好了, 规则不一致,会有冲突

Meqn commented 6 years ago

mark

leermao commented 6 years ago

你好 有没有直接格式化 elemet-ui的设置 怎么配置

chengkj99 commented 6 years ago

@LPmagic 不知道这个是不是你想要的,https://marketplace.visualstudio.com/items?itemName=ElemeFE.vscode-element-helper

tangdu commented 6 years ago

Html 格式化怎么弄的 同时又需要vue 格式 化

benmo1602 commented 6 years ago

image 大佬 为什么每次 我点保存的时候自动 添加 “;” 并且单引号 办成 “” 了

geekape commented 6 years ago

这vscode配置真的不错

Sora-super commented 6 years ago

mark

tohere commented 6 years ago

感谢推荐,很多插件都很实用

Mrcxt commented 6 years ago

老铁,有木有可以让css属性值对齐的插件,就是类似 Better Align这种对齐。

对其前: 3461524296208_ pic 对齐后: 3471524296208_ pic

XavierShi commented 6 years ago

收藏

touxing commented 6 years ago

pretty

shijunti19 commented 6 years ago

@varHarrie 我自己也写了一个插件,项目管理的,不过我的是可视化界面的!
https://marketplace.visualstudio.com/items?itemName=xiaolu.a031-xiaolu
界面化的项目管理,支持项目文件夹、可执行程序、网址、日记的管理,可以扔掉你的收藏夹了,打包文件夹后放到U盘,配合vscode随你怎么用!
希望大家支持我下,给推荐推荐!!! demo add_1

greatzerg commented 6 years ago

很值得收藏 :)

varHarrie commented 5 years ago

2018 / 07 / 09 更新若干拓展插件和主题插件

主题请查阅一楼,更新以下拓展(已包含在一楼):

名称 简述
Vue TypeScript Snippets Vue Typescript代码段
JS Refactor 代码重构工具,提取函数、变量重命名等等
Prettier - Code formatter prettier官方插件
Typescript React code snippets React Typescript代码段
GraphQL for VSCode graphql高亮和提示
Babel JavaScript babel插件,语法高亮
TypeScript Import Sorter import整理排序
DotENV .env文件高亮
endy 将输入光标跳转到当前行最后面
Find-Jump 快速跳转到指定单词位置
jumpy 快速跳转到指定单词位置
VS Live Share 实时多人协助
CSS-in-JS CSS-in-JS高亮提示和转换
Polacode 将代码生成图片
TypeScript Hero TypeScript辅助插件,管理import、outline等等
Babelrc .babelrc文件高亮提示
Wallaby.js 实时测试插件
magicLaLa commented 5 years ago

Document This 这个插件好像在最新发布的版本中有问题,生成不了注释Sorry! 'Document This' wasn't able to produce documentation at the current position.

noonhorse commented 5 years ago

mark

ifyour commented 5 years ago

多谢款待~

jingjingxinshang commented 5 years ago

首选项配置 可以发出来吗

shaokuuipo commented 5 years ago

mark一下,非常感谢。

zhengziheng commented 5 years ago

mark

znnnnn commented 5 years ago

mark

nick1190 commented 5 years ago

我想請問在vscode那一個插件可以做到v-for v-model 的高亮,或者有自定義高亮的方法,我可以自己設,如下圖 image

varHarrie commented 5 years ago

@nick1190

vetur Vue语法高亮和提示

nick1190 commented 5 years ago

Vetur Vue语法高亮和提示 需要另外設定嗎?我有裝了,預設的沒有

quainter commented 5 years ago

mark

majunjie24 commented 5 years ago

mark

DeyiXu commented 5 years ago

mark

bestshanjinghao commented 5 years ago

Code Spellchecker 这个搜不到 正确的名字应该是Code Spell checker Code Outline 已下线 下载地址:https://patrys.gallery.vsassets.io/_apis/public/gallery/publisher/patrys/extension/vscode-code-outline/0.1.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage下载后,更改“* .vsix”的扩展名。转到VS代码:Ctrl + Shift + P并键入“Extensions:从VSIX安装...”

songxing10000 commented 5 years ago

有没有可以支持跳转的插件啊,写weex时方法不跳转

cikichen commented 5 years ago

毕竟不是真正的IDE,使用体验还是比不上webstorm啊

KeymonWong commented 5 years ago

mark!

songxing10000 commented 5 years ago

有没有人用Xcode来写啊,Xcode那么强悍

happyphper commented 5 years ago

good

lulei90 commented 5 years ago

mark!

xxxxinc commented 5 years ago

收藏!