beicause / call-graph

Generate call graph for vscode in svg or graphviz dot.
Apache License 2.0
73 stars 17 forks source link

any work .callgraphignore file example ? #16

Closed zdx3578 closed 8 months ago

zdx3578 commented 10 months ago

my .callgraphignore still dont work

seshasaisuhashdesu commented 9 months ago

Hey @beicause

This tool is really great. But I need to ignore some folders/files from showing up in the call graph. Could you please atleast update how to use this .callgraphignore file. How should I list my ignore config?

Hey @zdx3578. Any luck regarding this?

beicause commented 8 months ago

Just published a new version. Now it uses node-ignore for .callgraphignore(#17 )

sulfurandcu commented 5 months ago

.callgraphignore doesn't work in windows, i just fixed it in #19

sulfurandcu commented 5 months ago

before the author merges and updates the extention, you can follow below steps to use .callgraphignore in Windows.

  1. open C:\Users\XXXX\.vscode\extensions\luozhihao.call-graph-1.1.3\out\extension.js
  2. locate to line 42:
    const itemPath = item.uri.fsPath.replace(`${workspace.fsPath}/`, '');
  3. replace ${workspace.fsPath}/ with ${workspace.fsPath}\\
  4. done!