Closed johan-smits closed 1 year ago
The position where you left dbg! in commit 3805d94e84bbef86ab14f2db0623f8ebd245e223 PR at #56
With the new release 0.1.11 it gives you debug output:
0.1.11
leptosfmt -q src/ui/comp.rs [formatter/src/formatter/mac.rs:25] &cx = Some( Ident { sym: cx, span: bytes(117..119), }, ) [formatter/src/formatter/mac.rs:25] &comma = Some( Punct { char: ',', spacing: Alone, span: bytes(119..120), }, ) [formatter/src/formatter/mac.rs:50] &nodes = [ Element( NodeElement { open_tag: OpenTag { token_lt: Lt, name: Path( ExprPath { attrs: [], qself: None, path: Path { leading_colon: None, segments: [ PathSegment { ident: Ident { sym: div, span: bytes(128..131), }, arguments: PathArguments::None, }, ], }, }, ), attributes: [], end_tag: OpenTagEnd { token_solidus: None, token_gt: Gt, }, }, children: [ RawText( RawText { token_stream: TokenStream [ Ident { sym: Example, span: bytes(141..148), }, ], context_span: Some( ( bytes(131..132), bytes(155..156), ), ), }, ), ], close_tag: Some( CloseTag { start_tag: CloseTagStart { token_lt: Lt, token_solidus: Slash, }, name: Path( ExprPath { attrs: [], qself: None, path: Path { leading_colon: None, segments: [ PathSegment { ident: Ident { sym: div, span: bytes(157..160), }, arguments: PathArguments::None, }, ], }, }, ), token_gt: Gt, }, ), }, ), ]
The position where you left dbg! in commit 3805d94e84bbef86ab14f2db0623f8ebd245e223 PR at #56
With the new release
0.1.11
it gives you debug output: