codemetrics icon indicating copy to clipboard operation
codemetrics copied to clipboard

Is there a plan to support build in tree-sittter in emacs 29?

Open tickscn opened this issue 2 years ago • 1 comments

tickscn avatar Sep 26 '23 06:09 tickscn

Yes, but probably not shortly. There are a lot of things that need to be worked on the Emacs core side.

jcs090218 avatar Sep 26 '23 08:09 jcs090218

@tickscn @jcs090218 I've ported codemetrics to the Emacs 29+ built-in treesit https://github.com/abougouffa/cognitive-complexity

It is a PoC for now, it works fine but the tests and other stuff aren't ported correctly yet.

abougouffa avatar Jul 18 '24 09:07 abougouffa

We can go from the same approach from ts-fold to treesit-fold (create another package). 🤔 If you want, transfer the repo to this org, and I'll add you as the maintainer. Or I can create another repo, and you can make PRs to that repo. WDYT?

jcs090218 avatar Jul 19 '24 04:07 jcs090218

Yep, we can do that!

However, I've already changed the name and a bunch of other stuff, and I'm planning to do further changes. I think it will be a bit confusing for users to have it under the same organization. Since the API will not be compatible!

I will let you know when I feel I have something stable.

abougouffa avatar Jul 19 '24 16:07 abougouffa

@jcs090218 Can you add me to the org please so I can transfer the ownership?

abougouffa avatar Jul 20 '24 00:07 abougouffa

Invitation sent! Let me know if you have any problem transferring the repo!

jcs090218 avatar Jul 20 '24 00:07 jcs090218

Done!

abougouffa avatar Jul 20 '24 09:07 abougouffa

Thank you! I'll close this issue since it's resolved by the new package! :)

jcs090218 avatar Jul 20 '24 10:07 jcs090218