From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.210.233 with SMTP id mx9mr33320086obc.34.1415036881251; Mon, 03 Nov 2014 09:48:01 -0800 (PST) X-Received: by 10.51.16.65 with SMTP id fu1mr175534igd.10.1415036881147; Mon, 03 Nov 2014 09:48:01 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h15no4893593igd.0!news-out.google.com!ks2ni7573igb.0!nntp.google.com!h15no4893586igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 3 Nov 2014 09:48:00 -0800 (PST) In-Reply-To: <85zjcavb0b.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: <2e8f1414-5556-465f-a7bc-f1513ec973aa@googlegroups.com> <85y4s08x0d.fsf@stephe-leake.org> <85egtqwnte.fsf@stephe-leake.org> <85zjcavb0b.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9b8d3ee1-6867-416f-9eef-fb2c41d8664c@googlegroups.com> Subject: Re: IDE's that support ADA From: Adam Beneschan Injection-Date: Mon, 03 Nov 2014 17:48:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:23001 Date: 2014-11-03T09:48:00-08:00 List-Id: On Saturday, November 1, 2014 2:58:36 PM UTC-7, Stephen Leake wrote: > Adam Beneschan writes: >=20 > > One thing I've sometimes found useful in Eclipse is Extract Method, > > where I can highlight a part of a method (function) and it will figure > > out how to take the highlighted part and turn it into a separate > > method with a name it prompts me for. It does a reasonable job of > > guessing what parameters I'd like to pass to it, and what function > > result I want, if any. Something like this is very difficult to get > > right all the time, and I wish it gave me more options to customize > > when it guesses wrong. At that point, all I can do is cancel the > > operation and then do the refactoring by hand.=20 >=20 > Do you sometimes let it complete, then change it? That's certainly an option. Maybe I've done that at times. But in the cas= es I've encountered, it has usually seemed to be easiest just to do things = manually (using the usual cut-and-paste functions). Probably that's becaus= e the new argument list it proposes for the extracted method is just too fa= r different from what I need, and changing it later doesn't seem worth the = effort. -- Adam