Skip to content

fix(dncl): keep what is written in comments when auto-correcting #2261

Closed

Description

@smalruby3-editor-bot

日本語モード EPIC #1731 の確認ページ(S10)への答えを反映する。

いまの不具合

自動置換(既定でオン)が、日本語タブの冒頭の説明文の「,」を「,」に変えてしまう。

答え(人間)

自動置換はコメントを認識して、その中は極力そのままにする(日本語タブ・ルビータブの両方)。

  • Ruby の # コメント
  • 日本語タブの冒頭の説明文(#)と、設定で // をコメントにしたときの // のコメント

#2249 で「[,,] どちらでも通る」にした統合テストは、「,」のまま残ることを確かめる形に戻す。

Activity

  1. smalruby3-editor-bot commented on Nov 19, 2026

    @smalruby3-editor-bot
    Author

    topic/japanese-mode-1731 にマージしました(PR #2262 / #2265 / #2273)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions