Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .changeset/add-end-position-to-ast-json.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@pandacss/extractor': patch
---

Add `endLineNumber` and `endColumn` fields to AST JSON output from `panda debug` command.

The `*.ast.json` files generated by `panda debug` now include complete position information for detected CSS usage locations. Previously, only start position (`line` and `column`) was exported. Now the output includes:

- `line`: Start line number
- `column`: Start column number
- `endLineNumber`: End line number (new)
- `endColumn`: End column number (new)

This provides complete span coverage for each detected node, making it easier to precisely locate CSS usage in source files.

Fixes #3407
Loading