[SVN] r3277 (Experimental, OCaml)

David Powers david at grayskies.net
Mon May 8 18:23:27 UTC 2006


type the name of a function or method defined in the current file and 
hit option-esc while the cursor is on the name and it *should* fill in 
the arguments from the local definition as a set of tabbed 
placeholders.  To make it more clear:

if you had:


let myfunc a b str =
    # do some stuff with a, b, and str


and you typed:

myfunc<opt-esc> - you would get:

myfunc a b str - with the arguments setup so that you could tab to each 
one and overwrite it.


Although that example did lead to me finding a problem with it in OCaml 
which should now be corrected (methods and functions are scoped slightly 
differently in OCaml) - so grab the latest first.

-David


William D. Neumann wrote:
> On Mon, 8 May 2006, David Powers wrote:
>
>> Add generic local function completion (opt-esc) to Experimental, 
>> currently tested with ruby and ocaml
>
> What is this supposed to do?  I don't speak ruby well enough to figure 
> it out from looking at the code, and I can't get it to do anything 
> when trying to trigger it...
>
> William D. Neumann
>
> ---
>
> "There's just so many extra children, we could just feed the
> children to these tigers.  We don't need them, we're not doing 
> anything with them.
>
> Tigers are noble and sleek; children are loud and messy."
>
>         -- Neko Case
>
> Life is unfair.  Kill yourself or get over it.
>     -- Black Box Recorder
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev



More information about the textmate-dev mailing list