History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-32201
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Coox
Reporter: Philip Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Highlight corresponding parameter in string.Format

Created: 20 Nov 06 17:35   Updated: 02 Nov 07 17:39
Component/s: Code Insight
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
RSRP-41644 Highlight format string arguments Normal Closed
RSRP-51885 Highlight String.Format parameters an... Normal Closed

Build: 304


 Description  « Hide
If I have a complex string.Format like:

string sql = string.Format( "select [{0}].[{1}] from ..... [{9}].[{4}]",
Table1.TableName, Table1.ColumnName, ... TableX.ColumnNameX );

It would be really useful if when I placed the cursor in {8} it would highlight/underline the 8th parameter, etc.



 All   Comments   Work Log   Change History      Sort Order:
Philip Lee - 09 Jun 07 11:35
The behaviour should be, for example, put the cursor in say {8} then highlight all other instances of {8} and the corresponding parameter. Put the cursor in the parameter, highlight all instances of {8}.