@magic5644/graph-it-live 1.0.2 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,25 +67,25 @@
67
67
  ; INHERITS
68
68
  ; --------------------------------------------------------------------------
69
69
 
70
- ; Base class in class_declaration: class Foo : Bar
70
+ ; Primary constructor base type: record Foo(int X) : Bar(X)
71
71
  (base_list
72
72
  (primary_constructor_base_type
73
73
  (identifier) @inherit))
74
74
 
75
- (base_list
76
- (simple_base_type
77
- (identifier) @inherit))
75
+ ; Simple base class / interface: class Foo : Bar, IFoo
76
+ ; In tree-sitter-c-sharp 0.20.x base_list directly contains _type nodes —
77
+ ; there is no 'simple_base_type' wrapper in this grammar version.
78
+ (base_list (identifier) @inherit)
79
+ (base_list (qualified_name) @inherit)
78
80
 
79
81
  ; --------------------------------------------------------------------------
80
82
  ; IMPLEMENTS
81
83
  ; --------------------------------------------------------------------------
82
84
 
83
- ; Interface in base list — tree-sitter C# does not distinguish base-class from
84
- ; interface in base_list, so we capture all base types as @impl if they start
85
- ; with a capital letter convention (best-effort for C#)
86
- (base_list
87
- (simple_base_type
88
- (identifier) @impl))
85
+ ; C# does not distinguish base-class from interface at the AST level.
86
+ ; Both appear as the same _type nodes directly under base_list.
87
+ (base_list (identifier) @impl)
88
+ (base_list (qualified_name) @impl)
89
89
 
90
90
  ; --------------------------------------------------------------------------
91
91
  ; USES (type references in fields, parameters, locals)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@magic5644/graph-it-live",
3
3
  "displayName": "Graph-It-Live",
4
- "description": "AI-first dependency graph & code intelligence for VS Code. Visualize file imports, symbol call hierarchies, and cross-file call graphs. Detect circular dependencies, dead code, and breaking changes. Built-in MCP Server with 21 tools for GitHub Copilot, Cursor, Claude, Windsurf, and Antigravity. Generate AI-friendly codemaps. TypeScript, JavaScript, Python, Rust, Vue, Svelte, GraphQL.",
5
- "version": "1.0.2",
4
+ "description": "AI-first dependency graph & code intelligence for VS Code. Visualize file imports, symbol call hierarchies, and cross-file call graphs. Detect circular dependencies, dead code, and breaking changes. Built-in MCP Server with 21 tools for GitHub Copilot, Cursor, Claude, Windsurf, and Antigravity. Generate AI-friendly codemaps. TypeScript, JavaScript, C#, Go, Java, Python, Rust, Vue, Svelte, GraphQL.",
5
+ "version": "1.9.0",
6
6
  "publisher": "magic5644",
7
7
  "author": {
8
8
  "name": "magic56"
@@ -31,6 +31,9 @@
31
31
  "typescript",
32
32
  "javascript",
33
33
  "python",
34
+ "java",
35
+ "go",
36
+ "csharp",
34
37
  "rust",
35
38
  "vue",
36
39
  "svelte",