On Jun 22, 2009, at 8:00 AM, textmate-request(a)lists.macromates.com
wrote:
> Personally I'd be in favor of simply using rhino as the js script
> runner. Just need to include it in your bundle of the shared TM
> support folder.
>
> ?Thomas Aylott / subtleGradient
Hi Thomas,
As a JavaScript devotee, I'd love to do this. I've installed Rhino and
got it running in
~/Library/Java/Extensions
per instructions found at
http://peter.michaux.ca/articles/installing-rhino-on-os-x
When I open ~/Library/Application Support/TextMate, however, I just
see the Bundles, Plugins, Pristine Copy, and Themes folders. Do I just
copy Rhino's js.jar file to a new "Extensions" directory?
Presumably I would also need to start a command with a shebang line to
tell TextMate I'm using a particular scripting language, like
#!/usr/bin/env perl
What would be the equivalent path for Rhino's JavaScript?
Thanks in advance for any guidance!
jon
/RR (http://responserequested.com)
______________________________
Still Water--what networks need to thrive.
http://newmedia.umaine.edu/stillwater/
Wherever I can I have switched to git. When switching branches (a
common thing with git), git replaces files 'in place'.
That has some side effects with TM:
- when I switch branches (say from the stable to the development
branch) and forget to close the project window first, TM happily
overwrites the project file. Thus I loose all the changes (eg new
classes added etc). Ideally TM should recognize that the project file
changed and reload it.
- Transitory information: TM seems to store transitory information
(window position or some such) in the project file, thus dirtying my
project. I'd prefer that TM would write that kind of info into a
separate file, so I can chose to track it or not.
How about some TM2 teasers?
Thanks
Gerd
The diff folding of blocks also folds away the first three lines of
the next block, for instance:
diff --git a/app/models/questionnaire.rb b/app/models/questionnaire.rb
index 14284d6..b9ee4f5 100644
--- a/app/models/questionnaire.rb
is also folded away if I fold the block before it.
It seems to me that something is going wrong here.
This diff was generated using 'git diff', but can also be created
using 'diff -u'.
Hope you can fix this.
Cheers,
Samuel
Hi All,
I’ve started using the Create HTML from Document command in the
TextMate bundle, but for small snippets the code it produces is
slightly weighty. I came across a post by Scott Stevenson:
http://theocacao.com/document.page/517
in which he mentioned modifying the command to only add class names
for the scopes that the current theme had styling for, eliminating
most of the unused class names. Unfortunately he hasn’t published his
modifications. How to do this is beyond me, so I wonder if anyone who
has made improvements to this command (to remove unused class names
and/or CSS rules) would care to share. Alternatively if there’s a
tool that would do this please let me know (I couldn’t see suitable
options in HTML Tidy’s config).
Thanks in advance
peace - oli
I have found that "Edit in TextMate" no longer works on 10.4.11 (not
sure about Leopard) with any build after 1498 -- it fails silently
although the key press gets picked up by Key Codes. Re-installing 1498
gets it working again. Anyone else found this?
Hi,
The DokuWiki bundle does highlight <del>foo</del> markups only if they
are at the beginning of a line or have max 2 spaces. I looked into the
bundle, but I can't find why that happens.
Wolfgang
Hello,
Does Textmate's code folding have limitations when a method declaration
is split across lines? Sometimes I have long parameter lists which
necessitate this style:
class MyClass():
def __init__(self,
var1=var1Default,
var2=var2Default,
var3=var3Default,
var4=var4Default,
var5=var5Default,
var6=var6Default,
var7=var7Default,
var8=var8Default):
pass
def method1(self):
pass
def method2(self):
pass
def method3(self):
pass
When I format the __init__() method above across line boundaries, I lose
code folding. Bummer. I know. I could use a work-around idea if this is
the way it is. :)
Cheers!
AZ
Any chance of a intel only bin of textmate? I've noticed a hell of a
difference in pretty much every app bar textmate in snow leopard.
If you could spit out an intel binary that would be great!
Many thanks
-Lawrence
Hi, there
I was doing my test programming in objective-c and i was doing some UI
work with interface builder, but whatever I did in the header file I
added, interface uilder does not recognize it. unless i open everything
in Xcode, and did the same thing, interface builder recognized it
immediately.
Is there anything I can do to get around that?
Cheers
Allen
Will having multiple preference files scoped to the same scope cause
any conflicts?
I've written a custom print command, and want each supported scope to
have a shell Variable,
specifying how to syntax-highlight the file.
-------------------------------------------
Engineers supporting greenpeace: Comparable to Afroamericans who wants
to join the Ku Klux Klan
----------------------------------------
Tommy Nordgren
tommy.nordgren(a)comhem.se