Message from discussion
Improvement Request on Highlighting Implicit Conversions
Received: by 10.42.250.133 with SMTP id mo5mr5092504icb.23.1346060861111;
Mon, 27 Aug 2012 02:47:41 -0700 (PDT)
X-BeenThere: scala-ide-user@googlegroups.com
Received: by 10.231.62.200 with SMTP id y8ls5677215ibh.5.gmail; Mon, 27 Aug
2012 02:47:39 -0700 (PDT)
Received: by 10.42.132.5 with SMTP id b5mr5123426ict.7.1346060859592;
Mon, 27 Aug 2012 02:47:39 -0700 (PDT)
Received: by 10.42.132.5 with SMTP id b5mr5123424ict.7.1346060859579;
Mon, 27 Aug 2012 02:47:39 -0700 (PDT)
Return-Path: <hossein.ha...@gmail.com>
Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179])
by gmr-mx.google.com with ESMTPS id rf8si4287360igb.2.2012.08.27.02.47.39
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 27 Aug 2012 02:47:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of hossein.ha...@gmail.com designates 209.85.214.179 as permitted sender) client-ip=209.85.214.179;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of hossein.ha...@gmail.com designates 209.85.214.179 as permitted sender) smtp.mail=hossein.ha...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-ob0-f179.google.com with SMTP id eh20so6744888obb.10
for <scala-ide-user@googlegroups.com>; Mon, 27 Aug 2012 02:47:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
bh=Qle8Qd3Yod2//EC6QD+UHe/N2T6CpjaDH582QfAay50=;
b=gBrrLiJRNjVOTaEnh5ptzHh9geLaPQMeY2p/jI0Uybb8jr4yS45+kqmJLAZPTL6Rz+
p2C8Y4tudWhUp/FaDI1omE4geH/UnQhXGKsIQVQzjIBxfT7Mr1H3fIQKYdBcJ7/mE2ba
XkhIBWB83SwEsisSiZyCpMbOGtqb6w6PAfLoJXDNNr0T2s6RiW0d/VdofN2iO1wjs5to
VEkXiRh8jiL0bW2tFyk92J1JYvJNHBrX8UBODwpXNCWa3rmL7kWt8BUWaXXljmPbddZM
3oQsJGrp7fnOaLW3mVDLFPGIqct9pdnyQK59eXghExZxJ9p4flPe8sSVytQ7KcUxIRMl
7b+w==
MIME-Version: 1.0
Received: by 10.182.45.42 with SMTP id j10mr461427obm.60.1346060859237; Mon,
27 Aug 2012 02:47:39 -0700 (PDT)
Received: by 10.60.38.161 with HTTP; Mon, 27 Aug 2012 02:47:39 -0700 (PDT)
In-Reply-To: <CAOwe9fZZcnp-TNM69fwTLs0nvtMeMRjhjR08ti2+WvAgCgA...@mail.gmail.com>
References: <CADVSO_h41-+PC1zccxdC4O76cnEmSi0SebyPVoRdSBJd6m5...@mail.gmail.com>
<6e3f4c2c-0b83-4a8a-a3c6-93732f4dd...@p5g2000vbl.googlegroups.com>
<CAAtns_CuH5tUFQY4R9gioLgG3xMkLuAbNvvbxRfkuXBcNnZ...@mail.gmail.com>
<4946FD1C-A54B-4AE6-8672-B46DA07E9...@typesafe.com>
<CAAtns_BBsASNNRuK485MAkj_8Gq05NaEHg3qHUnb=LoHYQ=...@mail.gmail.com>
<CAAtns_DmPOszCJX3CgeEHMn1Q4pTWibBZWY5rV+evYSoV8N...@mail.gmail.com>
<045aa5cd-2d10-473d-a3a9-63b6a568b75f@googlegroups.com>
<CAFku-E2amDfNWh9jPSdQvR5XquWpHkw33zbb92K8X1di85s...@mail.gmail.com>
<CAOwe9fZZcnp-TNM69fwTLs0nvtMeMRjhjR08ti2+WvAgCgA...@mail.gmail.com>
Date: Mon, 27 Aug 2012 11:47:39 +0200
Message-ID: <CADVSO_h5LJv48oZTK3kJEYTYWjQyH7+1dKEeqUqaOtbxrYF...@mail.gmail.com>
Subject: Re: [scala-ide-user] Improvement Request on Highlighting Implicit Conversions
From: "Seyed H. HAERI (Hossein)" <hossein.ha...@gmail.com>
To: scala-ide-user@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I have absolutely no experience in Eclipse plugin development. But,
this one, I'm sure will be useful to my research too. (I'm a
programming languages guy after all. :p) So, I'm up for it! :) But
will need a lot of startup guidance...
On 27 August 2012 10:18, iulian dragos <jagua...@gmail.com> wrote:
>
>
> On Mon, Aug 27, 2012 at 4:54 AM, Rafael de F. Ferreira
> <raf...@rafaelferreira.net> wrote:
>>
>> This discussion reminded me of a feature request I've been meaning to
>> make for a while. Highlighting implicits and showing inferred
>> semicolons is useful but perhaps already too cluttering, and I think
>> Scala tooling would benefit from more desugaring info. I'd love to see
>> a "Code Inspection" panel that mirrored a section of the currently
>> focused source code (perhaps visually similar to the JDT's Declaration
>> View) with toggles to show synthesized code such as "implicits
>> expansion", "inferred semicolons", "inferred member types",
>> "for-comprehension desugaring", "extractor desugaring", etc.
>>
>> It's possible to show all that information on the existing editor
>> given the appropriate highlights and tooltips, but having it all
>> available on a separate pane just a glance away would be a net win
>> IMO. What do you guys think?
>
>
> This is indeed something very useful, especially when developing the IDE
> itself. I've been meaning to do a 'dev support plugin' for a while, with =
the
> intention that a separate view shows you information about the current
> selection:
>
> - AST nodes
> - position information (many times when semantic actions don't work as
> expected, it's the position information that is skewed or otherwise
> inaccurate)
> - symbol and type
> - pretty-printed de-sugared trees (this would include expanded macros in
> 2.10)
>
> It would be a fun project, but I can't fit it in the current milestone
> plans, and we're already late. I'd be motivated to kick it off if someone
> could lend me a hand.
>
> cheers,
> iulian
>
>>
>>
>>
>> --
>> Rafael de F. Ferreira.
>> http://www.rafaelferreira.net/
>>
>>
>> On Fri, Aug 24, 2012 at 11:37 AM, Damian H <damianhe...@gmail.com> wrote=
:
>> > thanks for pointing that out Miles, the underlining has been making my
>> > eyes
>> > hurt!
>> >
>> > On Thursday, 23 August 2012 16:56:24 UTC+1, Miles Sabin wrote:
>> >>
>> >> On Thu, Aug 23, 2012 at 4:51 PM, Miles Sabin <mi...@milessabin.com>
>> >> wrote:
>> >> > In the light of experience I'd say that underlining doesn't work ve=
ry
>> >> > well at all as a highlighting mechanism for implicits. I find the
>> >> > markers in the margin a lot more useful and I'd be happy to turn th=
e
>> >> > underlining off completely so long as the markers remained.
>> >>
>> >> Ahem ... well, I just went and took another look, and what I want is
>> >> already possible.
>> >>
>> >> It's in preferences, under,
>> >>
>> >> General =3D> Editors =3D> Text Editors =3D> Annotations =3D> Scala =
Implicit
>> >>
>> >> and then deselect the "Text as" option. The underlining goes, but the
>> >> markers are still present :-)
>> >>
>> >> Cheers,
>> >>
>> >>
>> >> Miles
>> >>
>> >> --
>> >> Miles Sabin
>> >> tel: +44 7813 944 528
>> >> skype: milessabin
>> >> gtalk: mi...@milessabin.com
>> >> g+: http://www.milessabin.com
>> >> http://twitter.com/milessabin
>
>
>
>
> --
> =AB Je d=E9teste la montagne, =E7a cache le paysage =BB
> Alphonse Allais
--=20
---------------------------------------------------------------------------=
-----------------------------------
Seyed H. HAERI (Hossein)
Research Assistant
Institute for Software Systems (STS)
Technical University of Hamburg (TUHH)
Hamburg, Germany
ACCU - Professionalism in programming - http://www.accu.org/
---------------------------------------------------------------------------=
-----------------------------------