Commit Graph

21 Commits

Author SHA1 Message Date
chrisyue
12f2641e9d make getter and setter even better 2012-12-04 00:18:40 +08:00
chrisyue
211b082845 Merge pull request #1 from zeroem/getset
Improved getset snippet
2012-12-03 07:37:12 -08:00
Darrell Hamilton
8cc31cd9d0 Improved getset snippet
- Reuse getter @return type for type hinting in the setter
  - Separate property and method names to compensate for case
    differences
2012-12-02 15:14:30 -08:00
Darrell Hamilton
ffcf23092b Use Filename() for interface and class name default values 2012-12-02 15:13:11 -08:00
chrisyue
a6a10c8150 new ternary snippet 2012-07-30 23:09:36 +08:00
chrisyue
faa4bb490e add setter and getter 2012-07-30 16:19:03 +08:00
chrisyue
3508130a21 move GLOBAL var to 'new snippet section' 2012-07-28 14:16:41 +08:00
chrisyue
fff374a6f7 add typehint to 2012-07-27 20:34:02 +08:00
chrisyue
4d13e42868 add typehint to function 2012-07-27 20:04:48 +08:00
chrisyue
4a8ba6ff5b add new class and interface snippet, and some other improvement 2012-07-27 19:40:14 +08:00
chrisyue
d8c5318448 change 'ph' to '<?' and add 2 forms of in line echo 2012-07-25 12:09:06 +08:00
chrisyue
dccf69d17a create my own php snippet 2012-07-25 03:02:30 +08:00
George Lee
8dbdbd94e0 a few more snippets for php 2012-04-09 05:26:04 +08:00
George Lee
50c68ed00a added a few inline snippets for templating 2012-04-07 20:33:16 +08:00
Stuart Grimshaw
4e850eee05 Tidied up phpdoc annotations for classes & removed extra docblock
comment from doc_h
2012-02-09 15:58:46 +00:00
Stuart Grimshaw
5a88bac07c Small fixes after a days real world usage 2011-12-23 09:25:38 +00:00
Stuart Grimshaw
ea8ddb9213 Forgot the ; line terminator!! 2011-12-22 16:29:32 +00:00
Stuart Grimshaw
9946c23c4f Fixed re-use of snippet data 2011-12-22 15:40:48 +00:00
Stuart Grimshaw
605f3c56b1 Added getset snippet
Added a snippet that adds get a getter & setter for the variable
you type for ${1}, also tabs to let you add extra info to the
included @param and @return tags.
2011-12-22 15:03:01 +00:00
Povilas Balzaravicius Pawka
31b1bf7b1f PHP snippet: vdd (var_dump and die) 2011-11-24 10:44:37 +02:00
Marc Weber
94aebfaadd Move all snippet files into a snippets directory so that you can install it
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00