On 26 Nov 2009, at 12:08, Charlie Garrison wrote: > I'm sure with the effort of a few people from this list we could > get the script working very smoothly from within BBEdit. Anyone > willing to help?
Yes, I'm willing to help. As a slight preamble... I've created the first version of a "Code Sense" tool for BBEdit -- for a variable referencing an object it will provide a list of the object's methods and autocomplete the method with parameter placeholders. This works for PHP at the moment. I intend to release it via GitHub next week -- I just need the time to package it up and document it. -- I was hoping to get feedback and input for making it more intelligent and adding more languages. (Currently it works via a special comment which is not ideal; first on my list is javascript.) Directly related to this thread... I'm using AppleScript to handle the selection issues -- in particular using a scripted search enables you to not need to highlight the selection you're after as you need to with a UNIX Filter. I'm sure similar could be employed to work with the Zen Coding package. My main problem is my AppleScript is really bad -- I'm getting there but it takes time -- In particular, I'm having to basically trial-and-error my way around insertion points and selections and character offsets and line beginning and ends. To wit: do any of the AppleScript Gurus know of a good primer/set of examples which cover the obvious cases here? -- (I managed to get moderately comfortable with scripting searches via the examples in the BBEdit manual and similar for selections and insertion point manipulation would really enable me to push forward.) Thanks in advance. :-) Regards, Carlton -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
