{
"For Loop": {
"prefix": "forl",
"body": [
"for (let i = 0; i < $1; i++) {",
" $0",
"}"
],
"description": "For loop with index"
}
}
Muri aka karorero:
"For Loop": Izina ry'igice (kugira ngo ubone).
"forl": Intangamarara. Kwandika "forl" no gukanda Tab bizokwinjiza igice.
"umubiri": Kode yo kwinjiza. $1, $2, n'ibindi ni ibihagararo (ibimenyetso vy'ibibanza). $0 ni ikibanza ca nyuma c'ibara.
"insobanuro": Insobanuro y'ubusa yerekanwa mu vyiyumviro vya IntelliSense.
Gukoresha ibice:
Andika Intangamarara: Muri dosiye y'ubwoko bw'ururimi bubereye, tangura kwandika intango wasobanuye (nk'akarorero, forl).
Hitamwo Igice: IntelliSense ya VS Code izotanga iciyumviro c'igice. Hitamwo ukoresheje imfunguruzo z’umwampi canke ukanda.
Koresha Tabstops: Kanda Tab kugira ngo ugende hagati y’ibihagararo ($1, $2, n’ibindi) hanyuma wuzuze agaciro.
Ibihinduka:
Ibice bishobora kandi gukoresha ibihinduka nka $TM_FILENAME, $CURRENT_YEAR, n'ibindi. Kugira ngo ubone urutonde rwuzuye, raba inyandiko za VS Code.
Akarorero n'ibihinduka (Python):
{
"New Python File": {
"prefix": "newpy",
"body": [
"#!/usr/bin/env python3",
"# -*- coding: utf-8 -*-",
"",
"# ${TM_FILENAME}",
"# Created by: ${USER} on ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}"
]
}
}
Mu kumenya neza ibice, urashobora kugabanya cane kwandika gusubiramwo no kumenya neza ko kode yawe ihuye. Gerageza guhingura ibice vyawe bwite vy’ibigereranyo vya kode bikoreshwa cane maze urabe ubushobozi bwawe bwo gukora kode butera imbere.