Hey all,
I seem to be having issues getting both the rails and ruby bundles to work
properly. Both of them show up in the bundles dropdown, but don't seem to be
working. For example when I use the forin snippet it ends up giving me a
shell command of for in statement. Likewise many of the snippets associated
with the .rb file just dont seem to exist and none of the ones for the
html.erb/rhtml ones do, similarly the syntax coloring in the html.erb is not
working properly either. I've tried reinstalling both bundles a couple
times, does anyone have any insight on this?
Thanks for the help.
Hi everyone,
Is there a shortcut or bundle that allows us to move to the [n]th
occurrence of a char in the the current line?
This is similar to vim's:
"f{char}To [count]'th occurrence of {char} to the right. The cursor is
placed on {char} (inclusive).
F{char}To the [count]'th occurrence of {char} to the left. The cursor
is placed on {char} (inclusive).
t{char}Till before [count]'th occurrence of {char} to the right. The
cursor is placed on the character left of {char} (inclusive).
T{char}Till after [count]'th occurrence of {char} to the left. The
cursor is placed on the character right of {char} (inclusive)."
Thanks,
Jorge Luis
With so many great plugins now available, is there a way to change the size
of the Preferences window? In defaults for com.macromates.textmate, I see
window sizes for every other window in TextMate, but only
OakPreferencesWindowLeftTop.
Jay Levitt
The topic of unit testing grammars has often been brought up and I
finally did a CLI tool for running a file through the TM parser.
The tool is here: http://updates.textmate.org/gtm.bz2
It reads the text to be parsed from stdin and takes as argument paths
to tmGrammar files which should be loaded. If the -g/--grammar option
is not given, the first grammar specified will be used to parse the
input.
Output is the parsed document in the pseudo-XML format that TextMate
commands can receive as input.
Presently the -t and -d options are not implemented.
Examples:
gtm < test.c C.tmbundle/Syntaxes/C.plist
gtm < test.cc -g source.c++ C.tmbundle/Syntaxes/{C,C++}.plist
I plan to also make this a profiling tool so that it can list how much
time is spent in each rule, but this is secondary to the current
agenda of providing the basis for grammar unit tests.
I am announcing this to get some input on how we can build a good unit
testing system. My concern is that we’ll either make really simple
tests that never break (it’s generally complex interplays of rules
that cause problems), or we’ll have fully parsed complex documents as
the “expected output” and can’t make changes to the grammars w/o
pretty much rewriting all the tests.
Hi,
I tried to compile a simple document with the latex2 bundle and get the following:
----------
Typesetting latexws.tex…
graphics.sty:68: \clearpage
Program exited with code #1 after 0.94 seconds.
-----------
I am not loading the graphics package (only the graphicx).
What does this mean? And how could I resolve it?
Thanks in advance!
--
Christian
-It's better to be a pirate than to join the Navy.-
John Sculley and John A. Byrne, 1987
Hey Guys,
A friend pointed me to the this list! Way excited. Any of you guys have
experience adding the run script for a new bundle? I'm helping a friend with
a new open source markup language called ZML.We added a bundle to TextMate
and added the syntax highlighter.
I really love the functionality, with apple command + R that allows me to
run a Perl Script or Shell Script, or what have you, and display the results
in HTML. This would be really helpful, in place of being forced to run each
document in terminal to view the output. My command is simply "zml
myzmlfile.txt" and I want to leverage the bundle editor to get this going.
Anyone have experience doing this? I obviously, do not.
Thanks in Advance!
Kenny G
I cannot find where in the TextMate documentation it explains how to go to
the end of a line or to the start of a line. It must be very simple, but I
don't know what the keyboard shortcuts are because I can't find any
reference to this in the Help System.
--
View this message in context: http://old.nabble.com/how-do-I-go-to-end-of-line-and-or-go-to-start-of-line…
Sent from the textmate users mailing list archive at Nabble.com.
Hi list,
I’ve recently taken the step from the LaTeX bundle to the LaTeX 2 bundle, but only for a short time. Indeed, whenever I type a \, the autocompletion command takes hand but fail as soon as I hit the next symbol (letter, parenthesis, bracket...). It just displays the message “Error: too many arguments” (as tool tip). So, basically, it prevents me from typing a backslash, which is quite a pain when working with LaTeX.
Any suggestion ?
Édouard GILBERT
edouard.gilbert(a)gmail.com
In Stata, strings can begin with the two characters: `", end with the
characters: "'. How can textmate recognise these as quotation marks? The
following code in the Stata bundle won't work, because textmate doesn't parse
the 'begin' and 'end' lines as I'd like it to. Instead it (understandably)
complains that it finds a " where there should be a ; on the second line below.
Is there some way to get textmate to recognise this quotation convention?
{ name = 'string.quoted.single.stata';
begin = "`"";
end = ""'";
patterns = (
{ name = 'constant.character.escaped.untitled';
match = '\\.';
},
);
},
Any help much appreciated.