Commit Graph

1103 Commits

Author SHA1 Message Date
David Barnett
76a4d7eae9 Add message and field snippets for proto filetype 2014-04-11 21:49:14 -07:00
Holger Rapp
8770132e4e Merge pull request #341 from pgilad/patch-1
HTML: update meta charset
2014-04-10 21:28:43 +02:00
Steeve
fea2ddc004 key word argument get (kwg)
a common usage -especially when overloading class- is to use `*args` array and `**kwargs` dictionary to handle method's arguments

this snippet is usefull to quickly get the argument value from the keyword arguments dictionary -kwargs- or setting a default value
2014-04-10 11:17:29 +02:00
Gilad Peleg
039a1c0801 update meta charset in html 2014-04-10 12:13:17 +03:00
Honza Pokorny
5db783d7f1 Merge pull request #340 from WnP/patch-1
add def overloading method (dol)
2014-04-09 14:29:13 -03:00
Steeve
fa6d71e49e add def overloading methode (dol)
I add it because I use it many times a day -not only for the `__init__` method-

this snippet is very useful to me, no need to call super and handle all args and kwargs, and no more typo errors :D
2014-04-09 12:27:32 +02:00
Steven Oliver
9b6ee51b41 Merge pull request #339 from dcbishop/patch-1
Add rust.snippets

Awesome. Thanks!
2014-04-08 11:04:04 -04:00
David C. Bishop
513fad93b1 Add rust.snippets 2014-04-09 00:18:29 +10:00
Honza Pokorny
e69e510d4e Merge pull request #338 from maxirobaina/master
Fixed #335 - django snippet fix model save method
2014-04-08 10:36:42 -03:00
Maximiliano Robaina
0c4960aa84 Fixed #335 - django snippet fix model save method 2014-04-08 09:35:15 -03:00
Honza Pokorny
ecb5407885 Merge pull request #337 from maxirobaina/master
Added new django fields types
2014-04-07 14:25:30 -03:00
Maximiliano Robaina
40f1db97d9 Added new django fields types 2014-04-07 13:41:38 -03:00
Holger Rapp
e89d9afe55 Merge pull request #334 from lavrin/master
Erlang: Import gen_fsm and gen_event snippets from Vimerl
2014-04-07 08:00:48 +02:00
Radosław Szymczyszyn
8f9a7e3dc9 Add gen_fsm and gen_event imported from vimerl 2014-04-01 14:35:02 +02:00
Radosław Szymczyszyn
fcce90db9b Reindent gen_server export list 2014-04-01 14:33:47 +02:00
Holger Rapp
0d64ef6eb6 Merge pull request #333 from jdavis/r
R: fix snippets syntax error
2014-04-01 07:42:07 +02:00
Josh Davis
653a814dea Fix snippets syntax error 2014-03-31 23:59:21 -05:00
Holger Rapp
0bcf724e04 Merge pull request #332 from jdavis/r
New R and Rnoweb snippets
2014-04-01 06:18:28 +02:00
Josh Davis
8c7bb5d4aa Remove trigger from the end of the description 2014-03-31 21:11:47 -05:00
Josh Davis
6b5d7d3377 Remove duplicate snippet 2014-03-30 15:32:13 -05:00
Josh Davis
d1f23164d5 Add a few more snippets, fix errors as per #332
Hopefully this looks better, @SirVer!
2014-03-30 11:39:03 -05:00
Holger Rapp
6de3bb7ccb Merge pull request #329 from RyanPineo/master
Java: fix setter. camel case vars/types properly.
2014-03-30 12:05:31 +02:00
Josh Davis
bd8ef3d110 Tidy up some parts of r.snippets 2014-03-30 01:04:00 -05:00
Ryan Pineo
87ea532f41 Bug fix for java case coercion helpers.
If an empty tab stop was used with either of the java case coercion
helper functions then they would blow up.  Fixed by returning an empty
string if the word passed to them is falsey.
2014-03-29 20:39:14 -04:00
Josh Davis
55887f0db4 Add R snippets to Rnoweb 2014-03-29 16:52:21 -05:00
Josh Davis
53f8dd5a7a Add in r.snippets file
I converted these over from the snipMate r.snippets in the snippets/ directory and removed some ones.
2014-03-29 16:46:23 -05:00
Josh Davis
77bc9bdf80 Add support for rnoweb filetype
Rnoweb is a filetype that combines LaTeX and R. It's used by systems like Sweave and Knitr.
2014-03-29 16:28:00 -05:00
Eustáquio Rangel
3924baefa0 Merge pull request #330 from brandonhilkert/master
Add asi => assert_includes for Ruby
2014-03-29 09:57:44 -03:00
Brandon Hilkert
6541994397 Add asi => assert_includes 2014-03-28 19:45:20 -04:00
Ryan Pineo
e5f3d6bdf5 Change java set/get snippets to use mixedCase.
The java setter and getter snippets were incorrectly formatting the
set/get name as all lowercase.  It should be mixed case, as per java's
coding standard.

