-
Notifications
You must be signed in to change notification settings - Fork 185
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
Conversation
acf2c98 to
33e198c
Compare
|
@vogella Could you check this? |
|
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
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. |
02bc0ad to
af249f1
Compare
|
Build looks good; Merging this now |
af249f1 to
94b6c4b
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.
94b6c4b to
d4c041e
Compare
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.