Closed jesse-c closed 1 year ago
Hey! Thanks for checking out the repo :) I actually have some major changes to the generate grammars logic in a local branch so that may or may not address this issue you're hitting here! I don't think tree-edit is useable as-is and I sadly don't have time/energy to work on it this semester so I'd honestly advise against using it currently, hopefully I'll be able to have some time to get the project into a more usable state this winter.
Ah, that makes sense! Structured editing is sort of my dream for my daily editing, so I'm keen to see how it goes—though no pressure. Best of luck with school too 😅
Hi again! I've finally cleaned up and pushed my code to main so tree-edit is once again in a (semi-) working state, now using emacs29 tree sitter. I've done a basic check on the elixir grammar and there doesn't seem to be any immediately catastrophic errors :) Would love to hear feedback if you get a chance to try to pick this up again!
Here's the code I used to test: https://github.com/ethan-leba/tree-edit/commit/dfde62a35915045f355a161737342dcd874a41e8
Two notes:
Hey! tree-edit is fantastic. I've wanted common structural editing for so long, and Treesitter seems to be the way forward.
Elixir is the primary language I use at work, so I thought that I would try and add it. I'm stuck at generating the required files though as the Emacs
dash
package isn't being found.I added it to the
Cask
file.Shell output:
I'm relatively new to Emacs, so there may very well be something silly that I'm missing. I tried this both on macOS and then on a Ubuntu VM.
Update: It's not just
dash
, it's just that that it's in the firstrequire
call indev/tree-edit-generate-grammars.el
.