Latest Nightly Eclipse Re-Adds Editor Linkage

The latest build of Eclipse has re-added a feature that I had been missing since the M4 or so. This feature is a linking of location between the Package view and the current editor. You’ve always been able to double-click on a class in the package explorer and have it bring that class up in the editor. What you used to be able to do, and what you can do again, is to have the package view updated based on your location. So if I’m editing Foo and then I click on the tab for Bar, the package view will now show that I’m in Bar. This is now a toggle instead of being foisted upon those who don’t like it. If you install this latest version (remember to do it like this) you’ll now see a little icon on the top of the package explorer that looks like this

Toggle Switch

I’m really glad this is back because I missed it. But I’m also glad that there’s a toggle switch because there were times that this behavior was a real pain.

Advertisements

Dennis Miller Comments on Some “Peace” Marchers

On the Tonight Show last night Dennis Miller had the following to say about some of the alleged “peace” marchers:

“If you’re in a peace march and the guy next to you has a sign saying that ‘Bush is Hitler,’ forget the peace thing for a second and beat his ass.”

Now that’s funny!

New Comments System

I’ve finally gotten Movable Type’s Standalone TrackBack system installed and working. As you can see each story now has a “0 Comments” or “1 Comment”, etc link at its end. Clicking on this will not only show comments left by other visitors, but it will allow you to leave comments for all the world (well, at least that small part of it that reads my blog) to see. It’s sort of like the old graffiti walls on BBSs.

I don’t claim to fully understand the intricacies of Trackback (as opposed to a regular old comment system), but it seems to work and that makes me happy.

Give it a try if you’re itching to say something. Just be nice. Or at least polite.

My Blosxom 2.0 Google Plugin

I’m releasing a preview version of my Google plugin for Blosxom 2.0. We’ve all seen blog entries with a little “G” or “Google” that when clicked execute a search at Google for something related to the blog topic. I’ve seen those that strictly took the article title and used all those words in the query, but I wanted more control. So in my plugin I inspect the first line of the blog entry body, and if it starts with “KW:” (user-configurable) then the rest of that line is taken as keywords. These keywords are joined with “+” signs and tacked onto a configurable Google search query URL. For example, if the first line of the body (obviously after the title) looked like this:

 	KW: fox news channel 

then the resulting URL (assuming no config changes) would look like this

 	http://www.google.com/search?q=fox+news+channel 

and would show up in the story as “| Google”.

The look of the link is also user-configurable. You can see from all of my entries that I use a pipe, then the word “Google” but you can use whatever you want. In order to get the link, just include $google::google in your story.html and that’s it.

There’s also a setting that will make the link open in a new window or not.

What license are people using for this type of stuff? I read through the Blosxom license but I couldn’t tell if it was one of the “well known” licenses or not. I think I lean towards LGPL, but the alphabet soup of licenses is somewhat hard to get through. Do I even need to license this?

This is a 0.1 release with very little in the way of docs other than this entry and the sparse comments in the code. Get it here

If you use this plugin, please let me know. If you have suggestions/comments/complaints send me an email.

Update!

Thanks to the rapid suggestions of Todd Larason I’ve made some changes to the plugin to make it better. Here’s what I did:

The new version is available here and the old version from here just in case I messed something up!

Again, please let me know of anything else!

New Version of Blosxom

Ooo yah! I checked my email this morning and see that Rael has dropped a new version of Blosxom. It’s 2.0 beta1 and it sports a new plugin architecture and other nifty features. I’ve gotten it setup on my local box and have ported some code I’d written against the 0+5i release to the new plugin format. I’ll be getting this site up with the new version later today I suspect.

Eclipse M5 Painless Upgrade

Man, I love Eclipse more and more every day. I’ve been using it for almost a year and it just keeps getting better. The fabulous Eclipse team released Eclipse 2.1 M5 a couple of hours ago and I fetched it shortly thereafter. Wanna know how the install went?

  1. I shut down the instance I had running
  2. Squirreled away trusty M4 version for safe-keeping
  3. Unzipped the M5 distro
  4. Copied my workspace folder from M4 to M5
  5. Copied my plugins over from M4
  6. Fired up the new version

Why can’t all installs be that easy?

If you are an Eclipse user, think about getting this version. There are quite a few tasty new features lurking about in there.