select word:
ctrl + w
ctrl + esc
select bundle item:
ctrl + command + t
show bundle editor:
ctrl + option+ command + b
ToDo bundle:
show ToDo list
ctrl + shift + t
Define TODO: , FIXME: , CHANGED: in the comment of the file.
Then show ToDo list will find there lines in the files
html bundle:
insert open & close tag with current word
ctrl + <
ex:
enter head, then with this short cut, it becomes
ex:
enter this short cut, then enter abc, it becomes
wrap selection in open & close tag
ctrl + shift + w
ex:
enter hello, then enter this short cut, then enter head, it becomes hello
tab completion :
1. head:
head+ meta + title
2. style:
3. script:
4. doctype:
insert a link(with the word in the clipboard)
ctrl + shift + L
webpage preview:
ctrl + option+ command + p
ruby bundle:
run ruby program
command + r
# => mark
add # => mark
# + tab
execute the line with # => mark
ctrl + shift + command + e
find doc about the word
ctrl + h
tab completion :
1. cla :
for class
2. def :
for method
3. r , w, rw
for attr_reader(), attr_writer(), attr_accessor()
4. while
5. if
6. inj:
for inject
7. ea:
for each
8. tim:
for times
9. sorb:
for sort_by
10. eawi:
each_with_index
rubyOnRails bundel:
activate rubyOnRails bundle:
ctrl + option + shift + r + 3
params completion:
ctrl + p
session completion:
ctrl + j
call generate script:
ctrl + | + 1
tab completion:
for model:
1. mccc
for model create column continue
2. t.
提示column type
3. mcol
create column
沒有留言:
張貼留言