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:

  1. In the Sublime Text editor, open your package manager (ctrl+shift+p).
  2. Enter ‘Install Package’.
  3. 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的更多相关文章

  1. 面向 Web 开发者的 Sublime Text 插件

    Package Control 在 Sublime Text 上大家都用 Package Control 来管理安装插件,所以它是我们要安装的第一个插件,安装方法见这里.关于 Package Cont ...

  2. 安装 Visual Studio Web Tools 的奇怪问题

    安装Microsoft ASP.NET 5 RC 1 时提示 0x80070005 - 拒绝访问 日志文件为 [1968:3F64][2015-11-20T10:08:36]i010: Launchi ...

  3. [Web Tools] 实用的Web开发工具

    模拟http请求:Postman https://www.getpostman.com 生成Json数据 http://www.json-generator.com/

  4. [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 ...

  5. 超全的web开发工具和资源

    首页 新闻 产品 地图 动态 城市 帮助 论坛 关于 登录 注册 · 不忘初心,继续前进,环境云V2接口正式上线 · 环境云测点地图全新改版 · 祝福各位环境云用户中秋快乐!   平台信息 培训互动 ...

  6. 个人Web工具箱&资源整理(1)

    很久就想把使用的工具及收藏的资源整理一番:一是为了传达博客社区的理念:资源共享,而是方便自己及团队快速获取. 学习资源: 首推两个入门级在线参考网站. 1 w3c school. 2 Runoob.c ...

  7. 开发者常用的 Sublime Text 3 插件

    1.官网下载 Sublime Text 3 (已有安装包的,请忽略) Sublime Text 官网下载地址 : http://www.sublimetext.com/ 2.打开 Sublime Te ...

  8. 干货100+ 最超全的web开发工具和资源大集合

    干货100+ 最超全的web开发工具和资源大集合   作为Web开发者,这是好的时代,也是坏的时代.Web开发技术也在不断变化.虽然很令人兴奋,但是这也意味着Web开发人员需要要积极主动的学习新技术和 ...

  9. Building Modern Web Apps-构建现代的 Web 应用程序(一些感想)

    <iframe src="http://channel9.msdn.com/Series/MVA-China/Web20140611A01/player?h=540&w=960 ...

随机推荐

  1. Galileo Gen2 之MQTT通讯

    前言 原创文章,转载引用务必注明链接.如有疏漏,欢迎斧正. Galileo系统:完整版Yocto,内核版本3.8.7-yocto-standard:宿主机:Windows 7 64 bit 这期主要讲 ...

  2. java web邮件收发

    1.网上方法要导入两个包 mail.jar&activation.jar package com.zjh.shopping.util; import java.util.Date; impor ...

  3. 让div排成一行===>inline-block的兼容性

    行内元素,排列在一行,但是不能设置它的width.height.margin.padding属性,即使设置了,也是不生效的. 快元素独占一行,如下的这个例子,before div.in div1.in ...

  4. Iptables实现公网IP DNAT/SNAT

    Iptables实现NAT是最基本的功能,大部分家用路由都是基于其SNAT方式上网,使用Iptables实现外网DNAT也很简单,不过经常会出现不能正常NAT的现象.以下命令将客户端访问1.1.1.1 ...

  5. Spring学习九----------Bean的配置之Bean的定义及作用域的注解实现

    © 版权声明:本文为博主原创文章,转载请注明出处 Spring Bean常用注解 @Component:通常注解,可用于任何Bean @Repository:通常用于注解DAO层,即持久层 @Serv ...

  6. RSA非对称算法实现HTTP密码加密传输

    目前一般帐号系统,都是https来传输账户性息,申请一个https证书也不贵.但是网站的其它功能并不需要走https协议,https和http混布比较麻烦,所以决定先实现一个http协议传输RSA非对 ...

  7. 一起学Django之Day01

    创建项目 SimilarFacedeMacBook-Pro:PycharmProjects similarface$ django-admin startproject StudyDjango 创建A ...

  8. Inno Setup 使用笔记

    使 用 笔 记https://blog.csdn.net/dongshibo12/article/details/79095971 1.Inno Setup 是什么?Inno Setup 是一个免费的 ...

  9. Erlang的系统限制

    Erlang本身对进程数,原子长度等没有限制,但为了提高性能和节省内存,总会在实际实现中和运行环境中作出一些限制. 1.进程数量 缺省情况下同时存在的最大Erlang进程数量不超过2^18=26214 ...

  10. 多媒体开发之rtp打包---打包中的FU-A分包方式说明

    继上篇rtp中的时间戳和负载类型之后,升入到了nalu的分片打包问题,这里做下笔记 (1)fu-a的打包格式 1.基于RTP协议的打包及解包 (1)单个NAL打包 H.264NALU单元常由[star ...