"Staying up late and getting nothing done since 1806!"
Wednesday, December 3, 2008

« Earlier pages Later pages »

12/11/2007

A $39 multitouch surface you can take with you

Filed under: by VeryVito at 5:29 pm — [Tag on del.icio.us]

OK, I don't usually just post links to other sites, but this just may be the coolest low/high-tech idea ever. I'm off to try this myself…

Edit: It's worth checking out Lee's other experiments with Wiimote technology as well.

Print this article Print this article


12/6/2007

Trap Flash CS3 compiler errors and line numbers… in jEdit!

Love editing your Flash ActionScript files in jEdit, but want better debugging tools within the editor itself? Maybe you'd like to jump directly to errors indicated within your code without resorting to the Flash IDE?

Today's tip just makes me plain happy.

The result of today's exercise promises to increase productivity dramatically when editing ActionScript using jEdit: Assuming Flash is running alongside the editor, we'll not only be able to test our current movie with CMD-ENTER (just as we did two months ago), but we'll also be able to get a list of compiler errors and warnings to appear within jEdit's errorList panel, and we'll be able to click those errors to jump to the offending code — without ever having to edit any code within the Flash IDE itself!

It may take a few minutes to set up, but it definitely shows off the power and expandability of jEdit — while also providing a heckuva nice (and long awaited) feature for us cross-platform Flashers.

(more…)

Print this article Print this article


10/9/2007

Almost perfect: ActionScript code browsing with jEdit’s Sidekick panel

Filed under: by VeryVito at 12:45 am — [Tag on del.icio.us]

I was writing a quick answer to a reader concerning how to use jEdit to browse ActionScript code in a tree view, when I suddenly realized the current solution wasn't good enough. But after banging around on some source code this evening (and with the help of Ali Rantakari), I think I've managed to make an AS 1, 2 or 3 code browser that rivals a few I've seen on other platforms. Isn't open source wonderful?

Warning: This article goes into some depth regarding customizing jEdit, Ctags and the Sidekick plugin. If you want to be spared the details, you can always skip to the end and just reap the rewards: A shiny new code browser custom-made for ActionScript!

A little background

JEdit's optional CTagsSidekick plugin can be used to parse any language supported by the Exuberant Ctags parser. The plugin uses Ctags to parse through the current buffer and present the defined tags it finds in the SideKick tree.

Unfortunately, ActionScript is not one of the 34 languages supported "out of the box" by Ctags, so we have to do a little hacking to get things to work the way we want. Thanks to the work of a few pioneers, however, it's easy enough to introduce ActionScript parsing to Ctags, and therefore, to jEdit itself.
(more…)

Print this article Print this article


10/1/2007

A place to store our stuff


Now that we have context-sensitive help files, a sporty new look and the ability to communicate with the Flash IDE, I figure it's time to start keeping track of all the goodies we're adding to our new ActionScript editor.

Thus, I've added a permanent page to Turdhead.com to provide direct links to the growing list of enhancements we've been making to jEdit lately (otherwise, these entries are likely to just disappear into the archives and remain pretty hard to find later). The "Make jEdit yours" logo at left provides the link from anywhere on Turdhead.com.

Thanks again for all the kind comments and emails, and please let us know if you've discovered something you think is worth sharing. Thanks!

Print this article Print this article


9/30/2007

More ActionScript magic for jEdit:
Context-sensitive reference material!

Filed under: by VeryVito at 11:24 pm — [Tag on del.icio.us]

We're making progress on our quest to create the perfect Mac OS X ActionScript editor: Today, we're going to integrate the Adobe AS2 and AS3 Language References directly into the open-source jEdit editor, bringing context-sensitive help files up at the stroke of a key!

To do this, we're going to need three things: The InfoViewer plugin (which should already be installed with your base jEdit application), and two jEdit macros that we'll provide here. If you need a refresher on how to install plugins or new macros, check the previous tutorials in this series.

The InfoViewer is basically a small browser in a floating or docked panel within jEdit. If you don't already see it, you should be able to find it under your Plugins menu. I prefer to dock mine at the right-hand side of the editor, so it stays out of the way but is generally available. You can do this by selecting the small dropdown arrow in the upper left of any floating dock and choosing which side of the interface on which to dock it:

Docking InfoViewer

I've created two macros — one to search for information within the ActionScript 2 reference files, and one for the ActionScript 3 files. You can install them both, or just the one that interests you (I've got them both installed myself, and I've assigned the keyboard shortcuts CMD-F1 to search the AS2 files, and SHIFT-F1 for the AS3 files). To install, you can copy the code below, or simply download and extract the files from this zipped archive and save them in your ~/.jedit/macros directory (or better yet, make a subdirectory called "ActionScript" within the macros folder and keep all your AS macros in one neat section — rather like a TextMate "bundle").
(more…)

Print this article Print this article


 

Shameless begging, panhandling and soul-sucking indignity

Want to show your appreciation for Turdhead.com, its products or services? Although it's certainly not necessary, we'd be pleased as punch if you felt like donating any amount you'd like, or even if you just wanted to give us a nod on Digg.com. Honestly, we have no pride whatsoever (the name of the site is Turdhead.com, after all), and we'll take any recognition we can get for our efforts here.

 


« Earlier pages Later pages »

 

Search

Or use Blingo! to search and win prizes.



Get Chitika eMiniMalls

Design and Sell Merchandise Online for Free

Copyright © 2004-2008 by Turdhead.com. All rights reserved. So there. Questions? Write us!
But first, get a load of these cryptic yet official looking numbers:
[ 1607936v | 176p | 855c | s | 12.29.05d ]