Skip to content
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

Workbench to support left hand side of diff editor to be editable #8138

Closed
bpasero opened this issue Jun 25, 2016 · 3 comments
Closed

Workbench to support left hand side of diff editor to be editable #8138

bpasero opened this issue Jun 25, 2016 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues ux User experience issues
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Jun 25, 2016

It seems that the left hand side of a diff editor is now suddenly editable with the new search & replace preview feature. The workbench is not really fit for allowing other editors (non-file, non-file-diff) to be editable nor do I believe is it discoverable or expected to be able to type on the left hand side. You will quickly notice that typing in the left hand side suddenly opens the file (as a tab in the background) and you also do not get any dirty indicators in the title area of the editor.

If we want the diff to be editable I suggest to do what we do when you compare 2 files or open a git change: The right hand side is editable because the right hand side is an instance of FileEditorInput.

Otherwise, please disable editing to the left until we have a story from the workbench to make this happen.

@bpasero bpasero added the important Issue identified as high-priority label Jun 25, 2016
@sandy081 sandy081 changed the title Search/Replace: Left hand editor in diff is editable Workbench to support left hand side of diff editor to be editable Jun 27, 2016
@sandy081
Copy link
Member

@bpasero That's a good input. But in case of replace preview, we would need leftie to be editable and rightie as replace preview. Switching them wont makes sense and I do not think these states are same as in git diff. Here we show now and after and in git it is before and now. IMO leftie state should be older than rightie.

Listing down the issues you mentioned when making the leftie editable

  • Workbench support
  • Discoverability
  • Dirty indication

I am disabling this in Search/Replace preview until we get this support from workbench

@sandy081 sandy081 added feature-request Request for new features or functionality and removed important Issue identified as high-priority labels Jun 27, 2016
@sandy081 sandy081 assigned bpasero and unassigned sandy081 Jun 27, 2016
@bpasero
Copy link
Member Author

bpasero commented Jun 27, 2016

@sandy081 yes, we are in agreement 👍

@bpasero bpasero added this to the Backlog milestone Jun 27, 2016
@bpasero bpasero added workbench file-explorer Explorer widget issues ux User experience issues labels Jun 27, 2016
@bpasero
Copy link
Member Author

bpasero commented Jul 15, 2016

#4180

@bpasero bpasero closed this as completed Jul 15, 2016
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 15, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues ux User experience issues
Projects
None yet
Development

No branches or pull requests

2 participants