even more fixed formatting
This commit is contained in:
parent
1e107e1bd1
commit
d32e03c65a
44
.vscode/snippets.code-snippets
vendored
44
.vscode/snippets.code-snippets
vendored
@ -1,24 +1,24 @@
|
||||
{
|
||||
"ns-template": {
|
||||
"scope": "typescript",
|
||||
"prefix": "template",
|
||||
"body": [
|
||||
"import { NS } from '../NetscriptDefinitions'",
|
||||
"",
|
||||
"export async function main(ns : NS) : Promise<void> {",
|
||||
"\t//",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
"autocomplete": {
|
||||
"scope": "typescript",
|
||||
"prefix": "autocomplete",
|
||||
"body": [
|
||||
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
|
||||
"export function autocomplete(data : ServerData, args : string[]) : string[] {",
|
||||
"\treturn [...data.servers]",
|
||||
"}"
|
||||
],
|
||||
"description": "autocomplete"
|
||||
}
|
||||
"ns-template": {
|
||||
"scope": "typescript",
|
||||
"prefix": "template",
|
||||
"body": [
|
||||
"import { NS } from '../NetscriptDefinitions'",
|
||||
"",
|
||||
"export async function main(ns : NS) : Promise<void> {",
|
||||
"\t//",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
"autocomplete": {
|
||||
"scope": "typescript",
|
||||
"prefix": "autocomplete",
|
||||
"body": [
|
||||
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
|
||||
"export function autocomplete(data : ServerData, args : string[]) : string[] {",
|
||||
"\treturn [...data.servers]",
|
||||
"}"
|
||||
],
|
||||
"description": "autocomplete"
|
||||
}
|
||||
}
|
@ -20,6 +20,6 @@
|
||||
"paths": {
|
||||
"/*.js": [ "*" ],
|
||||
"*.js": [ "*" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user