This page is no longer maintained — Please continue to the home page at www.scala-lang.org

eclipse plugin could tooltip the type of selection

2 replies
Razvan Cojocaru 2
Joined: 2009-11-20,
User offline. Last seen 42 years 45 weeks ago.

This would be really helpful: figure out the resulting type of the selection.

I find myself writing longer and longer expressions, now with map/filter/etc
and sometimes get freaky type mismatches (usually some Products appear out
of nowhere, as scala tries to come up with a type).

...the only solution is breaking it up in pieces and assign to some vals -
just to see the resulting types to figure out my problem.

Instead, it would be cool if i can just select a part of the expression and
the eclipse plugin to show the type of that part of the expression.

Sounds interesting? I'll create a feature request if so...

-----
Razvan Cojocaru,
Work: http://www.sigma-systems.com
Playground: http://wiki.homecloud.ca
Follow me: http://feeds.razie.com/RazvanTech RSS Feed ,
http://twitter.com/razie Twitter .

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: eclipse plugin could tooltip the type of selection

On Thu, Feb 25, 2010 at 1:40 PM, Razvan Cojocaru wrote:
> Instead, it would be cool if i can just select a part of the expression and
> the eclipse plugin to show the type of that part of the expression.
>
> Sounds interesting? I'll create a feature request if so...

Yup, sounds good ... please create an enhancement ticket for it in
Trac. With a patch attached would be even better :-)

Cheers,

Miles

Andreas W
Joined: 2009-01-10,
User offline. Last seen 1 year 14 weeks ago.
Re: eclipse plugin could tooltip the type of selection

+1, that would indeed be nice.

Andreas

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland