-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
114 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,136 @@ | ||
{ | ||
"algoritmo-structure": { | ||
"prefix": "algoritmo", | ||
"body": [ | ||
"ALGORITMO ${1:Nombre}", | ||
"$0", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de un algoritmo." | ||
"prefix": "algoritmo", | ||
"body": [ | ||
"ALGORITMO ${1:Nombre}", | ||
"$0", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de un algoritmo." | ||
}, | ||
"subalgoritmo-structure": { | ||
"prefix": "subalgoritmo", | ||
"body": [ | ||
"SUBALGORITMO ${1:Nombre}(${2:parametros})", | ||
"$0", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de un Subalgoritmo." | ||
"prefix": "subalgoritmo", | ||
"body": [ | ||
"SUBALGORITMO ${1:Nombre}(${2:parametros})", | ||
"$0", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de un Subalgoritmo." | ||
}, | ||
"procedimiento-structure": { | ||
"prefix": "procedimiento", | ||
"body": [ | ||
"Procedimiento ${1:Nombre}(E ${2:parametros_de_entrada}; S ${2:valores_de_salida})", | ||
"(*", | ||
"Que hace: ---", | ||
"Pre: ---", | ||
"Pos: ---", | ||
"*)", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de un Procedimiento." | ||
}, | ||
"funcion-structure": { | ||
"prefix": "funcion", | ||
"body": [ | ||
"Funcion ${1:Nombre}(E ${2:parametros_de_entrada}): ${3:tipo_de_valor_que_devuelve}", | ||
"(*", | ||
"Que hace: ---", | ||
"Pre: ---", | ||
"Pos: ---", | ||
"*)", | ||
"CONST", | ||
"$0", | ||
"VAR", | ||
"$0", | ||
"INICIO", | ||
"$0", | ||
"FIN" | ||
], | ||
"description": "Estructura general de una Funcion." | ||
}, | ||
"si-block": { | ||
"prefix": "si", | ||
"body": [ | ||
"Si (${1:condicion}) entonces", | ||
"$0", | ||
"FinSi" | ||
], | ||
"description": "Bloque Sí" | ||
"prefix": "si", | ||
"body": [ | ||
"Si (${1:condicion}) entonces", | ||
"$0", | ||
"FinSi" | ||
], | ||
"description": "Bloque Sí" | ||
}, | ||
"sino-block": { | ||
"prefix": "sisino", | ||
"body": [ | ||
"Si (${1:condicion}) entonces", | ||
"$0", | ||
"Sino", | ||
"$0", | ||
"FinSi" | ||
], | ||
"description": "Bloque Si con Sino" | ||
"prefix": "sisino", | ||
"body": [ | ||
"Si (${1:condicion}) entonces", | ||
"$0", | ||
"Sino", | ||
"$0", | ||
"FinSi" | ||
], | ||
"description": "Bloque Si con Sino" | ||
}, | ||
"segun-block": { | ||
"prefix": "segun", | ||
"body": [ | ||
"Según (${1:variable}) hacer", | ||
"$0", | ||
"Fin Según" | ||
], | ||
"description": "Bloque Según" | ||
"prefix": "segun", | ||
"body": [ | ||
"Según (${1:variable}) hacer", | ||
"$0", | ||
"Fin Según" | ||
], | ||
"description": "Bloque Según" | ||
}, | ||
"mientras-block": { | ||
"prefix": "mientras", | ||
"body": [ | ||
"Mientras (${1:condicion}) hacer", | ||
"$0", | ||
"Fin Mientras" | ||
], | ||
"description": "Bloque mientras" | ||
"prefix": "mientras", | ||
"body": [ | ||
"Mientras (${1:condicion}) hacer", | ||
"$0", | ||
"Fin Mientras" | ||
], | ||
"description": "Bloque mientras" | ||
}, | ||
"desde-block": { | ||
"prefix": "desde", | ||
"body": [ | ||
"Desde ${1:variable} <- ${2:valor} hasta ${4:variable} con paso 1 hacer", | ||
"$0", | ||
"Fin Desde" | ||
], | ||
"description": "Bloque mientras" | ||
"prefix": "desde", | ||
"body": [ | ||
"Desde ${1:variable} <- ${2:valor} hasta ${4:variable} con paso 1 hacer", | ||
"$0", | ||
"Fin Desde" | ||
], | ||
"description": "Bloque desde" | ||
}, | ||
"repetir-block": { | ||
"prefix": "repetir", | ||
"body": [ | ||
"Repetir", | ||
"$0", | ||
"Hasta (${1:condicion})" | ||
], | ||
"description": "Bloque repetir" | ||
"prefix": "repetir", | ||
"body": [ | ||
"Repetir", | ||
"$0", | ||
"Hasta (${1:condicion})" | ||
], | ||
"description": "Bloque repetir" | ||
}, | ||
"mostrar-function": { | ||
"prefix": "mostrar", | ||
"body": "Mostrar(${1:mensaje})", | ||
"description": "Función para mostrar un mensaje" | ||
"prefix": "mostrar", | ||
"body": "Mostrar(${1:mensaje})", | ||
"description": "Función para mostrar un mensaje" | ||
}, | ||
"ingresar-function": { | ||
"prefix": "ingresar", | ||
"body": "Ingresar(${1:variable})", | ||
"description": "Función Ingresar" | ||
"prefix": "ingresar", | ||
"body": "Ingresar(${1:variable})", | ||
"description": "Función Ingresar" | ||
} | ||
} |