I’ve recently been working on a project based in Eclipse (*shudder*). But, I figured as long as I have to use a GUI editor, I might as well get some decent colors going. This was what I managed to put together:
It’s as close as I could get to a direct port of my Molokai theme for Vim. Unfortunately, while Eclipse supports reasonably robust color classes for the code editing panel, it is far less helpful in skinning the rest of the application 🙁
Here’s a quick little Vim plugin for document refreshing. When I’m making changes to ADHOC, I like to see how they affect the generated code. Usually I have it generating to the same file repeatedly (“test.c”, for example). In that case, I could just run
tail -f test.c, but then I wouldn’t get Vim’s helpful syntax highlighting. This plugin essentially makes Vim behave like
tail -f. It sleeps for the specified duration (5 seconds by default), checks whether the file has been modified, refreshes it, if it has, and then calls itself again. Also, in my humble opinion, this plugin has the best name of all time.