A new function was made (mixedCase) to handle that.
2014-03-28 15:32:39 -04:00
Ryan Pineo
ad8883ddca Fix java setter method param case, remove return.
The paramater was keeping the case of the setter name.  It should
have been lowercased.  The other uses of the paramter were already
lowercased correctly.

There should also not be a return statement in a void method.
2014-03-28 12:11:46 -04:00
Honza Pokorny
2ca5883f83 Merge pull request #328 from hallaj/master
Update python.snippets
2014-03-27 01:42:49 -03:00
Honza Pokorny
7b23338180 Merge pull request #327 from ches/fixes
Scala snippets fix
2014-03-27 01:42:30 -03:00
Muhammad Hallaj Subery
ba94750df1 Update python.snippets
adding code encoding.
2014-03-27 12:08:39 +08:00
Ches Martin
0b673c3e59 Scala snippets fix 2014-03-27 05:37:14 +07:00
Holger Rapp
dbf58517de Merge pull request #326 from RyanPineo/master
java: Allow else/elif to be expanded mid line.
2014-03-26 21:30:47 +01:00
Ryan Pineo
1d41c715e2 Allow java else/elif to be expanded mid line. 2014-03-26 15:39:47 -04:00
Eustáquio Rangel
3254ebfb44 Merge pull request #320 from wongyouth/add_rails_methods
Add rails callback methods
2014-03-25 09:42:47 -03:00
Honza Pokorny
773c4573fa Merge pull request #325 from jdnavarro/master
Add `OPTIONS_HADDOCK` snippet
2014-03-24 07:27:13 -03:00
Ryan Wang
fc65844236 use m as prefix and fix conflicts with other snippets 2014-03-24 17:51:34 +08:00
Danny Navarro
88cd206a19 Add OPTIONS_HADDOCK snippet 2014-03-24 09:46:51 +01:00
Honza Pokorny
4f4ad36efe Merge pull request #324 from tUrG0n/patch-2
Added Jade Angular Snippets
2014-03-24 01:51:12 -03:00
Piotr Yordanov
1ffdf752b6 Added Jade templates 2014-03-24 03:29:41 +00:00
Honza Pokorny
3ebeb6b724 Merge pull request #323 from gfixler/master
Fix spelling throughout UltiSnips/python.snippets
2014-03-23 03:21:39 -03:00
gfixler
16630a5c8e Fix spelling throughout UltiSnips/python.snippets 2014-03-22 22:33:17 -07:00
Holger Rapp
4b31551246 Merge pull request #322 from RyanPineo/master
Python: Add Google style docstring support.
2014-03-22 20:39:44 +01:00
Ryan Pineo
391d4fea47 Add python google style docstrings. 2014-03-22 15:03:16 -04:00
Felix Jung
fc50b1584e Syntax changes in accordance with Google. 2014-03-21 14:21:33 +01:00
Felix Jung
734a8b3e06 Merge remote-tracking branch 'upstream/master' 2014-03-21 14:07:44 +01:00
Holger Rapp
e868e17fd8 Merge pull request #321 from adoboPullRequests/master
PHP, Ultisnips: Fix getter and setter snippets that contained an invalid reference.
2014-03-19 19:00:47 +01:00