emacs-vs / codemetrics

Plugin shows complexity information
GNU General Public License v3.0
66 stars 7 forks source link

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

Closed tickscn closed 4 months ago

jcs090218 commented 1 year ago

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

abougouffa commented 4 months ago

@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.

jcs090218 commented 4 months ago

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?

abougouffa commented 4 months ago

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 commented 4 months ago

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

jcs090218 commented 4 months ago

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

abougouffa commented 4 months ago

Done!

jcs090218 commented 4 months ago

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