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

#7451 [showSaveDialog] incompatible with VSCode #7461

Merged
merged 1 commit into from
Apr 2, 2020

Conversation

veredcon
Copy link
Contributor

@veredcon veredcon commented Mar 31, 2020

Signed-off-by: Vered Constantin vered.constantin@sap.com

Fixed API showSaveDialog to be compatible to VSCode in case URI does not exist.

What it does

Fixes #7451
The API should open a dialog in the following manner:

  1. Navigates to a corresponding folder even if a file was given as the URI.
  2. Should fill in a file name in the corresponding field according to the given URI (and even if it does not exist... because someone can click "save" and it will create it.)

How to test

Explained in #issue7451
I created a simple vscode extension using this API: https://github.com/veredcon/vscodetests

Use this vsix:
vscode-ext-sample-0.0.3.zip

and follow the explanation as described in the issue itself.

Review checklist

Reminder for reviewers

Signed-off-by: Vered Constantin <vered.constantin@sap.com>
@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Mar 31, 2020
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the changes and they look good to me functionality wise.
I'll give others a chance to review the pull-request as well.

@akosyakov
Copy link
Member

@vince-fugnitto please merge if no additional feedback by tomorrow

@vince-fugnitto
Copy link
Member

@vince-fugnitto please merge if no additional feedback by tomorrow

Merging! Thank you @veredcon :)

@vince-fugnitto vince-fugnitto merged commit d55d978 into eclipse-theia:master Apr 2, 2020
@veredcon
Copy link
Contributor Author

veredcon commented Apr 2, 2020

Great! Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[showSaveDialog] different behavior from VSCode
3 participants