Sitelet https://github.com/andrewferrier/debugprint.nvim/issues/119
Skip to content

Rust: debug log can be formatted by rustfmt into multiple lines #119

Description

@xixiaofinland

For example, if the line is beyond the max_width, rustfmt will auto-formatted it into multiple lines:

            eprintln!(
                "gopro[6]: rewrite.rs:213: try_add_standalone_suffix={:#?}",
                try_add_standalone_suffix
            );

then the command to delete debug lines will only delete one line.

            eprintln!(
                try_add_standalone_suffix
            );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions