Skip to content

feat(chunker): add C# language support#32

Merged
aeneasr merged 2 commits intoory:mainfrom
avargaskun:feat/csharp-support
Mar 7, 2026
Merged

feat(chunker): add C# language support#32
aeneasr merged 2 commits intoory:mainfrom
avargaskun:feat/csharp-support

Conversation

@avargaskun
Copy link
Contributor

Summary

  • Add tree-sitter chunker for .cs files with 11 query patterns covering: classes, interfaces, structs, enums, records, delegates, methods, properties, constructors, destructors, and event fields
  • Add .cs to supportedExtensions and register in DefaultLanguages
  • Update README to reflect 15 supported language families and add C# row to the languages table

Test plan

  • CGO_ENABLED=1 go test ./internal/chunker/... — all pass
  • CGO_ENABLED=1 go test ./... — full suite passes
  • golangci-lint run — zero issues
  • make build — cross-platform binaries build successfully
  • TestTreeSitterChunker_CSharp validates chunking of classes, interfaces, structs, enums, records, delegates, methods, properties, constructors, and events
  • TestDefaultLanguages_AllExtensionsPresent updated with .cs trivial source

🤖 Generated with Claude Code

avargaskun and others added 2 commits March 6, 2026 20:24
Add tree-sitter chunker for .cs files covering classes, interfaces,
structs, enums, records, delegates, methods, properties, constructors,
destructors, and events.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link

CLAassistant commented Mar 7, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, ty!

@aeneasr aeneasr merged commit 21ce891 into ory:main Mar 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants