The Artima Developer Community
Sponsored Link

Java Buzz Forum
Not Enough IDEA!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
Not Enough IDEA! Posted: Aug 24, 2004 9:10 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: Not Enough IDEA!
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

Thank you Florian!

Florian pointed out that Mail.app maps F5 to complete. With the help of grep we get:

Woo hoo!

Along the way I learned how key bindings (and other UI type events) work in Cocoa. It is beautiful. I think I need to learn Cocoa if I want to do any UI stuff. Stop copying anything else when building a UI library. Of course, it really requires a message passing language to work rigt...

There is a default keybinding for the complete message, but it is incredible awkward. I added a better one to my local keybindings in ~/Library/KeyBindings/DefaultKeyBinding.dict:

{ 
    /* other keybindings I have set removed for brevity in example =) */

    "~ " = "complete:";
}

which binds the option-space key which I have bound in IDEA. Now I have auto-complete for spelling in any cocoa text widget! More information is available from Apple if you want other bindings.

Read: Not Enough IDEA!

Topic: Sequence Diagrams in DocBook Documents via UMLGraph and SVG Previous Topic   Next Topic Topic: Randell Hauch on Writing Eclipse Plugins

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use