Giter Site home page Giter Site logo

Comments (4)

kisstkondoros avatar kisstkondoros commented on August 24, 2024 2

Thanks for the kind words and for reaching out, it's good to hear that the stuff I did actually helps people 🥰

About support for other languages than js/ts:
The extension is built around https://github.com/kisstkondoros/tsmetrics-core and it does the heavy lifting. It gets the AST from typescript, walks over the nodes of it etc.
Theoritically it should be possible to do something like this using https://pub.dev/packages/analyzer (or some other tool to get the AST) and represent the results using this extension. (via e.g. some sort of plugin mechanism)

At the moment I have no time / motivation to implement it, but I might get back to this in the future.

I'll leave this open, as I think it is in general a cool idea.

And as always PR's are more than welcome 😉

from codemetrics.

peterpoliwoda avatar peterpoliwoda commented on August 24, 2024

Thanks for actually looking into it this fast ha! So, to make this work we'd have to update the tsmetrics-core, with a Flutter analysis section and then include the new version in this extension? Is it possible to run a dart package within VSCode just like you would any js or npm package? The Dart Pedantic linter uses a package installed in your dev_dependencies, slightly different but it helps a ton with the initial problems, but it doesn't solve the code complexity just yet. This AST analysis looks promising.

from codemetrics.

kisstkondoros avatar kisstkondoros commented on August 24, 2024

I would rather create a separate package (fork? maybe) out of tsmetrics-core and tear typescript out of it and include some sort of dart specific AST analysis tool instead. When that is done, the dart specific package would need to be published to npm and the integration code would need to be written in this repo.

from codemetrics.

kisstkondoros avatar kisstkondoros commented on August 24, 2024

Closing due to inactivity

from codemetrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.