Comments (5)
from codecrumbs.
Hi there) Can you please attach screenshot what you mean by “components hierarchy links”? Thanks.
from codecrumbs.
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:
thanks!
from codecrumbs.
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.
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)
- Corrupted Content Error HOT 12
- [IDEA] Think about usage of js-callgraph project HOT 1
- Codecrumb number gets cut off
- Highlighting problem with React Syntax
- Highlighting and Auto-Focus in Code and Crumbs section of sidebar
- Change metaKey to something more cross-OS friendly HOT 1
- Java project doesnt work HOT 6
- Reason/OCaml Support HOT 1
- Cannot parse certain ES6+ syntaxes HOT 1
- Can not access the url http://localhost:2018/ HOT 1
- Customizing Flow Chart HOT 2
- add support for codecrumbs.config.js file (as alternative to CLI params) HOT 1
- Dependencies are not resolved at all. HOT 9
- Add usage of React.memo to UI components (to reduce number of redundant re-renders)
- Add e2e tests with testcafe
- codecrumbs with -i ide feature HOT 8
- Swift and ObjectiveC support
- Client can't connect to server in WSL environment HOT 2
- How to configure codecrumbs to work with Typescript project? HOT 4
- Codecrumbs hasn't launched on Python project HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecrumbs.