This is the best Javascript auto-complete control I've seen.
Update: This one looks pretty good too.
Update: I was running @supra with the FireBug console open and was noticing errors every time I typed a character. It turns out there's an error in the code, but ironically in the CSS, not the Javascript. One of the default styles has:
this.actb_hStyle = 'text-decoration:underline;font-weight="bold"';
But it should be:
this.actb_hStyle = 'text-decoration:underline;font-weight:bold';
Anyway, @id really does work excellently.
So yesterday, for the first time in years, I started coding a little Javascript, so I finally had a reason to install and play with FireBug. It's great. By far the most useful feature to me so far is the interactive javascript console. You can say document.getElementById("foo") and it'll give you a debug list of all the properties for that element. And you can execute any Javascript and it'll show you the results.
It really shows the value of interactive consoles. In fact, that was the second interactive console I'd made use of for the day for a language that doesn't usually have one. I finished creating a fairly tricky API for my tagging system, and I wanted to test it all. So I whipped up my own web-based interactive console for PHP where I could type in code and have it be evaluated and see the output. I was able to run down my entire API pretty quickly and both knock out some minor errors, and convince myself that the code was probably correct. With the console I wrote I was able to run through my tests much faster than I'd have been able to any other way.
A console is so important to me that I feel kind of naked when I'm working in a language that doesn't have one. In particular, I really miss it when I'm working with Perl, especially given its baroque syntax and all the CPAN you're inevitably testing out.
(Material) things I miss about NJ:
- 24 hour diners where you can get almost anything you want
- Bagel shops
- Coffee shops (Starbucks doesn't count!) (with good live music, real tea, couches, and all kinds of custom drinks)
- Good pizza
- Good delis
- I was going to say good sushi, but I've managed to find some decent places around here
- Good hiking!! Ramapo Reservation and Harriman State Park! At Harriman, drinkable running water. Well, I drank it anyway. Oh, and one time I came back after hiking late at Ramapo and had enormous bear prints on the hood of my car!
- NYC counts, even though we didn't go into the city all that much. It was nice to have it close by.
new⇒Johnny Walker Blue Label
Wow, thanks for the scotch review:D
Lagavulin and Laphroaig aresome of...
Keith: Aug 29, 3:35pm