[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.jdt] Re: I just noticed that there is no way to automatically generate try/catch blocks in Galileo.

Prakash G.R. wrote:
kwarner wrote:
In 3.2 there was a way Right click -> Source -> Generate Try Catch Block -- or
something like that.


Is there a way to add generating try/catch blocks in Galileo?

Select a line -> Right click -> Surround With -> Try Catch Block

 - Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com

I see, I couldn't see the "Surround" because I hadn't selected a line.

Thank you.

One more question.  There are three different while loop templates.  After I select
a line, only the while(condition) template is available.  How do I access the other
two templates?