web tools for sublime
Your code editor is your main development tool; you use it to write and save lines of code. Write better code faster by learning your editor's shortcuts and installing key plugins.
TL;DR
- Choose an editor that lets you customize shortcuts and has lots of plugins to help you write better code.
- Make use of the package manager to make it easier to discover, install, and update plugins.
- Install plugins that help keep you productive during development; start with the recommendations in this guide.
Install Sublime text editor
Sublime is a great editor with a solid base level of functionality which makes writing code a pleasure. You can install a package manager that makes it easy to install plugins and add new functionality.
There are currently two download options for Sublime Text, either version 2 or version 3. Version 3 is pretty stable and
will give you access to packages not available in Sublime Text 2, however you may find version 2 more reliable.
Note
- Rob Dodson's blog post on how to get to know and love Sublime is a great reference for getting the most out of your editor. The concepts are relevant
to any text editor, not just Sublime.
Why use a package manager?
Package managers make it easy to find, install, and keep packages & plugins up-to-date.
You can install a Package Manager for Sublime by following these instructionshttps://sublime.wbond.net/installation.
You only need to do this once, after which see below for our recommended list of plugins.
Install plugins
Plugins help you stay more productive. What are the things you keep having to go back out to other tools to do?
Linting - there’s a plugin for that. Showing what changes haven’t been committed - there are plugins for that. Integration with other tools, such as GitHub, there are plugins for that.
Package managers make it very easy to find, install, and update plugins:
- In the Sublime Text editor, open your package manager (ctrl+shift+p).
- Enter ‘Install Package’.
- Enter the name of the plugin you are looking for (or else browse all plugins).
Check out these trending lists of Sublime Text plugins. Here are the plugins we love and recommend you install because they help you speed up your development:
Autoprefixer
If you want a quick way to add vendor prefixes to your CSS, you can do so with this handy plugin.
Write CSS, ignoring vendor prefixes and when you want to add them, hit ctrl+shift+p
and typeAutoprefix
.
CSS
We cover how you can automate this in your build process, that way your CSS stays lean and you don’t need to remember to hit ctrl+shift+p
.
ColorPicker
Pick any color from the palette and add it to your CSS with ctrl+shift+c
.
Emmet
Add some useful keyboard shortcuts and snippets to your text editor. Check out the video on Emmet.io for an intro into what it can do (a personal favorite is the ‘Toggle Comment’ command).
HTML-CSS-JS prettify
This extension gives you a command to format your HTML, CSS and JS. You can even prettify your files whenever your save a file.
Git Gutter
Add a marker in the gutter wherever there is a change made to a file.
Gutter Color
Note: This is only available in Sublime Text 3
Gutter Color shows you a small color sample next to your CSS.
The plugin requires ImageMagick. If you are on Mac OS X, we recommend trying the installer fromCactusLabs (you may need to restart your machine to get it working).
web tools for sublime的更多相关文章
- 面向 Web 开发者的 Sublime Text 插件
Package Control 在 Sublime Text 上大家都用 Package Control 来管理安装插件,所以它是我们要安装的第一个插件,安装方法见这里.关于 Package Cont ...
- 安装 Visual Studio Web Tools 的奇怪问题
安装Microsoft ASP.NET 5 RC 1 时提示 0x80070005 - 拒绝访问 日志文件为 [1968:3F64][2015-11-20T10:08:36]i010: Launchi ...
- [Web Tools] 实用的Web开发工具
模拟http请求:Postman https://www.getpostman.com 生成Json数据 http://www.json-generator.com/
- [io PWA] Great libraries and tools for great Progressive Web Apps
sw-toolbox: Github It provides a cononical implementation of all the runtime caching strategies that ...
- 超全的web开发工具和资源
首页 新闻 产品 地图 动态 城市 帮助 论坛 关于 登录 注册 · 不忘初心,继续前进,环境云V2接口正式上线 · 环境云测点地图全新改版 · 祝福各位环境云用户中秋快乐! 平台信息 培训互动 ...
- 个人Web工具箱&资源整理(1)
很久就想把使用的工具及收藏的资源整理一番:一是为了传达博客社区的理念:资源共享,而是方便自己及团队快速获取. 学习资源: 首推两个入门级在线参考网站. 1 w3c school. 2 Runoob.c ...
- 开发者常用的 Sublime Text 3 插件
1.官网下载 Sublime Text 3 (已有安装包的,请忽略) Sublime Text 官网下载地址 : http://www.sublimetext.com/ 2.打开 Sublime Te ...
- 干货100+ 最超全的web开发工具和资源大集合
干货100+ 最超全的web开发工具和资源大集合 作为Web开发者,这是好的时代,也是坏的时代.Web开发技术也在不断变化.虽然很令人兴奋,但是这也意味着Web开发人员需要要积极主动的学习新技术和 ...
- Building Modern Web Apps-构建现代的 Web 应用程序(一些感想)
<iframe src="http://channel9.msdn.com/Series/MVA-China/Web20140611A01/player?h=540&w=960 ...
随机推荐
- .NET创建宿主设计器--DesignHost、DesignSurface.
一个窗口在运行时,是这样的: 但是,在设计时,却远比这复杂的多,它需要一个设计器对象:它仅存在于设计时,并连接到运行时存在的对象. 宿主容器 我们可以看到每个窗体和按钮均有与之相关的设计器.这两个 ...
- c# using三种用法
http://www.cnblogs.com/fashui/archive/2011/09/29/2195061.html http://www.cnblogs.com/iamv/archive/20 ...
- 【转载】Asp.Net页面生命周期
一.什么是Asp.Net页面生命周期 当我们在浏览器地址栏中输入网址,回车查看页面时,这时会向服务器端(IIS)发送一个request请求,服务器就会判断发送过来的请求页面, 完全识别 HTTP 页 ...
- ios面试基础
1.#import和#include的差别 @class? @class一般用于头文件里须要声明该类的某个实例变量的时候用到,在m文 件中还是须要使用#import 而#import比起#includ ...
- PHP实现上次登录功能
通过一个sql语句把上次的登录时间给本次登录时间,再把当前时间记录下来 update userinfo set lasttime=userinfo.logintime,logintime= CURR ...
- jquery插件函数传参错误
1.jquery传参通过json,可能的错误是,参数中的结束符写成了;
- Anaconda2
Anaconda 是一个打包的python,一次把好多需要的包都安装好了.对于Python2.7把PyQt5都弄好了,不需要自己来编译! 看看这个 http://conda.pydata.org/do ...
- rtems 4.11 部分m4文件分析
本来想把configure.ac和各种m4文件分析明白,发现有点困难,不过好在也能理解一些. 基本教程 首先要明白m4,参见这个教程,写得不错,不论怎么样m4替换来替换去的,还真是不那么容易懂,好在我 ...
- 触发器 (Delete Update)
--delete触发器IF(EXISTS(SELECT * FROM sysobjects WHERE name='T_PlanQtyDelete'))DROP TRIGGER T_PlanQtyDe ...
- linux SPI驱动——spi core(四)
一: SPI核心,就是指/drivers/spi/目录下spi.c文件中提供给其他文件的函数,首先看下spi核心的初始化函数spi_init(void). 1: static int __init s ...