Git Product home page Git Product logo

Comments (5)

jbcam avatar jbcam commented on May 12, 2024 1

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 12, 2024

Hi there) Can you please attach screenshot what you mean by “components hierarchy links”? Thanks.

from codecrumbs.

jbcam avatar jbcam commented on May 12, 2024

sure :)

Basically I would be interested to see the same blue links for TS files between parent and child components as on that sample JS project bellow:

Screenshot 2019-03-26 at 6 43 38 PM

thanks!

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 12, 2024

I see. That's "Dependencies tree". So, here is the deal, currently this feature supported only for JavaScript, it's mentioned in README somewhere :). To build dependencies tree I need some way to resolve dependencies based on imports/exports or whatever way that particular language handles it. For JavaScript I use https://github.com/pahen/madge, and for other languages there are placeholders which resolve empty arrays (and waiting for being implemented).
E.g.
https://github.com/Bogdan-Lyashenko/codecrumbs/blob/master/src/server/code-parse/language/typescript/dependencies.js
https://github.com/Bogdan-Lyashenko/codecrumbs/blob/master/src/server/code-parse/language/default/dependencies.js

I just checked https://github.com/pahen/madge now and it seems to support TS as well. It should be fairly easy to implement its usage as well. Are you interested to contribute? 😉

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 12, 2024

Awesome. Check the links to files above. Also see how JS does it https://github.com/Bogdan-Lyashenko/codecrumbs/blob/master/src/server/code-parse/language/javascript/dependencies.js
Ping me if need anything. Thanks)

from codecrumbs.

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.