# vscode-any-swap **Repository Path**: wolray/vscode-any-swap ## Basic Information - **Project Name**: vscode-any-swap - **Description**: vs code extension to swap things - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Any Swap For VS Code Swap parameters, lines, even complicated expressions from current cursor. Behaves just like `Move-Element-Left/Right` in IntelliJ's IDEs, but more intelligently. It is based on a general Abstract-Syntax-Tree (AST) analyzer that enables user to swap expressions recursively while maintaining a correct operator precedence. ## Commands ``` alt+[: anySwap.backward alt+]: anySwap.forward ``` ## Features Place your cursor `|` on the begin/end of a word/paren, then trigger the command to swap things. ![swap](images/demo.gif) ## Release Notes ### 0.1.0 First publish.