tree-edit
tree-edit copied to clipboard
Python support
trafficstars
Due to Python's whitespace-based parsing, there are oftentimes nodes with identical boundaries. For example, {foo;} in Java would simply be foo in Python, but the structure still implicitly exists. The node in the hierarchy affects what editing operations are valid, so that's something to keenly be aware of working in Python.
TODO:
- [x] Complete
tree-edit-syntax-snippetsfor all nodes (d151e7f) - [x] Add keybindings in
tree-edit-nodesfor all nodes (d151e7f) - [x] Disallow empty blocks (ab07ec5)
- [x] Fix
tree-edit--parse-fragmentparsing expressions as expression statements (deaac61)