tree-edit icon indicating copy to clipboard operation
tree-edit copied to clipboard

v1.0 roadmap

Open ethan-leba opened this issue 4 years ago • 0 comments
trafficstars

Editing features

  • [x] Copy Should we be storing the node type on copy, or inferring it on usage? If we store type on copy, where does that live?
  • [x] Paste New text-object/type should be added, so node in the clipboard can be replace, add, wrap, etc. If inferring on usage, each language could need to provide some wrapper string to parse correctly, i.e. 3 is not a valid C expression.
  • [x] #23 Copy current node, replace with provided, avy select a node with current node's type, paste and remove from clipboard. It should fail if there are no nodes to replace.
  • [x] Undo Just needs to update the overlay afterwards.
  • [ ] Change If the current node is one that can determined by a regex, delete node and drop into insert mode. On exit of insert mode, re-enter tree mode with same node selected.
  • [ ] #41 http://oremacs.com/lispy/#lispy-move-down
  • [ ] #44 http://oremacs.com/lispy/#lispy-raise-some
  • [x] Per-mode customization of formatting and indentation of inserted nodes

Language support

My thoughts are that at least 3 languages should be supported before the API is locked in, as it's likely that there's been some bias in the API.

Leaning towards Java, Python, and Bash, as that's what I'm familiar with.

Documentation

  • [x] Fully flesh out README documentation
  • [x] Add some SVGs?
  • [ ] #28

ethan-leba avatar Aug 16 '21 12:08 ethan-leba