Skip to content

Commit 82444d1

Browse files
authored
Merge pull request #14 from haoblackj/develop
fix:(package.json and extension.ts): Modify Function Name
2 parents e84badc + f07ce6a commit 82444d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"onCommand:extension.narrowNumber",
2525
"onCommand:extension.narrowPunctuation",
2626
"onCommand:extension.one-digit-narrowNumber",
27-
"onCommand:extension.one-digit-narrowNumberAndPunctuation"
27+
"onCommand:extension.one-digit-narrowNumber-And-Punctuation"
2828
],
2929
"main": "./out/extension",
3030
"contributes": {
@@ -58,7 +58,7 @@
5858
"title": "<!> ひと桁の半角数字を全角数字に変換"
5959
},
6060
{
61-
"command": "extension.one-digit-narrowNumberAndPunctuation",
61+
"command": "extension.one-digit-narrowNumber-And-Punctuation",
6262
"title": "<!?> ひと桁の半角数字・記号を全角数字・記号に変換"
6363
}
6464
],
@@ -101,7 +101,7 @@
101101
},
102102
{
103103
"when": "resourceLangId == markdown",
104-
"command": "extension.one-digit-narrowNumberAndPunctuation",
104+
"command": "extension.one-digit-narrowNumber-And-Punctuation",
105105
"group": "navigation"
106106
},
107107
{
@@ -141,7 +141,7 @@
141141
},
142142
{
143143
"when": "resourceLangId == plaintext",
144-
"command": "extension.one-digit-narrowNumberAndPunctuation",
144+
"command": "extension.one-digit-narrowNumber-And-Punctuation",
145145
"group": "navigation"
146146
},
147147
{
@@ -181,7 +181,7 @@
181181
},
182182
{
183183
"when": "resourceLangId == novel",
184-
"command": "extension.one-digit-narrowNumberAndPunctuation",
184+
"command": "extension.one-digit-narrowNumber-And-Punctuation",
185185
"group": "navigation"
186186
}
187187
]

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function activate(context: ExtensionContext) {
4747
}
4848
});
4949
// ひと桁の半角数字・記号を全角数字・記号に変換
50-
commands.registerCommand('extension.one-digit-narrowNumberAndPunctuation', () => {
50+
commands.registerCommand('extension.one-digit-narrowNumber-And-Punctuation', () => {
5151
if (window.activeTextEditor) {
5252
offsetCharCode(window.activeTextEditor, /(?<![,-9])([0-9])(?![,-9])/g, 65248);
5353
offsetCharCode(window.activeTextEditor, /((?<![!?])([!?])(?![!?]))/g, 65248);

0 commit comments

Comments
 (0)