Commit graph

741 commits

Author SHA1 Message Date
ye-chuan
7d5f845640
Reorder html5 document template (#393)
The encoding `<meta charset="UTF-8>` is usually declared before any text-containing elements such as the `<title>`.

p.s. Emmet follows this ordering too
2024-02-11 23:33:39 -05:00
Stephen
4368924cc4
remove extra spaces in deployment and pod snippets (#390) 2024-02-11 23:07:22 -05:00
Daniel Schmid
efdd763e0d
feat(global): Add UUID snippet (#386) 2024-02-11 23:06:55 -05:00
Tomás A. Mendoza Infanzón
97207ad689
Add rfv for React, compatible with Vite (#384) 2024-02-11 23:06:46 -05:00
erizo-dev
b6a8d1e547
add blade snippets (#374)
* add blade snippets

* fix json formatting
2024-02-11 23:06:35 -05:00
Rafael Madriz
b8fae73a47
Merge pull request #398 from Edvid/main
Fixed for range loop in gdscript
2024-01-29 08:37:05 -03:00
Edvid
878c51af1c Fixed for range loop in gdscript 2024-01-29 02:55:03 +01:00
Rafael Madriz
aced40b66b
Merge pull request #388 from REmerald/patch
(c.json) small improvements
2024-01-24 09:12:29 -03:00
Rafael Madriz
7183d12760
Merge pull request #389 from RyanHope97/snprintf
snprintf() snippet incorrectly inserts sprintf() body
2024-01-24 09:11:22 -03:00
Rafael Madriz
20e04aeff9 fix #385: add terraform snippets to package.json 2024-01-24 08:59:10 -03:00
smirking teapot
69a2c1675b
add more cpp snippets. (#376)
* add header guard.
* add casting expressions and auto function cpp.
* cpp : add description for cast. update header guards.
2024-01-07 19:48:17 -05:00
Ryan Hope
70c860027c
snprintf() snippet incorrectly inserts sprintf() body 2023-12-28 21:28:54 +00:00
REmerald
e83ce9018f
(c.json) Update GNU_SOURCE description
Update the description to be more specific for newbies to C
2023-12-27 17:04:34 +00:00
REmerald
d9ed78c115
Merge branch 'rafamadriz:main' into patch 2023-12-27 14:17:45 +00:00
christiandins
53d3df271d
add-xml-tag-go-snippet (#377) 2023-11-27 01:09:18 -05:00
John Jerald E. De Chavez
9e99f7d64a
Updated edge framework snippets (#378)
* Added csrfToken snippet and Updated csrfField snippet
* Added bouncer ctx instance
* Added i18n instance and helper snippets
* Added app.nodeEnvironment snippet
2023-11-27 01:09:02 -05:00
mtoon
068b165a7a
changed c++ cout to a more efficient and polyvalent snippet (#381)
the main use cases for cout is debugging which is mostly composed of outing variables not string, std::endl write '\n' and flush the stream which cause a unnecessary performance overhead in most of the cases
2023-11-27 01:08:42 -05:00
kuator
83c54cd6fd
fix: django rest view snippets (#383)
Co-authored-by: evakuator <>
2023-11-27 01:08:24 -05:00
REmerald
2351828000 (c.json) Add _GNU_SOURCE snippet
Snippet to enable GNU functions
2023-11-21 19:59:33 +03:00
REmerald
9ced2a2f6b (c.json) improve function snips
Make former `fund` (-> `fun`) more universal
Also, make the prefixes more logical
2023-11-21 00:45:50 +03:00
Peter Benjamin
43727c2ff8
feat(terraform): add terraform snippets (#365) 2023-10-01 00:46:16 -04:00
notAxion
ef8a9b6b58
fix(description): description typos in sql (#371)
* fix(description): description typos in sql snippets
2023-10-01 00:23:51 -04:00
Doron Behar
3e5377a4c3
nix: add meta snippet (#366)
* nix: add meta snippet

* nix: make hash snippet suitable for all usages

Usages such as `cargoHash`, `npmDepsHash` etc.
2023-10-01 00:23:14 -04:00
Urmish Shah
0368bee1ce
Update tcl.json (#372)
add missing $ for positional arguments
2023-09-29 20:19:33 -04:00
Sidon_OO0
396ba29333
global: Added DDMMYY snippet (#368)
* Update global.json
2023-09-29 20:19:10 -04:00
mtoon
ebf6d6e834
Added a standard template to cpp.json (#364)
* Added a standard template to cpp.json

added a standard template to cpp.json inspired by the c standard template
2023-09-02 22:11:42 -04:00
Urmish Shah
9edb657c38
Add '$' to imply a variable for llength argument (#363) 2023-09-02 22:11:26 -04:00
James
123af284c0
Latex: Removed '~' from Cite body (#362) 2023-09-02 22:11:10 -04:00
Stanislav Sorochan
1bb861aeeb
angular snippets (#355)
* feat: angular snippets
2023-09-02 22:11:00 -04:00
REmerald
00e191fea2
(c.json) small quality improvements (#357)
* `,` prefix in starter templates is not necessary, but can be very annoying; changed to `st`
* `*ifi` snippets now don't have a space to let the users put newline instead
* removed ternary operator and 1-arg static_assert snippet, since it's more convenient to type it manually
* improved usability and logic of the 'for' snippets, so they could be used in more situations
* it's better to use `%d` instead of `%i` in scanf/printf
* made placeholder ordering of calloc more logical
* small fixes/improvements, wording corrections, etc.
2023-08-27 17:31:24 -04:00
karson
7ff46f90aa
fix useState snippet to automatically capitalize setter function name (#361) 2023-08-27 03:57:09 -04:00
Zeioth
7be88d9807
merge conflicts solved. (#358) 2023-08-27 03:56:35 -04:00
DimitrisDimitropoulos
d6e416797b
fix latex snippets label caption space chktex warning24 (#359) 2023-08-27 03:38:57 -04:00
Doron Behar
a189c2a5ad
Add nix snippets (#356) 2023-08-27 03:38:30 -04:00
EJ
18d593f522
fix(gdscript): update match snippet (#354)
This updates it so that it actually reflects the match statement as specified in godot's documentation: https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#match
2023-08-27 03:38:16 -04:00
Jean-Michel Bea
90fc37677f
Add ocaml and dune snippets (#352) 2023-08-27 03:37:49 -04:00
shinobig
377d45475b
feat Adding createReactHook and createReactHookWithName snippets (#349)
Co-authored-by: victor gakiya <victor@anymindgroup.com>
2023-08-13 23:55:56 -04:00
Urmish Shah
95ebf351d2
Fix snippet for 'else' (#353)
Else doesn't take in a conditional expression
2023-08-13 23:51:10 -04:00
Zeioth
bc38057e51
feat(kdoc) (#333)
* feat(kdoc) -  kdoc is now added as the kdok language, this way users can opt-in.
* Grammar typos related to #345
2023-07-24 00:44:49 -04:00
Rafael Madriz
4aed1a0ca6
Merge pull request #348 from beajeanm/reason-snippet
feat(reason): Add reason snippets
2023-07-21 22:02:57 -03:00
Jean-Michel Bea
9edfe7745d Add reason snippets
All snippets are from 8745b53c04/snippets/reason.json with some descriptions added.
2023-07-21 20:55:05 +01:00
Francisco José Fernández Naranjo
ea84a71026
feat(djangohtml): add snippet for blocktrans in a single line (#316) 2023-07-17 21:48:39 -04:00
Rafael Madriz
8f5db6c5b6
Merge pull request #341 from REmerald/patch-1
fix(c) minor fixes, usability and ordering improvements
2023-07-13 21:02:03 -03:00
Rafael Madriz
6153166d5a
Merge pull request #345 from Zeioth/typos
fix(doc) Typos for all languages
2023-07-12 22:36:20 -03:00
REmerald
a67200d5d1
fix(c) small chkio improvements
Improve the usability of some `chkio` snippets and their prefixes.
2023-07-12 14:36:56 +00:00
REmerald
868097ae55
(cdoc) reverse the typo commit; attempt 2 2023-07-12 14:27:13 +00:00
REmerald
d8b3fc00d1
(cdoc) try to reverse the typo fix commit 2023-07-12 14:25:27 +00:00
REmerald
ce7beaa6f3
Merge branch 'rafamadriz:main' into patch-1 2023-07-12 14:22:54 +00:00
Zeioth
f80fca61de typo originally reported in #341 fixed here, so we can fix all doc related typos in a single PR and merge without conflicts. 2023-07-12 15:16:27 +02:00
Zeioth
4bb1a72705 Typo fixes for all languages 2023-07-12 15:01:25 +02:00