Text Case Converter: show how identifiers are split into words
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
What problem does this solve?
The Text Case Converter converts identifiers between naming conventions, but users cannot see how the input was segmented before conversion.
Inputs containing acronyms, digits, or mixed separators can have ambiguous word boundaries. Showing the detected words would help users understand results such as converting XMLHttpRequest to xml_http_request.
Proposed solution
Add a “Detected words” section below the input, showing the word segments used by the existing case-conversion logic.
Scope
- Reuse the existing word-splitting logic so the displayed segments match the conversion results.
- Display each segment as a readable token, preserving its original casing.
- Handle camelCase, PascalCase, acronyms, and supported separators.
- For multi-line input, show detected words separately for each non-empty line, labeled with its original line number.
- Explain that acronym and digit boundaries follow the converter’s existing rules.
- Show a helpful empty state when the input contains no detected words.
- Keep existing conversion behavior unchanged.
Acceptance criteria
XMLHttpRequestdisplaysXML,Http, andRequest.user_iddisplaysuserandid.HTTP_status_codedisplaysHTTP,status, andcode.- Digit boundaries match the existing conversion behavior and are covered by tests.
- Repeated separators and surrounding whitespace do not create empty tokens.
- Unicode input follows the same rules as the existing converter.
- The detected words update as the input changes.
- Multi-line results preserve the association with their source lines.
- Tokens remain readable in both site themes and are accessible to screen readers.
- Word segmentation lives in
lib/with tests covering acronyms, digits, separators, Unicode, and multi-line input. - All processing happens locally in the browser.
npm run lint && npm run test && npm run buildpass.
Custom splitting rules, editable tokens, and changes to existing conversion algorithms are outside this issue’s scope.
Fit
- This can work entirely in the browser with no server or data leaving the tab.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 9
- 平均マージ
- 7時間 3分
- マージ済み PR(30日)
- 199
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/toolbelt のほかの issue
-
Contributing to toolbelt: start here対応中かも @Saifjafri212213 が 3 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
codercops/toolbelt#101 · コメント 23 件 ·
メンテナーはふだん 1 日以内に返信
-
[admin] Quarterly content-refresh routine再び着手できるかも @anurag629 が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンadmin-only seo
codercops/toolbelt#47 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[admin] Repurpose guides to dev communities and social再び着手できるかも @anurag629 が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンadmin-only seo
codercops/toolbelt#44 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[admin] Digital PR and link outreach for the tools and guides再び着手できるかも @anurag629 が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンadmin-only seo
codercops/toolbelt#43 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[admin] Submit toolbelt to developer directories and aggregators再び着手できるかも @anurag629 が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンadmin-only seo
codercops/toolbelt#42 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
codercops/toolbelt の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
oxidecomputer/skepsis#102 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/void#677 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kunchenguid/gh-axi#247 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lidge-jun/opencodex#8101 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信