Community Tutorial: How to scope Rider TODO tab to project source code

How to scope Rider TODO tab to project source so only TODOs, BUGs and other filters that you declared are visible; Otherwise, rider will show you 60k + files.

https://dev.epicgames.com/community/learning/tutorials/mMMq/unreal-engine-how-to-scope-rider-todo-tab-to-project-source-code

This didn’t work for me. However, this did file:Source/TCoOpAdventure//*

1 Like

I’m sorry to say, NEITHER of these suggestions is working/useful for me.

For me, @xXbollerXx 's suggestion not only doesnt work, it isn’t even accepted by rider as a valid scope string:

Unknown scope type at position 20

And @Cody325M 's solution would only work if ALL YOUR CODE was in the default module for the project.

If you are making a project of any real size, you will likely have many modules, and most probably they will be implemented inside plugins.
Each plugin with C++ code will have at least one module.

From browsing the jetbrains forums, it seems there are some longstanding bugs with the entire scope system anyway.
Especially related to when you are NOT using the .SLN files (which can get routinely wiped and remade by Unreal anyway.)

So, it looks to me that right now, if you want this feature to work, you would need to add individual include paths for EACH plugin specifically, as well as EACH module in your main project.
You CAN’T just add either the ‘plugins’ or ‘source’ folders, as they are considered the SAME; you would get all the engine plugins and source included as well.
(Which is the problem we wanted to avoid in the first place.)

So, yeah, that much will work, and its only a ‘medium’ pain in the backside to do it, but you need to remember that whenever you add another plugin or module to the project, you will have to go and add it to the scope definition.

An example might look like this:

file:Plugins/PluginOne/Source//*
file:Plugins/PluginTwo/Source//*
file:Plugins/PluginThree/Source//*
file:Plugins/PluginFour/Source//*
file:Source/PrimaryGameModule//*

If anyone knows a better solution, or is watching down the line after Jetbrains fix this or something, please, chime in… It would be so much nicer to have this work in a more ‘dynamic’ way.