Skip to content

✨ Add TypeScript comment type support (issue #69)#82

Open
arnoox wants to merge 5 commits into
useblocks:mainfrom
arnoox:issue/69-typescript-support
Open

✨ Add TypeScript comment type support (issue #69)#82
arnoox wants to merge 5 commits into
useblocks:mainfrom
arnoox:issue/69-typescript-support

Conversation

@arnoox

@arnoox arnoox commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR implements #69 by adding TypeScript as a supported comment_type with .ts/.tsx defaults for source discovery.

Changes

  • Add ts to supported comment_type values in source discovery config.
  • Map TypeScript discovery extensions to .ts and .tsx.
  • Add tree-sitter TypeScript dependency and parser wiring in analyse utilities.
  • Add TypeScript scope/comment parsing tests.
  • Add discovery fixture coverage for TypeScript files.
  • Add integration analyse test coverage for TypeScript input.
  • Update docs for supported languages and discover examples.
  • Add changelog entry under Upcoming.

Verification

Ran:

  • uv run --group testing pytest tests/test_source_discover.py tests/test_src_trace.py tests/test_analyse_utils.py tests/test_analyse.py

Result:

  • 148 passed

Linked issue

@arnoox arnoox requested a review from patdhlk June 24, 2026 20:09
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.

Feature: Add TypeScript language support

1 participant