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
[
12
| Next
]
Threads:
[
Previous
|
Next
]
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.
> [...] 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.
> > [...] 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.
> 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.
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.
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.
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.
> 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).
Eclipse Zip File Editor
URL: Eclipse ZipEditor
At 1:45 PM on Nov 30, 2006, Daniel Spiewak
wrote:
Now, with this plugin you can open any zip or jar file within Eclipse itself.
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?
19 replies so far (
Post your own)
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?Re: Eclipse Zip File Editor
I agree, this is great functionality that has been in Emacs since 1993.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.
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
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.
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
Re: Eclipse Zip File Editor
Congratulations Daniel. I'm glad that this functionality was finally developedRe: 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.
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.
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
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?
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.
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
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.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?
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.
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.
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).