A VS Code extension for transforming TypeORM logs.
Features
- Transform TypeORM logs for better readability
- Format SQL queries with proper indentation
- Convert log output to human-readable format
Installation
- Install From Marketplace: TypeORM Log Transformer
- Add Shortcut for easy use
- Open
keybindings.json in VS Code
- Add the following keybinding:
{
"key": "ctrl+shift+t",
"command": "typeorm.transformFromClipboard"
},
{
"key": "ctrl+shift+alt+t",
"command": "typeorm.transform",
"when": "editorTextFocus"
}
Usage
- Select TypeORM log text in your editor
- Copy the selected text to clipboard
- Use the shortcut (Ctrl+Shift+T) to transform the log
- Paste the transformed log into your SQL runner or editor
Development
npm run build - Compile TypeScript to JavaScript
License
MIT
| |