Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

Java, the OLPC, and community responsibility

The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
Replies: 19 - Pages: 2   [ 1 2 | Next ]
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

Eclipse Zip File Editor

URL: Eclipse ZipEditor

At 1:45 PM on Nov 30, 2006, Daniel Spiewak Javalobby Junkies wrote:

This is really a fantastic development in Eclipse plugins. I've often found myself trying to open an archive from within Eclipse. On Windows, this isn't such a problem because Eclipse can just delegate the call to WinZip. However, Linux and Mac Eclipse don't integrate as well with the platform and trying to open an archive usually opens it within the text editor - quite a useless achivement.

Now, with this plugin you can open any zip or jar file within Eclipse itself. Actually, it doesn't just support the reading of archives, but the editing (through drag and drop) of the contents. You can also double click on any file within and it will open up in the default editor for that file type in Eclipse.

My only bone to pick with it is that it doesn't open *.tar.gz files yet (tarballs), which is the archive format I use most often. Also, they picked a lousy icon for their *.jar files. (maybe a picture of a jar would be appropriate?) Still, all in all this is a really cool plugin which (as of now) has been incorporated into my workflow.

So what do you think? Useful?
  Click to reply to this thread Reply
1. At 5:08 PM on Nov 30, 2006, Erkki Lindpere Occasional Javalobby Visitor wrote:

Re: Eclipse Zip File Editor

Sounds cool, but wouldn't it be better if you could just see zip contents in the package/project explorer view?
  Click to reply to this thread Reply
2. At 5:47 PM on Nov 30, 2006, Shinji IKARI Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

I agree, this is great functionality that has been in Emacs since 1993.
  Click to reply to this thread Reply
3. At 6:13 PM on Nov 30, 2006, Daniel Spiewak Javalobby Junkies wrote:

Re: Eclipse Zip File Editor

> Sounds cool, but wouldn't it be better if you could
> just see zip contents in the package/project explorer
> view?

Absolutely! I hadn't even thought of that. The editor should include this functionality.
Daniel Spiewak
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
  Click to reply to this thread Reply
4. At 6:14 PM on Nov 30, 2006, Daniel Spiewak Javalobby Junkies wrote:

Re: Eclipse Zip File Editor

> I agree, this is great functionality that has been in
> Emacs since 1993.

lol So much for a hyper-modern, inovative IDE. We're still trying to catch up to text-based editors from two decades ago.
Daniel Spiewak
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
  Click to reply to this thread Reply
5. At 2:18 AM on Dec 1, 2006, Solomon Javalobby Newcomers wrote:

Re: Eclipse Zip File Editor

Congratulations Daniel. I'm glad that this functionality was finally developed :)
  Click to reply to this thread Reply
6. At 4:56 AM on Dec 1, 2006, Stefan Langer DeveloperZone Top 100 wrote:

Re: Eclipse Zip File Editor

> [...] Also, they picked a lousy
> icon for their *.jar files. (maybe a picture of a jar
> would be appropriate?) [...]
The icon in your screen shot looks more like they picked the icon of the application currently associated with jars. the icon looks exactly like the zipicon from old winzip.
  Click to reply to this thread Reply
7. At 9:22 AM on Dec 1, 2006, Daniel Spiewak Javalobby Junkies wrote:

Re: Eclipse Zip File Editor

> > [...] Also, they picked a lousy
> > icon for their *.jar files. (maybe a picture of
> a jar
> > would be appropriate?) [...]
> The icon in your screen shot looks more like they
> picked the icon of the application currently
> associated with jars. the icon looks exactly like the
> zipicon from old winzip.

Yeah, that's exactly what the icon is. Personally, I like the MacOS X zip icon better. So, they didn't pick the best icon to rip off. :-) Still, this is version 1.0 Especially with the ferver generated by this thread, I'm guessing the developers will be encouraged to improve things quite a bit.
Daniel Spiewak
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
  Click to reply to this thread Reply
8. At 12:11 PM on Dec 1, 2006, David Karr Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

Does someone know how to modify file associations so that it will use this on an EAR file?

What will happen if you try to open an archive file that's in the archive file?
  Click to reply to this thread Reply
9. At 5:15 PM on Dec 1, 2006, Daniel Spiewak Javalobby Junkies wrote:

Re: Eclipse Zip File Editor

> Does someone know how to modify file associations so
> that it will use this on an EAR file?

Window -> Preferences; General -> Editors -> File Associations

Either find the pre-existing entry for *.ear (if it exists), or click "Add..." and enter ".ear" in the dialog. Click the lower "Add..." button and select the EclipseZip editor. That should do it for you

> What will happen if you try to open an archive file
> that's in the archive file?

It opens a new instance of EclipseZip relevant to that archive file.
Daniel Spiewak
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
  Click to reply to this thread Reply
10. At 1:18 PM on Dec 3, 2006, Lubos Pochman Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

Unfortunately no update site. I try really hard 8-) not to download plugins without update site. Building the update site is quite easy, and it makes to use and maintenance of the plugin much easier.
  Click to reply to this thread Reply
11. At 10:31 AM on Dec 4, 2006, Unset Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

>I agree, this is great functionality that has been
>in Emacs since 1993.

Has there been drag and drop editing of a zip file in Emacs since 1993? Or what are you referring to?
  Click to reply to this thread Reply
12. At 7:14 PM on Dec 4, 2006, Shinji IKARI Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

I made a mistake; the low-level support for compressed files (jka-compr.el) has been in Emacs since 1993. Editing of zip archives (arc-mode.el) has only been around since 1995.

P.S.: Drag-and-drop is hardly an efficient way to work.

Zip-Archive mode:
Major mode for viewing an archive file in a dired-like way.
You can move around using the usual cursor motion commands.
Letters no longer insert themselves.
Type `e' to pull a file out of the archive and into its own buffer;
or click mouse-2 on the file's line in the archive mode buffer.

If you edit a sub-file of this archive (as with the `e' command) and
save it, the contents of that buffer will be saved back into the
archive.
  Click to reply to this thread Reply
13. At 8:40 AM on Dec 5, 2006, Unset Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

There's been hundreds of editors for zip-files since 1993. What with emacs?

I take your answer as, no not even at the present time can you do drag and drop editing of zip files with it. Which, by the way, is a higly efficient way of interacting with a computer for exactly that type of tasks.

Welcome to 2006.
  Click to reply to this thread Reply
14. At 2:07 PM on Dec 5, 2006, Shinji IKARI Blooming Javalobby Member wrote:

Re: Eclipse Zip File Editor

> There's been hundreds of editors for zip-files since
> 1993. What with emacs?
>
> I take your answer as, no not even at the present
> time can you do drag and drop editing of zip files
> with it. Which, by the way, is a higly efficient way
> of interacting with a computer for exactly that type
> of tasks.
>
> Welcome to 2006.

Can you cite any support for that claim? I can cite some for the reverse:

http://doi.acm.org/10.1145/108844.108868
"During pointing, movement times were shorter and error rates were lower than during dragging. It is shown that Fitts' law can model both tasks, and that within devices the index of performance is higher when pointing than when dragging."

Drag and drop is easy to learn but will slow you down, even relative to an interface that involves only pointing and clicking with the mouse -- let alone one that combines mouse & keyboard use (which Emacs does have).

thread.rss_message