dotnet / roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.
https://josefpihrt.github.io/docs/roslynator
Other
3.04k stars 253 forks source link

CLI command find-symbol could also offer the --match option #1505

Open jroessel opened 3 weeks ago

jroessel commented 3 weeks ago

While rename-symbol allows fairly fine-grained selection of symbols to rename with the --match parameter where you can use C# to match a symbol, find-symbol is fairly limited and only allows filtering via visibility, attributes and symbol kind (even omitting parameters).

Could find-symbol also offer the --match parameter to allow for custom and more complex symbol selection?

josefpihrt commented 2 weeks ago

Good idea, I would also suggest to implement --match-from.