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

Fix saving C# project into a single file | #66 #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TSRBerry
Copy link

Just saw #66 and how nemec commented the responsible line for that behavior.
I haven't really spent enough time with the code to confidently say that this works for every invocation of the Save() method.
But since there are filters for single and project files, I'm not really sure if my solution is good enough.

While debugging I couldn't figure out how to get the save dialog of this method to open for anything else than for saving a project, so I decided to leave it that way and PR it.

Copy link
Member

@jeffreye jeffreye left a comment

Choose a reason for hiding this comment

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

Have you tried if this work with saving as a single file?

@TSRBerry
Copy link
Author

image
Are you referring to clicking on "Save Code" for a single class? This results in saving a single C# file.

Co-authored-by: Dan Nemec <dan@nem.ec>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants