Repository navigation
fix(dncl): indent by 4 spaces when typing in the Japanese tab - #2273
Merged
smalruby3-editor-bot[bot] merged 2 commits intoNov 19, 2026
Merged
Conversation
Enter after a line that ends with : and Tab indented by 2 spaces, while the standard form is written (by ja-notation and the snippets) with 4. The Japanese tab now uses 4; the Ruby tab keeps 2. The docs tell how to type the indent without the ruled lines. Refs #2272 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🚀 Preview deployed (stg API): https://preview.smalruby.app/fix-ja-tab-indent-width-6f25632b/ |
Refs #2272 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
smalruby3-editor-bot
Bot
merged commit Nov 19, 2026
4db2ad5
into
topic/japanese-mode-1731
11 checks passed
This was referenced Nov 19, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EPIC #1731 の確認ページ W10(罫線を打たせない)を調べた結果の小さな直し。
いまの日本語タブは罫線を打たなくても書ける(テキストは空白の字下げ、罫線は問題の形の表示だけ)。ただ、キーボードの字下げ(Enter・Tab)が 2 空白で、標準の形の書き出し(ja-notation)と補完のスニペットの 4 空白とそろっていなかった。
Changes Made
ruby-tab.jsx: Monaco のtabSizeを日本語タブでは 4、ルビータブでは 2(いまのまま)に。docs/dncl/README.md: 罫線を打たない入力のしかた(Enter・そうでなければ:の自動のもどり・Backspace・Shift+Tab・Tab・スニペット・罫線付きの貼り付け)。test/integration/dncl-typing-indent.test.js:もし x > 1 ならば:で Enter → 4 空白、Enter → Backspace で 1 段もどる。Test Coverage
Closes #2272
🤖 Generated with Claude Code