Releases: EfeDeveloper/format-switcher
Releases · EfeDeveloper/format-switcher
v1.0.0
Change Log
All notable changes to the "format-switcher" extension will be documented in this file.
Format follows Keep a Changelog.
[Unreleased]
[1.0.0] - 2026-03-08
Added
- Two new formats:
lower words(space-separated lowercase) andUPPER WORDS(space-separated uppercase). - Cycle command (
extension.formatSwitcher.cycleCase) — automatically detects the current format and advances to the next in the cycle:camelCase → snake_case → kebab-case → CONSTANT_CASE → Train-Case → lower words → UPPER WORDS → camelCase. - Keyboard shortcut
Ctrl+Shift+Fmapped to the cycle command (only active when editor has a selection, avoiding conflicts with "Find in Files"). - Multi-cursor support — all active selections are converted simultaneously.
LICENSEfile (MIT).- GitHub Actions CI pipeline (lint → build → test).
Changed
- Replaced
lodashruntime dependency (~4.7 MB) with native TypeScript implementations, reducing the packaged extension size by over 95%. - Case conversion logic extracted to a standalone
caseConvertersmodule for testability. - Comprehensive unit test suite (40+ assertions) replacing the placeholder boilerplate.
Fixed
- Context menu submenu now only appears when text is actually selected (
when: editorHasSelection). - Internal
CaseTypeliteral'Constant case'corrected to'upperSnakeCase'for consistency.
[0.2.0] - 2024-01-01
Added
- Initial release with five case conversions:
camelCase,snake_case,CONSTANT_CASE,kebab-case,Train-Case. - Right-click context menu submenu "Change case".
lodashused internally for text segmentation.