How do I debug a problem with vs 2017 intellisense going very slow but only on certain files





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Using vs 2017, I've got a solution with 20 projects in it, all C++, none of them that big.



On certain files in one project, intellisense goes extremely slow, or doesn't work at all.
When I select a class member variable name, it doesn't get highlighted. When I git f12, it will pop up the "Intellisense operation in progress..." dialog for 4-5 seconds and will eventually give me a reference in the header and the cpp file for the member variable, whereas usually, it will just go to one of them and not give me a list.



All other cpp and header files work fine, quick response and I get matching-variable highlighting.



The errors pane shows no errors from intellisense or the build. I have no idea what makes these few cpp files special that they don't work.



I've tried removing the project and adding it back, I've tried deleting the .vs directory.



I'm not sure what else to try.



Anybody have any ideas?



Thanks.










share|improve this question























  • Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

    – Jazimov
    Jan 3 at 21:14











  • I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

    – Jazimov
    Jan 3 at 21:23











  • I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

    – stu
    Jan 4 at 15:20


















0















Using vs 2017, I've got a solution with 20 projects in it, all C++, none of them that big.



On certain files in one project, intellisense goes extremely slow, or doesn't work at all.
When I select a class member variable name, it doesn't get highlighted. When I git f12, it will pop up the "Intellisense operation in progress..." dialog for 4-5 seconds and will eventually give me a reference in the header and the cpp file for the member variable, whereas usually, it will just go to one of them and not give me a list.



All other cpp and header files work fine, quick response and I get matching-variable highlighting.



The errors pane shows no errors from intellisense or the build. I have no idea what makes these few cpp files special that they don't work.



I've tried removing the project and adding it back, I've tried deleting the .vs directory.



I'm not sure what else to try.



Anybody have any ideas?



Thanks.










share|improve this question























  • Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

    – Jazimov
    Jan 3 at 21:14











  • I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

    – Jazimov
    Jan 3 at 21:23











  • I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

    – stu
    Jan 4 at 15:20














0












0








0








Using vs 2017, I've got a solution with 20 projects in it, all C++, none of them that big.



On certain files in one project, intellisense goes extremely slow, or doesn't work at all.
When I select a class member variable name, it doesn't get highlighted. When I git f12, it will pop up the "Intellisense operation in progress..." dialog for 4-5 seconds and will eventually give me a reference in the header and the cpp file for the member variable, whereas usually, it will just go to one of them and not give me a list.



All other cpp and header files work fine, quick response and I get matching-variable highlighting.



The errors pane shows no errors from intellisense or the build. I have no idea what makes these few cpp files special that they don't work.



I've tried removing the project and adding it back, I've tried deleting the .vs directory.



I'm not sure what else to try.



Anybody have any ideas?



Thanks.










share|improve this question














Using vs 2017, I've got a solution with 20 projects in it, all C++, none of them that big.



On certain files in one project, intellisense goes extremely slow, or doesn't work at all.
When I select a class member variable name, it doesn't get highlighted. When I git f12, it will pop up the "Intellisense operation in progress..." dialog for 4-5 seconds and will eventually give me a reference in the header and the cpp file for the member variable, whereas usually, it will just go to one of them and not give me a list.



All other cpp and header files work fine, quick response and I get matching-variable highlighting.



The errors pane shows no errors from intellisense or the build. I have no idea what makes these few cpp files special that they don't work.



I've tried removing the project and adding it back, I've tried deleting the .vs directory.



I'm not sure what else to try.



Anybody have any ideas?



Thanks.







visual-studio-2017 intellisense






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 at 16:58









stustu

3,870155886




3,870155886













  • Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

    – Jazimov
    Jan 3 at 21:14











  • I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

    – Jazimov
    Jan 3 at 21:23











  • I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

    – stu
    Jan 4 at 15:20



















  • Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

    – Jazimov
    Jan 3 at 21:14











  • I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

    – Jazimov
    Jan 3 at 21:23











  • I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

    – stu
    Jan 4 at 15:20

















Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

– Jazimov
Jan 3 at 21:14





Do you run any add-ins, such as ReSharper? Beyond that, if you've not updated Visual Studio to a recent or to the latest version, doing so might help. There were some intellisense issues in earlier VS 2017 versions, so it depends how dated your installation is.

– Jazimov
Jan 3 at 21:14













I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

– Jazimov
Jan 3 at 21:23





I'll defer to others more familiar with C++ within VS (I'm a C# programmer, primarily), but it might trigger some ideas for you if you missed the various IntelliSense settings available in Tools | Options | Text Editor | C/C++ | Advanced. I would also try to disable IntelliSense there, then re-enable it, just to see if that triggers a process not fixed by deleting the .vs folder...

– Jazimov
Jan 3 at 21:23













I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

– stu
Jan 4 at 15:20





I don't use resharper, I hear it's wonderful except that it makes everything not work. I'll try the disabling and restarting there, thanks.

– stu
Jan 4 at 15:20












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026617%2fhow-do-i-debug-a-problem-with-vs-2017-intellisense-going-very-slow-but-only-on-c%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026617%2fhow-do-i-debug-a-problem-with-vs-2017-intellisense-going-very-slow-but-only-on-c%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

ts Property 'filter' does not exist on type '{}'

mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window