美文网首页
IDE 技巧集合

IDE 技巧集合

作者: fangtang0101 | 来源:发表于2018-03-15 19:12 被阅读6次

1. sublime 分屏显示同一个文件

ctrl + p 找到与左侧的文件


image.png

2. sublime 整理代码,代码格式化

sublime 自带的 Edit - line - Reindent 但是对于Vue 不太管用
整理 html 代码 基本无法生效
方法:
ctrl + shit + p


image.png

安装插件 HTML-CSS-JS (安装成功之后,再配置)
tool - HTML-CSS-JS - set...
global_file_rules html 中的 allowed_file_extensions 添加 vue


image.png

使用:ctrl+shift+h (需要全选)

相关文章

网友评论

      本文标题:IDE 技巧集合

      本文链接:https://www.haomeiwen.com/subject/intkqftx.html