Skip to content

Support --diff parameter with reading from stdin #110426

@septatrix

Description

@septatrix

Issue Type: Feature Request

Calling cat /some/file | code --diff /some/other/file - simply opens /some/other/file instead of generating a diff between its content and stdin. Obviously one would not cat the stdin but the point still holds and generating an intermediate file is not always desired nor possible.

VS Code version: Code 1.51.0 (fcac248, 2020-11-05T18:16:10.374Z)
OS version: Linux x64 5.8.0-26-generic

Metadata

Metadata

Assignees

Labels

diff-editorDiff editor issuesfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions