For a while, there was this great feature in RubyMate. When you select a
term in your script and press control-H, RubyMate would consult ri (or fri
or whatever it is) and, if there were multiple alternatives found, would
list them all in a little tooltip or popup menu beneath the mouse. So if you
said "gsub" you might see Kernel#gsub, String#gsub, and so on. This is a
menu so you could click an alternative and do a lookup of that in the help.
Very nice.
The thing is, though, that this feature has completely vanished as if I'd
only dreamt it. Does anyone know how I can get it back?
RubyMate's ri interface was really pretty good, because so much of it was
clickable links. The Terminal ri interface is very inconvenient because none
of it is clickable links, but that's pretty much what I'm stuck with now.
It's so disappointing that I'm thinking of writing my own ri interface app
for Mac OS X (stop me if there is one already). m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
I was getting errors (Ruby errors, I believe) when trying to use the
TODO List bundle, so, finding the "TODO Bundle Broken" thread in this
list and trying to follow the advice there, I deleted some bundles (and
some unused plugins I discovered in the process) from
"~/Library/Application Support/Textmate" and also updated all the
bundles in my "/Users/mjg/Library/Application Support/TextMate/Bundles/"
directory from subversion.
Now the TODO List bundle is working beautifully (for the first time!),
but when I try to use PyMate "Run Script" command to run a Python file I
get this error: "-e:2:in `require': No such file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from -e:2". It's true that there is no such file--in fact,
the "/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/"
directory does not exist. Why is this error happening and what should I
do about it?
For what it's worth: other PyMate commands (such as "Run Script
(Terminal)" still appear to work correctly.
I'm running the latest "Cutting-Edge" TextMate, Version 1.5.7 (1464).
Thanks,
Mike
Hi,
I've just purchased a new computer which has
enabled me to switch over to using
Changes.app for my diff uses. Unfortunately,
the TextMate integration assumes Subversion
for version control whereas I use Mercurial.
I've made the suggested additions as mentioned
on the Changes Wiki and everything works great
from the command line, but the TextMate integration
is failing me. I'm not familiar enough with either
the Changes or the Mercurial bundle to make the
changes, so I'm appealing to the TextMate community
for help.
Is there some way I can either switch the Changes
bundle to use Mercurial or alternatively, switch the
Mercurial bundle to use chdiff and my merge script
instead of just diff?
Thanks,
Tim Lahey
Hello,
I've been seeing a weird issue with non-ASCII characters appearing
messed up when QuickLooking a utf-8 file saved from TextMate. Here is
a screenshot:
http://vnoel.files.wordpress.com/2008/06/ql-bug.png
The same problem appears when opening the file with TextEdit --
non-ASCII characters are messed up. Unix tools (file, cat) show the
file correctly. After digging around I found a thread [1] on the vim
mailing list that says it is related to extended attributes that are
set by TextEdit and that need to be present for QL to correctly
recognize the utf8 encoding.
If you set the extended attribute manually on the utf8 file, non-ASCII
characters appear fine in QL. This looks like a bug in QL which, given
its lack of publicity, is rarely triggered and probably due to
something specific to my setup. I'm not sure what to do next, apart
from applying 'xattr' to every text file I save with TextMate :-) Does
anyone has advice ?
I'm sorry if this issue has already been discussed previously on this
list or elsewhere, but I couldn't find any other reference using
Google.
Thanks !
[1] http://www.nabble.com/MacVim-file-encoding-and-Quicklook-td17289501.html
Cheers,
Vincent Noel
in the attachment you will find a quick-and-dirty Relax NG bundle. it
doesn't do much, apart from syntax highlighting for .rnc files (the
cool "compact" version of Relas NG) and a few snippets for attributes,
elements and common datatypes (the ones I was using, actually :).
afaik nobody else worked on this stuff, so it might come in handy if
you end up working on huge rnc files (beats xml schema by a HUGE
margin). the little I've done is in the public domain, so use it as
you see fit.
cheers,
d.
Dear users of the textmate bundle for Latex,
I'm using the "Watch Document" command (is latex_watch.pl in version
2.8) in textmate to have my masters thesis always up-to-date when I
change something in the tex file and hit save.
Since a few days this doesn't work as before, cause I'm running in a
closed loop. When textmate starts watching my main document (the
thesis is splitted in several files) it successfully compiles the
document with pdflatex and displays me the result in my preferred
viewer Skim. But after having done this it recompiles the whole file
again and then reloads the file in Skim.
This is pretty annoying behaviour, cause I haven't changed anything in
the main file, also it takes loads of cpu, speeds the macbooks fans up
and is constantly refreshing Skim.
Wether there is a bug of "latex_watch.pl" or it observes a file which
is updated through the initial and every following compilation and
therefore runs in a closed loop.
I tried two versions of the latex.tmbundle so far. I think one was the
original one which came with textmate and the other one was the one
from the svn repository as of yesterday. Both show the same behaviour.
My question is now. How can I analyze the problem (closed loop). Is
there a way to put the latex.tmbundle in debug mode so I can see some
log messages? I tried this already by specifing the projects variable
"TM_LATEX_WATCH_DEBUH = dialog" but without any success. I didn't
found the debug output on my disk.
What are other ways? Whats are your advice?
Many Thanks,
Jan
Hi, I've been looking for a reponse, searching the net and mailling
list archives, but could't find an answer to this problem, whenever I
try to run tm_dialog, to i.e. open a window just created, i got the
error:
$ tm_dialog -p {} ~/Desktop/Test.nib/
tm_dialog: failed to establish connection with TextMate.
Hope I get a solution now :P
--
Thanks in advance,
Igor Ranieri
In the Help for TextMate, the following are given as examples of legal
selectors (with explanations of what they mean / match):
text.html.ruby, text.html source.ruby
string
string.quoted
source.php string
text.html source.php
source.ruby string
source.ruby string - string source
string, comment
So, operators here are space, comma-space, and space-minus-space. It appears
that space has highest priority, then space-minus-space, then comma. (Or so
I would presume.) So far, then, it all seems quite coherent; I grok
prefix-matching, descendancy, exclusion, and OR (the comma is apparently an
OR operator, even though the help rather confusingly seems to describe it as
an AND).
Then, in a blog entry
(http://blog.macromates.com/2005/introduction-to-scopes/), additional info
is given:
(a | b) & c - d
I find that last one incoherent; I don't get where the pieces are or how the
operators here fit, priority-wise, with the previously given operators. For
example, which of the selectors given in the first list would be a legal
substitute for "b" here? And conversely, for which expressions in the first
list of legal selectors, if any, could this expression be substituted?
So, my question is: Can I somewhere get a formal coherent definition of the
rules of selector syntax?
m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
I've searched everywhere and it looks that it hasn't been raised before (?)
Is there any way to have mark occurrences feature in textmate ? via plugin..
script.. whatever.
It's very useful functionality and coming from eclipse I miss it heavily.
Thanks for any info,
Mariusz Nowak
--
View this message in context: http://www.nabble.com/mark-occurrences-feature-tp18181319p18181319.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello All,
The JavaScript language highlighter doesn't highlight regular
expressions inside of an array. Here is a code sample that shows some
simple test cases and only a few pass:
/test/
[/test/]
[1,2,/test/]
[1,2,/test/,'blah',/test/]
[ /test/, /test/ ,/test/ ]
new Array(1,2,3)
new Array(/test/, /test/, /test/)
"blah".match(/test/);
I haven't worked much with languages before, but I assume all that
would be needed would be including "string.regexp.js" inside of an
array class or maybe modify "punctuation.definition.string.begin.js".
I couldn't find any way to do that. I also tried adding a "," to the
list of characters that could come before the regexp itself but it
didn't seem to work, but I'm still new.
Can anyone recommend a solution?
Also, can anyone point me to where I can find the definition of
"punctuation.definition.*" and the like?
References I have look at:
http://blog.macromates.com/2005/introduction-to-scopes/http://manual.macromates.com/en/language_grammars.html#naming_conventions
Thanks in Advance,
Joseph Pecoraro