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

Less rebuilds during between debug sessions #43

Open
gSpikey opened this issue Dec 14, 2023 · 0 comments
Open

Less rebuilds during between debug sessions #43

gSpikey opened this issue Dec 14, 2023 · 0 comments

Comments

@gSpikey
Copy link

gSpikey commented Dec 14, 2023

After installing this extension, I noticed between debug sessions, that VS would rebuild even if I didn't change any source code. (might not notice if you're a C# guy, but believe me, us C++ guys get hammered by this if we have a common header file opened in VS, it can lead to a 10 minute build penalty). Anyhow, turned out to be this extension was the root cause.

Here's the fix to the ShouldSaveDocument() function that solves the issue
:
internal bool ShouldSaveDocument(Window window, OptionPageGrid optionsPage) { if (!window.Document.Name.Contains("*")) return false; ....// all the original code can stay }

VS adds a * to the modified and unsaved buffers. Now it only saves modified files and is so much more useful for me. I've tested this change and it resolved my issue. Hopefully you'll include the fix in the next update.

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

No branches or pull requests

1 participant