ReSharper cann't indexing large C++ files?

Does ReSharper have a file size limit when indexing large C++ files? Why does navigation seem to stop working when encountering large files?

0
13 comments

Your find-and-replace feature isn't as well implemented as CLion's— the replacement text field should be placed right next to the search text field.


 

0

I think the "Go to File," "Go to Text," and "Go to Symbol" features could be grouped together like they are in CLion. Additionally, it would be great if "Go to Text" also included a replace option—this way, everything could be accessed with a single shortcut, making it much more convenient instead of having to remember multiple keybindings.


 


 

0

Hello,

Yes, there's a size limit for files for which navigation is available in the editor, around 4MB in 64-bit Visual Studio.

R# doesn't have find and replace, you're probably using the built-in find and replace from Visual Studio.

All go to features are already available from “Navigate | Search everywhere”, this search includes all kinds of results.

Thanks!

0

I have a C++ file in my project that's quite large—over 2 MB. However, ReSharper isn't indexing this file, and I can't navigate to symbols within it. Visual Studio's built-in navigation works fine, though. What could be causing this issue? It seemed to work once, but most of the time it doesn't.


 

0

205127612 Which Visual Studio version are you using? What feature exactly do you mean by “navigate to”?

0

VS2022. For example “go to declaration” 

0

More specifically, the file sql_yacc.cc in the MySQL source code.


 

0

What's the actual size of this file? As I mentioned, code navigation should work inside files with sizes up to around 4 MB.

0
My file is a file generated by Bison.
0

Let's move to the issue tracker. I've filed RSCPP-37125.

Could you please attach this file to the issue, I'll check if I can reproduce the issue? Navigation seems to work for me inside a file with a similar size.

What R# version are you using? The 4MB limit applies to R# 2024.1 or later.

If you could record a screen recording showing the problem and attach to the issue that would be great too.

Thanks!

0

resharper2025.2.4

0

I've already submitted the file and the video.


 

0

Please sign in to leave a comment.