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

Ensure the destination directory exist when adding a new file #991

Merged

Conversation

MangelMaxime
Copy link
Contributor

Related to ionide/ionide-vscode-fsharp#1640

add_file_with_folder_demo.mp4

@MangelMaxime MangelMaxime changed the title Ensure the destination directory exist when adding a new file WIP: Ensure the destination directory exist when adding a new file Aug 16, 2022
@MangelMaxime
Copy link
Contributor Author

Oops I just saw that there was already a PR marked as draft here: #872

But it seems like there was still a bug if adding file above or below.

My current PR seems to cover all the cases:

Adding new file above/below inside a directory ✅

add_file_with_folder_below_above_demo.mp4

Adding new file with new directory name above/below a file already inside a directory ✅

Naming is hard...

add_file_with_folder_below_above_demo_2.mp4

@MangelMaxime MangelMaxime changed the title WIP: Ensure the destination directory exist when adding a new file Ensure the destination directory exist when adding a new file Aug 16, 2022
@Krzysztof-Cieslak Krzysztof-Cieslak merged commit 277c035 into ionide:main Aug 16, 2022
@MangelMaxime MangelMaxime deleted the feature/add_file_improvement branch August 17, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants