[TxMt] Mass editing the bundle scope
cskiadas at gmail.com
Tue Jan 8 22:26:08 UTC 2008
Of course you can mass edit a bundle's scope, just open the bundle in
the bundle editor and do a global search and replace. BUT, this is
not your problem. Your problem is that other bundles include the
so normally you would have to change that bundle.
source.js.old, make jQuery into source.js, and have it include
source.js.old. Would that work I wonder?
that's really what you always use (far from ideal, I know).
Department of Mathematics and Computer Science
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?
> Thomas Aylott - subtleGradient wrote:
>> On Jan 8, 2008, at 2:19 PM, Nate Cavanaugh wrote:
>>> Ah, very true, so I guess I misspoke a bit on exactly what I needed.
>>> That works great for pure JS files.
>>> I suppose what I need is for the language scope to be the same for
>>> JS as well, not just solely JS files.
>>> However, changing the language of doesn't seem to apply on a
>>> language by
>>> language basis, hence my desire to edit the bundle.
>>> But that's why I'm asking you guys :)
>>> Is there a way to accomplish this for embedded JS as well as JS
>> The current version of TextMate 1.5.x simply cannot technically
>> too many levels of embedded languages.
>> jQuery doesn't know how it is embedded into something else. Every
>> Many library syntaxes like jQuery aren't written to easily allow
>> themselves to be embedded inside another language.
>> embed eachother and inherit and whatnot.
>> HTML) and then change it to embed jQuery instead.
>> It probably will make a terrible mess and won't work at first, but
>> might just get it working eventually.
>> I have quite a number of modified HTML syntaxes for embedding
>> different things in different ways.
>> —Thomas Aylott – subtleGradient—
More information about the textmate