You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,39 +20,39 @@ The Generate Directed Graph Markup Language ([dgml](https://docs.microsoft.com/e
20
20
21
21
The dgml file can be viewed and modified using Microsoft Visual Studio. I don't believe there is an extension for Visual Studio Code yet for viewing dgml files.
### Show the component hierarchy [#](#show-component-hierarchy-'Show the component hierarchy')
26
26
27
27
If you don't want install Microsoft Visual Studio or you are on a platform not supporting Microsoft Visual Studio to view the dgml files with the component relationship, you can use the 'Show the component hierarchy' command to render the hierarchy and show it directly in vscode.
28
28
29
29
This command uses a vscode webview extension component to render the hierarchy using html, javascript and the [Vis.js](https://visjs.org/index.html) javascript library. This has the downside that copying the generated graph to the clipboard is not yet possible due to limitations in the vscode extension api. So to overcome this limitation the generated graph can be saved as a Png file to the root of the project you are analyzing.
### Show the directory structure of the project [#](#directory-structure-'Show the directory structure of the project')
38
38
39
39
This command lists the entire directory structure of the currently open project. Sometimes this can be a quick way to get an overview of the project if you are new to the project before og maybe need to document it.
40
40
41
41
The directory structure will be listed in the output window for the AngularTools extension for easy copy/pasting.
42
42
43
-

43
+

44
44
45
45
### Generate list of packages used in the project [#](#package-json-to-markdown-'Generate list of packages used in the project')
46
46
47
47
Sometimes your boss or a customer requires documentation of which packages is used in the project. This command can save you a lot of tedious manual work by analyzing the package.json file and for each referenced package queries the [npmjs.com](https://www.npmjs.com/) website to fetch the description for the package and from that generates a Markdown file with a table of the packages with their descriptions.
48
48
49
-

49
+

50
50
51
51
### List all imports [#](#list-all-imports-'List all imports')
52
52
53
53
This command will analyse all Angular components in the project and collect all the imports of the components together with the number of times the imported component is used. This can be useful when refactoring or identifying frequently used modules. Usually frequently used modules needs extra attention or care before being changed during refactoring. You can also use the command to identify modules that are not referenced in a consistent way where some components are using relative path and some components using path-aliases.
54
54
55
-

55
+

Copy file name to clipboardExpand all lines: package.json
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,14 @@
1
1
{
2
-
"name": "angulartools",
2
+
"name": "vscode-angulartools",
3
+
"publisher": "coderAllan",
3
4
"displayName": "AngularTools",
4
-
"description": "Various tools for Angular development",
5
-
"version": "0.0.1",
5
+
"description": "AngularTools is a collection of tools for exploring an Angular project, help you with documenting, reverse engineering a project or help when refactoring.",
0 commit comments