Skip to content

Feature request: Support diffing with clipboard #1

Description

@boredcity

First off, thanks for a great extension :)

I feel like one thing it misses is diffing selected with clipboard content.

My usual use case is debugging tools that spit out JSON and so the flow is:

  • have JSON_1 and JSON_2 in browser / debugger / elsewhere
  • copy JSON_1
  • the open a new file FILE_1
  • paste JSON_1 into it
  • copy JSON_2
  • select content of unsaved FILE_1 and diff it with clipboard
  • close FILE_1 without saving and go fix something in the code 😅

But with this extension AFAIK the only way to do it is to save both JSON_1 and JSON_2 as files and only then diff them (and likely have to remove them later).

Example of plugins that support this:

Happy to try creating PR for this feature if it would help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions