If you want to change the shortcut, rebind the command kit.migrateTokens in VS Code keyboard shortcuts settings.
Activation
This extension activates for the following file extensions by default:
.tsx
.jsx
It runs on demand when you invoke the migration command or when you edit/hover in supported files.
Requirements
This extension requires the @snppay/ui package to be installed in the project so token mappings and lookups work correctly.
Usage
Open a project that uses the old SnappPay UI Kit props/tokens.
Run the command palette (Cmd+Shift+P) and choose "SnappPay: Migrate to New UI Kit" or press the keybinding Cmd+Alt+S.
Important: the migration command runs only on the currently opened editor tab (the active file). It does not scan or modify other files across the project.
Review the replacements and changes applied by the migration tool.
While editing, hover over token names to see their resolved values and use autocomplete to pick tokens with clear names and values.
Examples
Migration example
Before: _margin="lg"
After: _m="md"
Hover example
Hovering over md shows: md — 16px (a small tooltip with the token name and value)