Tuesday, February 17, 2009 at 11:38 AM
A new and improved Google Desktop Gadget Designer is out, with a couple of major new features. The Designer editor now includes autocompletion support and function call tips for the Google Desktop Gadget API and the JavaScript language.You can start autocompletion by typing the "." key or pressing Ctrl+Space. A list appears that displays objects, methods, properties, events, and constants to choose from, along with visual indicators to help you distinguish between them. Non-object related variables and functions are also dynamically recognized as you type them, and you'll see autocompletion suggestions based on your current scope. The following screenshot shows how Designer displays autocompletion suggestions for
view
object properties and methods that start with "s".
Call tips display function prototypes and short descriptions. They appear when you type an opening brace "(" or press Shift+Space. The following screenshot shows the call tip for the
view.setInterval()
method.
We sincerely hope that these new features will save you a lot of time while developing gadgets, making it that much more fun to bring your ideas to life. Please download the latest SDK and try out the new Gadget Designer.