diff --git a/README.md b/README.md index 1ecb2a9..86a7461 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ For example, by preparing the following CSV, you can quickly insert correspondin - **Auto Format Trigger**: Choose when formatting is applied. - **Auto**: Format automatically when leaving text field - **Manual**: Format only via keyboard shortcut (default: `Alt+Shift+F`) +- **Use Trailing Comma**: If enabled, ensures all lines end with a trailing comma when formatting. If disabled, removes trailing commas. ## Advanced Settings diff --git a/docs/README_jp.md b/docs/README_jp.md index b564d6c..02efd46 100644 --- a/docs/README_jp.md +++ b/docs/README_jp.md @@ -187,6 +187,7 @@ worst_quality,5,9999999, - **Auto Format Trigger**: フォーマットを適用するタイミングを選択します - **自動**: テキスト欄からフォーカスが外れた際に自動でフォーマットします - **手動**: キーボードショートカットでのみフォーマットします(デフォルト: `Alt+Shift+F`) +- **行末にカンマを使用**: 有効にすると、フォーマット時にすべての行末がカンマで終わるようになります。\n無効にすると行末のカンマが削除されます ## 上級者向け設定 diff --git a/locales/ja/settings.json b/locales/ja/settings.json index d853d1e..2739ede 100644 --- a/locales/ja/settings.json +++ b/locales/ja/settings.json @@ -79,6 +79,10 @@ "manual": "手動" } }, + "AutocompletePlus_AutoFormatter_UseTrailingComma": { + "name": "行末にカンマを使用", + "tooltip": "有効にすると、すべての行末がカンマで終わるようになります。\n無効にすると行末のカンマが削除されます。" + }, "AutocompletePlus_AutoFormatter_EnableAutoFormat": { "name": "自動フォーマット機能の有効化" }