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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!enother.net!enother.net!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: IDE's that support ADA References: <2e8f1414-5556-465f-a7bc-f1513ec973aa@googlegroups.com> <85y4s08x0d.fsf@stephe-leake.org> <85egtqwnte.fsf@stephe-leake.org> Date: Sat, 01 Nov 2014 16:58:28 -0500 Message-ID: <85zjcavb0b.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) Cancel-Lock: sha1:pnDFXRoUmLrZuXJZy2mrRxRh9To= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 5d68f5455578be3fb833020152 X-Received-Bytes: 1754 X-Received-Body-CRC: 3389471387 Xref: news.eternal-september.org comp.lang.ada:22966 Date: 2014-11-01T16:58:28-05:00 List-Id: Adam Beneschan writes: > 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. Do you sometimes let it complete, then change it? I'll have to see if I can find that code in the Eclipse source, to see what algorithms it is using. -- -- Stephe