Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / April 2005

Tip: Looking for answers? Try searching our database.

Looking for Eclipse Plugin

Thread view: 
sanjay manohar - 04 Apr 2005 07:34 GMT
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
Roland - 04 Apr 2005 11:16 GMT
> Is there a plugin that allows you to type 'immediate' java commands?
>
[quoted text clipped - 14 lines]
>
> 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.
Signature

Regards,

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

sanjay manohar - 05 Apr 2005 18:55 GMT
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
plugins\org.eclipse.jdt.source_3.0.2\src\org.eclipse.jdt.debug.ui_3.0.2\jdiuisrc.zip

Thanks!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.