You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "JeremyYao (via GitHub)" <gi...@apache.org> on 2025/05/19 16:43:13 UTC

[I] No Formatter for DFDL Exists [daffodil-vscode]

JeremyYao opened a new issue, #1261:
URL: https://github.com/apache/daffodil-vscode/issues/1261

   ### Description
   When editing a DFDL file and trying to format the document, this pops up: 
   
   ![Image](https://github.com/user-attachments/assets/194e2147-f604-40fc-84fe-fc20b8198022)
   
   It would be nice to have a formatting functionality for the extension. 
   
   ### Remedy Recommendations
   Incorporate formatting functionality from an already existing xml formatter pictured below
   
   ![Image](https://github.com/user-attachments/assets/00c39c2b-dbcc-4db6-8c3b-87742479bd4f)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] No Formatter for DFDL Exists [daffodil-vscode]

Posted by "michael-hoke (via GitHub)" <gi...@apache.org>.
michael-hoke closed issue #1261: No Formatter for DFDL Exists
URL: https://github.com/apache/daffodil-vscode/issues/1261


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] No Formatter for DFDL Exists [daffodil-vscode]

Posted by "michael-hoke (via GitHub)" <gi...@apache.org>.
michael-hoke commented on issue #1261:
URL: https://github.com/apache/daffodil-vscode/issues/1261#issuecomment-3202202025

   > DFDL language is based on XML and any xml formatter should work for this. We do not want to prescribe this particular extension. This may create some unintended consequences to the dfdl schema (i.e. tis xml-formatter may convert multiple lines of schema in to one line). This type of dependencies may also creates issues when using VSCode over ssh, see issue #1335. Another concern is the compatibility with any other xml formatter extensions if already installed on user's VSCode instance.
   > 
   > I suggest not to merge this PR and close #1261 and #1263 without merging.
   
   Stealing last comment from #1263 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] No Formatter for DFDL Exists [daffodil-vscode]

Posted by "JeremyYao (via GitHub)" <gi...@apache.org>.
JeremyYao commented on issue #1261:
URL: https://github.com/apache/daffodil-vscode/issues/1261#issuecomment-3155716383

   The formatter should not condense elements that have many attributes and span across multiple lines in one line. It may be worthwhile to look into another formatter. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org