[TxMt] scope-specific word completion collection
Allan Odgaard
throw-away-1 at macromates.com
Sat Dec 17 12:38:02 UTC 2005
On 17/12/2005, at 13:28, Oliver Taylor wrote:
>> { completionCommand = 'perl -pe "s/^\t{4}($TM_CURRENT_WORD.*)\
>> $|.*\n?/\$1/" <"$TM_FILEPATH"';
>> disableDefaultCompletion = 1;
>> }
> this is exactly what I'm looking for. but... it doesn't seem to be
> working, in fact, it seems to be *excluding* everything in the
> splay.character scope. Any ideas?
Works fine for me. Please provide a test file and the steps you take.
And to experiment, try opt-cmd R (Text -> Filter Through command…)
with the command to see which list it produce (e.g. set output to
show as tool tip).
More information about the textmate
mailing list