[TxMt] Mass editing the bundle scope
Thomas Aylott - subtleGradient
textmate at subtleGradient.com
Wed Jan 9 01:45:45 UTC 2008
Just be sure to reload your bundles afterward.
On Jan 8, 2008, at 6:03 PM, Charilaos Skiadas wrote:
> Ok, in that case navigate from the terminal to the jquery language,
> and do "mate Snippets" to open the Snippets subfolder in TM. Then do
> a project search and replace for source.js.jquery.
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
>
>
> On Jan 8, 2008, at 5:56 PM, Nate Cavanaugh wrote:
>
>>
>> Well, I'm only really using the snippets, and don't really care too
>> much
>> about the other stuff, however, there are quite a few snippets.
>> I would love to be able to just mass change (or quickly change) every
>> snippets selector from source.js.jquery to source.js.
>> I'm not too concerned about it being in the same scope as the rest
>> of the
>> javascript.
>>
>>
>>
>> Thomas Aylott - subtleGradient wrote:
>>>
>>> Not in this instance since jQuery includes javascript. You'd have to
>>> modify the scope of the js syntax, then modify every mention of that
>>> scope inside jquery. Then even if you did get it working there would
>>> probly be issues with jquery embedding itself or the $base scope.
>>>
>>> Warning: thar be dragons
>>>
>>> On Jan 8, 2008, at 5:18 PM, Nate Cavanaugh wrote:
>>>
>>>> So just to confirm, that's the only option? There's no way to mass
>>>> edit a
>>>> bundle's scope and have it stick?
More information about the textmate
mailing list