Skip to content

Commit b5e3bed

Browse files
committed
format code
1 parent e7e8dd2 commit b5e3bed

19 files changed

+332
-338
lines changed

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,15 @@ Button Click → executeButtonCommand() → determineButtonExecutionType()
7777
### Multi-Language Keyboard Support
7878

7979
The extension supports 15 keyboard layouts via `keyboard-layout-converter.ts`:
80+
8081
- **Layout converters**: Korean, Russian, Arabic, Hebrew, German, Spanish, Czech, Greek, Persian, Belarusian, Ukrainian, Kazakh
8182
- **Advanced converters**: Japanese (WanaKana), Chinese (Pinyin), Hindi (Sanscript)
8283
- Shortcuts match using `findMatchingShortcut()` with variant generation
8384

8485
### Configuration Scopes
8586

8687
Two configuration targets managed by `ConfigManager`:
88+
8789
- **Workspace**: `.vscode/settings.json` (team collaboration)
8890
- **Global**: User settings (personal commands)
8991

@@ -92,6 +94,7 @@ Toggle via `quickCommandButtons.configurationTarget` setting.
9294
### Webview Architecture
9395

9496
React-based configuration UI with:
97+
9598
- **Drag & Drop**: `@dnd-kit` for command reordering
9699
- **UI Components**: shadcn/ui + Radix UI primitives
97100
- **VS Code Communication**: `vscode.postMessage()` API for config sync

src/extension/src/adapters.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ describe("adapters", () => {
99
describe("getButtonsFromConfig", () => {
1010
it("should return buttons from config", () => {
1111
const mockButtons = [
12-
{ name: "Test Button", command: "test command" },
13-
{ name: "Another Button", command: "another command" },
12+
{ command: "test command", name: "Test Button" },
13+
{ command: "another command", name: "Another Button" },
1414
];
1515

1616
const mockConfig = {

src/extension/src/adapters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { ButtonConfig, RefreshButtonConfig } from "./types";
33

44
const CONFIG_SECTION = "quickCommandButtons";
55
const DEFAULT_REFRESH_CONFIG: RefreshButtonConfig = {
6-
icon: "$(refresh)",
76
color: "#00BCD4",
87
enabled: true,
8+
icon: "$(refresh)",
99
};
1010

1111
export type TerminalExecutor = (

0 commit comments

Comments
 (0)