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 embedded 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 files?
Peter Haza wrote:
Isn't it just this the opposite thing you struggled with in jsp/css? I think if you open a js file and change the language grammar to jQuery, it should remember for all js files?
ph
On Jan 8, 2008, at 7:58 PM, Nate Cavanaugh wrote:
I guess I could, but is there a way to do that so I don't have to manually change the scope every time I open a JS file?
I guess maybe I should outline my goal: I want it so that whenever I open a file with Javascript, I can just start using the snippets within the Javascript without having to worry about which scope I am currently in. Whether I can do this via setting all JS files to open with the language grammar set to jQuery, or mass editing the bundle, either will work for me, but I just want the one with the least amount of repetition :)
Thanks for the help,
Peter Haza wrote:
Why would you need or want to do that? Everything that works in js should also work in jQuery (not the other way around though), isn't it easier to just change language grammar for .js files to jQuery?
ph
On Jan 8, 2008, at 7:41 PM, Nate Cavanaugh wrote:
Hi guys,
I downloaded the jQuery bundle from the repository, however, I'm not happy with a few things, and need to make local corrections.
One of those things is the default scope it gives it (source.js.jquery). Since jQuery is available in every JS file I am editing, is there a way to mass edit the entire bundles scope to be source.js ?
Every time I've manually gone through the bundle and edited the scope, every time I restart, it's back to being source.js.jquery.
Is there a way to mass edit the bundle scope, AND have it stick?
Thanks guys,
View this message in context: http://www.nabble.com/Mass-editing-the-bundle-scope-tp14695883p14695883.html Sent from the textmate users mailing list archive at Nabble.com.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- View this message in context: http://www.nabble.com/Mass-editing-the-bundle-scope-tp14695883p14696386.html Sent from the textmate users mailing list archive at Nabble.com.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate