Hugoware

The product of a web developer with a little too much caffeine

Yet Another jsshell Update

with 4 comments

I’m pretty psyched about jsshell right now. The user count is growing, I’ve had a lot of good reviews — I’ve even noticed that my blog is being hit with search for it.

I’ve also been getting feedback of ideas and suggestions which I’ve implemented and uploaded to the extension website (so you can go download the new version now).

More Intellisense

The intellisense now includes jQuery commands, jLinq commands and jsshell commands, each labeled with their own color. Additionally, there is now a slight delay before the intellisense is polled. This time limit is 100 milliseconds (so really if you aren’t typing a fast or even pause for a moment you should see it).

Automatic jQuery Help

I received this interesting suggestion from a user. Automatically open the jQuery website with the correct help information for the word that the caret is currently over. Brilliant!

Now, when you press CTRL+? or CTRL+F1, whatever word you have the caret will be opened on the jQuery website. If you don’t have the whole thing typed out, it will take a guess at what you meant. If it can’t even find a command by that name in jQuery then no window is opened.

Import and Export Settings

I’m not entirely certain what happens from version to version for Chrome extensions, I’ve added an export and import option for settings. Right now it just returns a string that you can import back into jsshell. In the future I’ll be adding an interface to do that for you. For now you might want to save any built in commands before you upgrade versions.

If you have any other feedback, please let me know!

Advertisements

Written by hugoware

January 27, 2010 at 11:03 pm

4 Responses

Subscribe to comments with RSS.

  1. Wow – I can envision the look up capability being really cool. Say you have a financial or an insurance application where you have text area tags that a paragraph of information, and this information will be comprised of key terms and maybe a calculation. It would be useful to have this lookup capability that would fire off when key phrases were entered. Like a wizard, but it’s off to the side. A documentation web site would supply me with definitions, etc.

    Another possibility is that this could function like a templating system.

    Good stuff dude, and it’s still January!

    ActiveEngine Sensei

    January 28, 2010 at 8:40 pm

    • That is a good idea — One of the reasons why I wrote this is so that I could customize my online banking (specifically the login process — spans 4 pages)

      It has been a productive January — All sorts of junk code flying out of this blog!!

      webdev_hb

      January 29, 2010 at 3:47 pm

  2. Sorry for a potentially noobish question here, but how would I call javascript functions already a part of the website I’m visiting?

    ?

    Thanks,
    SirG

    SirG

    January 31, 2010 at 5:48 pm

    • Not noobish at all…

      Chrome has this ‘sandbox’ thing going on so you can’t ‘directly’ call a function on the page. You can do something like this…

      $("<script>nameOfFunction();</script>").appendTo(document.body);

      And call a function like that… I suspect that if I play around with it some more there could be a more elegant solution than that however…

      webdev_hb

      January 31, 2010 at 6:10 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: