-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For compare function add ability to DnD for file`s content into editor #182807
Comments
@mjbvz I think you did some work on different drag&drop behaviors (insert path). What do you think of this feature? Maybe it would be some "Hold [Ctrl] to compare with file"? |
I personally would never use this feature. We also have drop to open and drop into, so I am not in favor of adding another way of dropping content without a very good use case |
This is not about usage or not, this is basic fundamental feature that exists in many other IDEs: side-by-side diff for texts |
yes and there are ways to do that already without dnd |
ok, how to do this: one file from this project / git, one from another, I need compare them |
If both files are in the same project, select both in the explorer and use Maybe we could add another way to compare files if there's a need, but DND doesn't seem like the correct UX |
Its first thing you think about to compare, DnD needed and is used in other also well-known IDE. year ago when I requested this feature answer was also "it doesnt actual", but as we see it is added |
@psnet just for future reference, can you do research which editors/IDEs support this? (ideally share gifs) IntelliJ does not seem to support this. |
Full research dont have time, but exactly IntelliJ products have this functionality. Open command "open new diff window" and you will see side-by-side windows both accept DnD files into each side for comparison |
Add ability to put contents of file using DnD to editor:
Now if you press
shift
it puts path of file into editorThe text was updated successfully, but these errors were encountered: