Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 C# interpolated strings should be treated as code

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
nitz Posted - Feb 18 2017 : 10:48:46 PM
Currently, the 'Rename' feature in C# treats interpolated strings as if they were just regular strings. (As in: they are only listed if 'show usage in comments and strings' is selected, and they need to be individually ticked to be able to refactor.

Without it, I've missed a handful of symbols from time to time that just end up looking funny when they refer to an old variable name. :)

Since they're actively referring to code symbols, it'd make sense if the rename operation were to treat it like code as well. (This logic could be extended to the "Find All References" and anything else that might look at code like that.)

Thanks!
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Sep 24 2018 : 2:24:07 PM
case=96559 is fixed in build 2291.
accord Posted - Feb 19 2017 : 8:46:55 PM
This is on our list of things to do:

case=96559

Thank you for the feedback.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000