Skip to content

Update Copilot instructions to search for call chains across multiple lines #3137

@heaths

Description

@heaths

I've noticed lately that Copilot often greps for function call chains like obj.foo().bar() when, in fact, rustfmt might've reformatted it across multiple lines like,

obj
    .foo()
    .bar();

Update the copilot-instructions.md to take this into account whenever it's grep'ing for function call chains.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions