simonacca / tASTe

vscode extension for structural editing in 50+ languages
https://marketplace.visualstudio.com/items?itemName=simonacca.taste
MIT License
6 stars 0 forks source link

Implement Slurp/Barf #5

Closed simonacca closed 2 months ago

simonacca commented 2 months ago
      {
        "command": "taste.BarfForward",
        "title": "Taste: Last element of parent as next sibling of parent"
      },
      {
        "command": "taste.SlurpForward",
        "title": "Taste: next sibling of node becomes last child of node"
      }
simonacca commented 2 months ago

This is tricky because the separation between elements is language-dependent

simonacca commented 2 months ago

Done in https://github.com/simonacca/tASTe/commit/880d97a3fde51f027f6b48d239f07d4c18f1f1d4