Skip to content

dx fmt eats block comments #2751

@jkelleyrtp

Description

@jkelleyrtp

Problem

Currently we have no special handling for block comments in rsx. Only // and /// are supported.

Block comments are particularly tricky since you need to identify the end of the block comment which means we now need a block comment parser. This isn't too terrible to actually implement but is not that important for the time being.

Environment:

  • Dioxus version:
  • Rust version:
  • OS info:
  • App platform:

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    autoformattingRelated to the autofmt cratebugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions