Skip to content

Commit

Permalink
Fix class name regex in Production snippets (#1241)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: John Murray <johnm@georgejames.com>
  • Loading branch information
isc-bsaviano and gjsjohnmurray authored Sep 29, 2023
1 parent 4a479b3 commit 6e51b73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snippets/objectscript-class.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"prefix": ["Production","Interoperability","ClassProduction"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Production",
"Class ${2:${TM_DIRECTORY/^.+[\\/\\\\](.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Production",
"{",
"",
"XData ProductionDefinition",
Expand All @@ -183,7 +183,7 @@
"prefix": ["Request","Interoperability","ClassRequest"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Request",
"Class ${2:${TM_DIRECTORY/^.+[\\/\\\\](.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Request",
"{",
"$0",
"}"
Expand All @@ -194,7 +194,7 @@
"prefix": ["Response","Interoperability","ClassResponse"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Response",
"Class ${2:${TM_DIRECTORY/^.+[\\/\\\\](.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.Response",
"{",
"$0",
"}"
Expand Down

0 comments on commit 6e51b73

Please sign in to comment.