Prevent developers from hardcoding specific strings in the code
hi
Exploring methods with ReSharper to prevent developers from hardcoding specific strings in the code.
If any hardcoded strings are detected, warnings should be displayed.
Seeking assistance to confirm whether ReSharper already supports the mentioned requirement.
If it does, could you please provide guidance on how to configure these rules in ReSharper?
Regards,
ByteBuilder
Please sign in to leave a comment.
thank you for contacting us.
We don't have such an option now.
I've found a similar issue in YouTrack: https://youtrack.jetbrains.com/issue/RSRP-477625/Resharper-doesnt-find-localizable-strings-in-xaml-files
You are welcome to comment on it and vote.
Thank you!