//JerryWeb

//20150601

//WebTool | Sublime

======= Sublime_Tip_01=======

接触了Sublime后,才真正开始爱上了coding
#一定要习惯使用 command+p + @ | # 来快速定位文件中的内容 , 其中#是标签定位,@是css和js中的,比如function
# 多行游标, Ctrl+Command+G | Command + D && Command +k 跳过某一个 | Opt + 鼠标拖拽 
# !+ tab 直接生成一个HTML 文档
#  zen-coding—》 div.className>ul>li.item$*10  
注意$是从1开始自增的,item1-》 item10
#  command + shift + J 看括号的范围
# command + } , 代码的缩进
#h3{cotent} + tab , 一定要在}后面按tab , 可以<h3>xxx</h3>
#一个神奇的功能, command + shift + V , 可以保持原来复制的内容的缩进。
#要善用Package control !
     pci -> 然后开始自己找要的plugin
     snippet:function,—> 快速代码块  : gt:get..byTag   gc: get…byclassName
          如打fun直接tab ,出现完整的function , 然后用tab切换就好了
     nettus fetch—> 快速获取jQuery等,保持最新的源码 : 建立一个jquery.js | 在文件中cmd+shift+P | fetch file | jquery
     docBlockr—> 快速注释—> function 上 : /** enter , 自动建立注释块
     Jslint & Jshint —> 统一的语法风格,团队开发必要。 可以自定义风格 .jshintrc{“eqeqeq”:true;}

Sublime_Tip_01的更多相关文章

随机推荐

  1. PostgreSQL中使用枚举类型

    https://wiki.postgresql.org/wiki/Enum 建立enum: pgsql=# CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy' ...

  2. 【M28】智能指针

    1.什么是智能指针? 所谓智能指针就是,看起来,用起来,感觉起来都像原始指针,但是提供了更多功能. 2.使用智能指针取代原始指针,可以获得更多的控制权.如下: a.在构造和析构的时候,可以做一些事. ...

  3. Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) B. Guess the Permutation 水题

    B. Guess the Permutation 题目连接: http://www.codeforces.com/contest/618/problem/B Description Bob has a ...

  4. Spring MVC整合Velocity

    Velocity模板(VM)语言介绍 Velocity是一个基于java的模板引擎(template engine).它允许任何人仅仅简单的使用模板语言(template language)来引用由j ...

  5. linux C(hello world)

    1.使用vi/vim进行编写代码并保存为hello_world.c.如下: /* This is my first C program*/ #include <stdio.h> int m ...

  6. Microsoft Visual C++ Runtime Library Runtime Error的解决的方法

    打开浏览器时,出现Microsoft Visual C++ Runtime Library Runtime Error错误,初步预计是软件冲突,可能有多种出错的方式,我的是浏览器自己主动关闭. 一. ...

  7. TOJ3650 Legal or Not

    Legal or Not   Time Limit(Common/Java):1000MS/3000MS     Memory Limit:65536KByte Total Submit: 41   ...

  8. 记录一下Swift3.0的一些代码格式的变化

    一.去重: 1>颜色: UIColor.whiteColor() 被改为 UIColor.white() 2>数组取值: list.objectAtIndex(i) 被改为 list.ob ...

  9. 关于android listview去掉分割线

    1.设置android:divider="@null" 2.android:divider="#00000000" #00000000后面两个零表示透明 3.. ...

  10. 源码-hadoop1.1.0-core-org.apache.hadoop.classification

    里面放着两个注解类:InterfaceAudience和InterfaceStability. InterfaceAudience 类包含三个注解类型,用来被说明被他们注解的类型的潜在的使用范围(au ...