Skip to main content

C# language indexer plugin for CodeMap

Project description

codemap-csharp

A C# language indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-c-sharp:

AST node Symbol kind
namespace_declaration (incl. qualified_name) namespace prefix (recursed into)
class_declaration class
interface_declaration class (extra.csharp_kind=interface)
struct_declaration class (extra.csharp_kind=struct)
record_declaration class (extra.csharp_kind=record)
enum_declaration class (extra.csharp_kind=enum)
delegate_declaration class (extra.csharp_kind=delegate)
method_declaration method
property_declaration field (extra.csharp_kind=property)
field_declarationvariable_declarator field
enum_member_declaration field

Top-level statements (C# 9+) are not surfaced as named symbols.

Install

pip install codemap-csharp

File patterns

  • *.cs, *.csx

Limits

  • File-scoped namespaces (namespace App;) and block-scoped namespaces are both handled, but global usings are not emitted as symbols.
  • Partial classes are emitted as separate symbols per file — the index layer does not currently merge them.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_csharp-0.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_csharp-0.4.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file codemap_csharp-0.4.2.tar.gz.

File metadata

  • Download URL: codemap_csharp-0.4.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_csharp-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a1def0fb247ef2e32fffd42cfd8e07c9b7ca4018bad1d7715222991b5894b9bf
MD5 7bf94776d00ea9839b2f670b482fde15
BLAKE2b-256 9706ebf04dd058e78f4ccff4763ba6d1995110a93962ba9fea52beeb0b11cf43

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_csharp-0.4.2.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_csharp-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: codemap_csharp-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_csharp-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48375183b8baa1e08d9b3400d4796b9571d8f13cd56f5480d76282de549a06e8
MD5 67ec6f6dcdbfeb8d87d0d4d940140840
BLAKE2b-256 efb5e4da57e04280f01c02d9c48629dc53a10f510c15a8b91361df9be33af27b

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_csharp-0.4.2-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page