Code Monkey home page Code Monkey logo

vscode-angulartools's People

Contributors

coderallan avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vscode-angulartools's Issues

Feature request: ability to document relationships

While the graphs for the module hierarchy / component hierarchy / dependency injection are already quite useful, I image that being able to document the relationship (and have the graph generator add it as label to the edges of a graph would be very useful.

Exemplary, in a component hierarchy graph, component A includes components B and C. But what the graph does not show (yet), is that A only includes B or C on specific conditions. For instance, B might only be included if the user is logged into the application, otherwise C is included.

I don't have a concrete implementation approach for you, but it would be nice if a developer could somehow add this piece of knowledge (in the form of a simple string). For instance, for the component hierarchy, as a developer I would be fine with adding TSDoc to my component classes, and have AngularTools looks for a specific keyword, e.g. @linksto <name of other component> - <text describing the relation>, which it uses to enrich the links (graph edges) that it detects as usual.

Feature Request: Include folders

I have a monstrous Angular app. The component hierarchy errors out due to stack size. There's a way to exclude folders, could we have a way to 'include' folders? If set, then only those folders are scanned.

Possible case issue in exploring folders?

Hi, I'm trying the extension on a Linux system and launching the "Show a graph representing the module hierarchy" I got a popup with the following sort of error (exactly as I see it with respect to linebreaks):

A system error occured (ENOENT: no such file or directory, scandir '/-
home/paofos/work/gitrepos/proj-name/src/appname')

The folder does exist but it is

home/paofos/work/gitrepos/proj-name/src/appName (please note the difference in caseness)

Thank you

[improvement] "Show the project structure"

Hi,
I'm experimenting with your extension. A command i just tried was "Show the project structure".
In the AngularTools Output-window i get the output of something like a "dir/ls"-command. Ok, it does work. Good!

But is it expected that the "node_modules"-folder and ".git"-folder is part of the output? As i'm using NX, i also see folders like "tmp" and "coverage". This all ain't wrong, but i'm just having a hard time to understand the intentions of the "Show the project structure"-command.

Maybe it would be good to filter the project-structure using the .gitignore file?

thanks!

Feature improvement request: include routes into component hierarchy graph

Hi Allan, your plug-in really helps to visualize dependencies in Angular projects. I particularly like the component hierarchy graph. I noticed, however, that if a component internally uses other components indirectly, via having a <router-outlet></router-outlet> in its HTML template (and routes defined in, say, the AppRoutingModule), then this dependency is missing from the component hierarchy graph.

Do you see a way to also include these indirect dependencies?

Not working (on NX, remote WSLg) ?

Hi,
I saw a collegue of mine using your AngularTools-extension on Visual Studio .NET. It looked very interesting and powerfull, but i use VSCode. I installed the extension on my VSCode, without any errors. But unfortunately none of the AngularTools actions do something. I also didn't see any error-messages appear.

The details of my machine:

  • VSCode v1.86.1
  • AngularTools extension v1.13.0
  • AngularTools extension enabled on the Remote-WSL-environment
  • Repository a NX-workspace (integrated monorepos)

Dependency injection between services (not just components and services)

Hey Allan,

I've been using your plugin to great effect. The dependency injection graph is a great aid for refactoring.

One feature I'm missing is showing the dependency injection between services (i.e., when one service injects another service). It would be very useful to understand these dependencies as well in my projects.

Service dependency graph

First of all I must say this plugin is awesome.

This is a feature request.
A very useful feature in my opinion is a dependency injections tree for components and services.
Sorry about my limited drawing skills
image

Thanks!

Doesnt work in latest VSC

I cant get this extension to work in the latest Visual Studio Code. I install it, but doesnt see its symbol (should there be one?) in the left margin, and can't find any other way to access it whatever I try.
I have the Angular Language Service extension installed. Could that be the problem?

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.