 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
sanjay manohar Guest
|
Posted: Mon Apr 04, 2005 6:34 am Post subject: Looking for Eclipse Plugin |
|
|
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
|
Posted: Mon Apr 04, 2005 10:16 am Post subject: Re: Looking for Eclipse Plugin |
|
|
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
|
Posted: Tue Apr 05, 2005 5:55 pm Post subject: Re: Looking for Eclipse Plugin |
|
|
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 |
|
 |
|
|
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
|
|