-
Notifications
You must be signed in to change notification settings - Fork 184
Replace File Extension based on user selection #2620
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
base: master
Are you sure you want to change the base?
Conversation
acf2c98
to
33e198c
Compare
@vogella Could you check this? |
Test Results104 files - 11 104 suites - 11 6s ⏱️ - 13m 0s Results for commit 7f931cb. ± Comparison against base commit ac18a18. This pull request removes 4474 tests.
♻️ This comment has been updated with latest results. |
LGTM from looking at the code |
@orionll please confirm that this patch solves your problem |
@vogella, with this change the dialog returns a correct extension. |
33e198c
to
51d47bd
Compare
Currently if there is no file extension for the file, then only the new extension is getting appended; but there is no implementation if there is an extension already present for the file and the user wants to overwrite it; The PR is raised to include that condition too.
51d47bd
to
7f931cb
Compare
Build failing due to eclipse-tycho/tycho#5473 |
Nope... see comment. Either Infrastructure is unstable or some changes in PDE/ApiTools related in Platform... One might want to run a local maven build and attach a debugger to see what actually is missing here. |
Refs: #2566
Fix file extension in macOS
Previously, the FileDialog would only append the selected file extension if there is no extension attached to the filename. However, if the filename already had an extension, it has to removed to accommodate the user input extension.
This PR updates the implementation to replace the existing extension with the user input file extension.