GPS Hook question

View: New views
1 Messages — Rating Filter:   Alert me  

GPS Hook question

by mertnabble () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've never created a hook for GPS.  I've read the docs but I'm still not sure how to proceed.

Here's what I want to do:
I want the pretty printer to run, using whatever the project defaults are, whenever I save an Ada file.  In other words, I always want Ada files pretty-printed as part of the save operation.  I'm guessing I need to add something to the file_saved Hook, but I need some help.

Any Hook Masters want to, ehh, hook me up with a solution?
Thanks!