27 lines
644 B
Plaintext
27 lines
644 B
Plaintext
{
|
|
"Sine": {
|
|
"prefix": "sin",
|
|
"body": "sin(${1:number})",
|
|
"description": "Calculates the sine of number, assuming radians."
|
|
},
|
|
"Cosine": {
|
|
"prefix": "cos",
|
|
"body": "cos(${1:number})",
|
|
"description": "Calculates the cosine of number, assuming radians."
|
|
},
|
|
"Read": {
|
|
"prefix": "read",
|
|
"body": "read()",
|
|
"description": "Reads a line from stdin."
|
|
},
|
|
"Write": {
|
|
"prefix": "write",
|
|
"body": "write(${1:string})",
|
|
"description": "Writes string to stdout."
|
|
},
|
|
"Timestamp": {
|
|
"prefix": "time",
|
|
"body": "time()",
|
|
"description": "Returns current timestamp in microseconds."
|
|
}
|
|
} |