Message from discussion
Improvement Request on Highlighting Implicit Conversions
Received: by 10.204.154.76 with SMTP id n12mr313371bkw.1.1348162147038;
Thu, 20 Sep 2012 10:29:07 -0700 (PDT)
X-BeenThere: scala-ide-user@googlegroups.com
Received: by 10.204.7.203 with SMTP id e11ls2952892bke.8.gmail; Thu, 20 Sep
2012 10:29:05 -0700 (PDT)
Received: by 10.205.127.71 with SMTP id gz7mr311007bkc.7.1348162145582;
Thu, 20 Sep 2012 10:29:05 -0700 (PDT)
Received: by 10.205.127.71 with SMTP id gz7mr311006bkc.7.1348162145524;
Thu, 20 Sep 2012 10:29:05 -0700 (PDT)
Return-Path: <ja...@banshee.com>
Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175])
by gmr-mx.google.com with ESMTPS id k7si524857bks.2.2012.09.20.10.29.05
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 20 Sep 2012 10:29:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of ja...@banshee.com designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ja...@banshee.com designates 209.85.217.175 as permitted sender) smtp.mail=ja...@banshee.com
Received: by mail-lb0-f175.google.com with SMTP id n1so2557096lba.6
for <scala-ide-user@googlegroups.com>; Thu, 20 Sep 2012 10:29:05 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:x-gm-message-state;
bh=c+oF/uIahewdsYqVg9Hd/jPau+9jADDugxRXPCA6JXs=;
b=Zzx1BeCmXVoUzEjGQb4JkohWrtOWWEqJATgBZ2eBvMLAPGrkvfi2g8GgQcULRqylro
JuyG5K6SJYG/Qrvo+wHPDNlyAkMCRGvNtRb949zJoJbm0gOTRv1Xit1rXACGA3pndxC8
ur6ZXbC068gXxIyhX3DV7C8BHQBkMPCKL5AovpQZB5KpJU71WGTPMvAsVaX4Uo3yJkPC
czS1KaCw0Oy5S4ZVRYRq6qmLkJG/as1EvDajD3534WhsIKqAS4S8a5LVQMoEqN+hGU3y
uAuT5iuwmj46yNpvJd2ewEClPmi85HZ7on8orx3uIDVNwb6dGLTUNdaPbKPhu51CLwuk
JIig==
Received: by 10.112.46.10 with SMTP id r10mr866349lbm.13.1348162145177; Thu,
20 Sep 2012 10:29:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.114.11.69 with HTTP; Thu, 20 Sep 2012 10:28:24 -0700 (PDT)
In-Reply-To: <D445BA47-E08B-49CC-A135-EDC759C59...@typesafe.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>
<D445BA47-E08B-49CC-A135-EDC759C59...@typesafe.com>
From: James Moore <ja...@restphone.com>
Date: Thu, 20 Sep 2012 10:28:24 -0700
Message-ID: <CAPBr=W8GXftcQjaU-oGdeU9_VtWT_yXoSKq9b2s7bbAansY...@mail.gmail.com>
Subject: Re: [scala-ide-user] Improvement Request on Highlighting Implicit Conversions
To: scala-ide-user@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d040122e9c34f9b04ca2575a7
X-Gm-Message-State: ALoCoQlnJdkh5Wox+zUUvr3AKYP8tqxpKdAZn4V8h9CjLNvsLY9L5EVS6v4vK3ycYC3RHaelu97w
--f46d040122e9c34f9b04ca2575a7
Content-Type: text/plain; charset=ISO-8859-1
On Wed, Sep 19, 2012 at 4:23 AM, Mirco Dotta <mirco.do...@typesafe.com>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.
>
>
That sounds great. I'd also like it to be able to do the opposite: take a
chunk of code, and remove everything that could be provided implicitly.
Take out semicolons, parens, explicit types, etc, as long as the code
compiles to the same thing. Sort of like a set of lenses for looking at
code - I think there's more than one view visible at a time, too.
I'd also like an option for named parameters (show / hide).
--
James Moore
ja...@restphone.com
http://blog.restphone.com/
http://www.linkedin.com/in/jamesmmooreiv
--f46d040122e9c34f9b04ca2575a7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Wed, Sep 19, 2012 at 4:23 AM, Mirco Dotta <span dir=3D"ltr"><<a href=
=3D"mailto:mirco.do...@typesafe.com" target=3D"_blank">mirco.dotta@typesafe=
.com</a>></span> wrote:<br><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div style=3D"word-wrap:break-word"><div><div class=3D"im"><blockquote type=
=3D"cite"><div>This discussion reminded me of a feature request I've be=
en meaning to<br>make for a while. Highlighting implicits and showing infer=
red<br>
semicolons is useful but perhaps already too cluttering, and I think<br>Sca=
la tooling would benefit from more desugaring info. I'd love to see<br>=
a "Code Inspection" panel that mirrored a section of the currentl=
y<br>
focused source code (perhaps visually similar to the JDT's Declaration<=
br>View) with toggles to show synthesized code such as =A0"implicits<b=
r>expansion", "inferred semicolons", "inferred member t=
ypes",<br>
"for-comprehension desugaring", "extractor desugaring",=
etc.<br></div></blockquote></div></div></div></blockquote><div><br></div><=
div>That sounds great. =A0I'd also like it to be able to do the opposit=
e: =A0take a chunk of code, and remove everything that could be provided im=
plicitly. =A0Take out semicolons, parens, explicit types, etc, as long as t=
he code compiles to the same thing. =A0Sort of like a set of lenses for loo=
king at code - I think there's more than one view visible at a time, to=
o.</div>
<div><br></div><div>I'd also like an option for named parameters (show =
/ hide).</div><div><br></div></div>-- <br>James Moore<br><a href=3D"mailto:=
ja...@restphone.com" target=3D"_blank">ja...@restphone.com</a><br><a href=
=3D"http://blog.restphone.com/" target=3D"_blank">http://blog.restphone.com=
/</a><br>
<a href=3D"http://www.linkedin.com/in/jamesmmooreiv" target=3D"_blank">http=
://www.linkedin.com/in/jamesmmooreiv</a><br>
--f46d040122e9c34f9b04ca2575a7--