Navigate to type of list

已回答

When I want to see the type of a variable I use ctrl-b. This works fine.

For lists though this isn't that useful. Is there anyway to go to the type of the list rather than the list?

Thanks.

0

Navigate | Type Declaration?

0

That doesn't work. If I have 

 

List<String> list = new ArrayList<String>();

and I do Navigate | Type Declaration on the list variable, I get taken to List, whereas I want to be taken to String in this case.

 

Is there a way to do that?

Thanks.

0

Not in one step. What if you have a Map with 2 generic types?

0

请先登录再写评论。