AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Looking for Eclipse Plugin

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
sanjay manohar
Guest





PostPosted: Mon Apr 04, 2005 6:34 am    Post subject: Looking for Eclipse Plugin Reply with quote



Is there a plugin that allows you to type 'immediate' java commands?

e.g., a plugin with a single-line text field, when you press enter it
compiles it into a default file with default imports etc., and gives
you a result that you can store in a temporary variable.

I was thinking it would be soooo useful for debugging - e.g. you could
'test out' a single line of code. Or issue immediate commands like

'a = new JFrame()' <ENTER>

then

'a.show()' <ENTER>

If not, then would anyone else find such a thing useful?

Sanjay

Back to top
Roland
Guest





PostPosted: Mon Apr 04, 2005 10:16 am    Post subject: Re: Looking for Eclipse Plugin Reply with quote



On 4-4-2005 8:34, sanjay manohar wrote:

Quote:
Is there a plugin that allows you to type 'immediate' java commands?

e.g., a plugin with a single-line text field, when you press enter it
compiles it into a default file with default imports etc., and gives
you a result that you can store in a temporary variable.

I was thinking it would be soooo useful for debugging - e.g. you could
'test out' a single line of code. Or issue immediate commands like

'a = new JFrame()' <ENTER

then

'a.show()'
If not, then would anyone else find such a thing useful?

Sanjay


Use a scrapbook page: File -> New -> Other -> Java -> Java Run/Debug ->
Scrapbook Page, and choose title and location.
In the scrapbook page, right-click to set imported classes/packages.
Type some code, select it, and right-click to inspect, display or
execute it.
--
Regards,

Roland de Ruiter
___ ___
/__/ w_/ /__/
/ /_/ /

Back to top
sanjay manohar
Guest





PostPosted: Tue Apr 05, 2005 5:55 pm    Post subject: Re: Looking for Eclipse Plugin Reply with quote



Wow that's very handy! and quite nifty programming...
I think i might tweak it for my purposes...
looks like package is
org.eclipse.jdt.internal.debug.ui.snippeteditor.*, source code in
pluginsorg.eclipse.jdt.source_3.0.2srcorg.eclipse.jdt.debug.ui_3.0.2jdiuisrc.zip

Thanks!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.