Skip to content

Request for a how-to-debug section in the readme #1

Open
@DivineDominion

Description

@DivineDominion

This looks great, so I tried the package :)

I mostly have Swift code lying around, so I fired up eglot/tree-sitter-mode/codemetrics in Emacs 28.2.

The annotations in the buffer look very tasty -- but I couldn't get the % to increase e.g. here:

CleanShot 2023-04-01 at 09 10 31

It's likely because the function itself returns a closure, and so it appears to 'exit early'. But all the complexity is inside the returned closure. That's my guess because this works:

CleanShot 2023-04-01 at 09 13 52

It'd be great if you could add a getting started section to the README to help folks like me troubleshoot this and e.g. inspect the data codemetrics returns. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions