Text Case Converter: show how identifiers are split into words
Los mantenedores suelen responder en 1 día
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 9
- Merge medio
- 7 h 34 min
- PR fusionados (30 d)
- 195
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codercops/toolbelt
-
JSON Formatter: Minify and Sort keys reject JSON5 even with JSON5 onPosiblemente ocupada @prakashNalla la tomó hoy. Abiertobug hacktoberfest
codercops/toolbelt#436 · 8 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Hacktoberfest 2026: start herePosiblemente ocupada @Saifjafri212213 la tomó hace 1 día. Abiertohacktoberfest
Dificultad 1/5 Menos de una hora Aptitud para principiantes 1/100
codercops/toolbelt#101 · 20 comentarios ·
Los mantenedores suelen responder en 1 día
-
[admin] Quarterly content-refresh routineQuizá libre de nuevo @anurag629 la tomó hace 112 días y no hay ningún pull request abierto. Abiertoadmin-only seo
codercops/toolbelt#47 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[admin] Repurpose guides to dev communities and socialQuizá libre de nuevo @anurag629 la tomó hace 112 días y no hay ningún pull request abierto. Abiertoadmin-only seo
codercops/toolbelt#44 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[admin] Digital PR and link outreach for the tools and guidesQuizá libre de nuevo @anurag629 la tomó hace 112 días y no hay ningún pull request abierto. Abiertoadmin-only seo
codercops/toolbelt#43 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/toolbelt
Issues similares
-
BeOS .json missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mihaip/infinite-mac#475 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
marmelab/atomic-crm#401 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Deltares/webgl-streamline-visualizer#83 ·
Los mantenedores suelen responder en 1 día
-
ubicloud: usage is an awk syntax error on macOS, which also disables the vCPU quota preflightAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día