/[sudobot]/trunk/.vscode/sudobot.code-snippets
ViewVC logotype

Diff of /trunk/.vscode/sudobot.code-snippets

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 597 by rakinar2, Mon Jul 29 17:59:26 2024 UTC revision 598 by rakinar2, Wed Aug 7 14:50:43 2024 UTC
# Line 3  Line 3 
3          "scope": "typescript",          "scope": "typescript",
4          "prefix": "command",          "prefix": "command",
5          "body": [          "body": [
6              "import { TakesArgument } from \"@framework/arguments/ArgumentTypes\";",              "import { ArgumentSchema } from \"@framework/arguments/ArgumentTypes\";",
7              "import type { Buildable } from \"@framework/commands/Command\";",              "import type { Buildable } from \"@framework/commands/Command\";",
8              "import { Command } from \"@framework/commands/Command\";",              "import { Command } from \"@framework/commands/Command\";",
9              "import type Context from \"@framework/commands/Context\";",              "import type Context from \"@framework/commands/Context\";",
# Line 12  Line 12 
12              "\targ: string;",              "\targ: string;",
13              "};",              "};",
14              "",              "",
15              "@TakesArgument<${1:${TM_FILENAME_BASE/(.*?)\\..*/$1/}}Args>({",              "@ArgumentSchema.Definition({",
16              "\tnames: [],",              "\tnames: [],",
17              "\ttypes: [],",              "\ttypes: [],",
18              "\toptional: false,",              "\toptional: false,",

Legend:
Removed from v.597  
changed lines
  Added in v.598

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26