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

Key: RSRP-44776
Type: Bug Bug
Status: Investigating Investigating
Priority: Normal Normal
Assignee: Alexander Zverev
Reporter: Eugene Petrenko
Votes: 0
Watchers: 0
Operations

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

CTRL+Q does not substitute type arguments!

Created: 03 Jul 07 16:06   Updated: 21 Feb 08 19:08
Component/s: Code View - Quick Information
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
class Base<T> {...
public IEnumerable<Pair<T, Bar>> QQQ{ get { ... } }
}
class Inh : Base<Foo> { ... }

somewhere in code:

Inh h = new Inh....

h.QQQ|

Press here CTRL+Q and got signature declared in Base, instead of substituted one.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Zverev - 07 Feb 08 14:01
QuickDoc provides xml documentation for some code element. If QuickDoc display substituted type (as in example), user will be confused due to method header will not reflect documentation. QuickDoc is for general information about code elements, full information about type can be obtained from type variable or tooltip.

Eugene Petrenko - 07 Feb 08 17:22
Thank you. You are right.
Is that possible to create the section describing current type parameters and signature for the method for current usage?

Alexander Zverev - 07 Feb 08 19:15
Yes, it's possible, but we need invent some information layout pattern to avoid mess. Currently I have no any idea about one, may be it is another feature.