diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f68ad0..09ec90d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). ## [Unreleased] +## [1.0.1] - 2026-03-18 + +### Fixed + +- Keyboard shortcut changed from `Ctrl+Shift+F` to `Alt+Shift+C` to avoid conflict with VS Code's built-in "Find in Files" command. + ## [1.0.0] - 2026-03-08 ### Added diff --git a/README.md b/README.md index 2590c69..aa1026f 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ Select any text, right-click, and choose **Change case** → pick the desired fo ## Keyboard Shortcut -Press **`Ctrl+Shift+F`** with text selected to **cycle** through formats in order: +Press **`Alt+Shift+L`** with text selected to **cycle** through formats in order: ``` camelCase → snake_case → kebab-case → CONSTANT_CASE → Train-Case → lower words → UPPER WORDS → camelCase → … ``` -The shortcut only activates when the cursor is inside the editor with a selection, so it does not conflict with the default "Find in Files" shortcut. You can customise the keybinding any time via **File → Preferences → Keyboard Shortcuts**. +The shortcut only activates when the cursor is inside the editor with a selection. You can customise the keybinding any time via **File → Preferences → Keyboard Shortcuts**. ## Contributing diff --git a/package.json b/package.json index 7b99709..885ce00 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Format Switcher", "description": "Transform your text with ease! 🚀 Instantly switch between various formatting styles with our extension's context menu. Simply select your text and choose the desired format. Elegant texts, your way! 💡", "icon": "images/icon.png", - "version": "1.0.0", + "version": "1.0.1", "repository": { "type": "git", "url": "https://github.com/EfeDeveloper/format-switcher.git" @@ -72,7 +72,7 @@ "keybindings": [ { "command": "extension.formatSwitcher.cycleCase", - "key": "ctrl+shift+f", + "key": "alt+shift+l", "when": "editorTextFocus && editorHasSelection" } ], diff --git a/src/caseConverters.ts b/src/caseConverters.ts index 3422aaa..334370b 100644 --- a/src/caseConverters.ts +++ b/src/caseConverters.ts @@ -7,7 +7,7 @@ export type CaseType = | 'kebabCase' | 'trainCase'; -/** Ordered cycle: each Ctrl+Shift+F advances to the next format */ +/** Ordered cycle: each Alt+Shift+L advances to the next format */ export const CYCLE_ORDER: CaseType[] = [ 'camelCase', 'snakeCase',