pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

[Feature] show source context for error messages

Open yangdanny97 opened this issue 9 months ago • 0 comments

Describe the Bug

We know what position is associated with each error, why don't we show the source code around that position for each error when Pyrefly is invoked from the CLI?

Probably need a --no-error-context or something flag to turn it off as well

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

yangdanny97 avatar May 27 '25 17:05 yangdanny97