Hi,
I just discovered the coolness of Running a Ruby script from within
Textmate. The unreadable Stack trace suddenly is readable and has
amazingly cool hyperlinks to the exact line. I once saw in a
Railscasts episode a Rails Bundle allowing to have such hyperlinks in
the browser, but I could never keep up with which version and it broke
all my other environment.
Any recommendation / direction for something as cool as the stack
trace of a simple ruby file.
At the same time let me ask you how I could have a "debugger" in ruby
(on or sans rails) or javascript could break into textmate.
Cheers, and hello, since this is is my first post here.
Greetings,
I'm a TextMate newbie, so this may be a duhhh, but...
I wrote a little a Perl script as a command. The first line of the script is, as you might expect, #! usr/bin/perl.
The command works perfectly as long as my TM doc has not been saved. As soon as I save the doc, running the command prints "interpreter failed: No such file or directory."
This sure looks like a path issue, but what changes when I save the file?
Any help is much appreciated.
- Alan Goodwin
Hi list,
I'm currently in the process of rearranging and cleaning my thesis files. My chapter files are arranged in subdirectories, and I've decided to change the \include{path/file} occurrences in my main latex file to \includefrom{path/}{file}, so that I don't have to give the absolute path for every single included file or figure in "file.tex" (for example, changing the name of "path" would involve a tedious search and replace procedure in "file.tex"). This command is provided by the import package (along with the \import command, which is the \input counterpart).
For example, if I have a file "path/figure.pdf" that I want to include in "file.tex", I would normally have to do \includgraphics{path/figure.pdf}, even though "file.tex" is itself in the "path/" directory. That's not neat, and quite unpractical indeed. Including "file.tex" using \includefrom{path/}{file} instead allows to circumvent this issue, and allows to use \includgraphics{figure.pdf}, where figure.pdf is resolved in "path/". Anyway, this is an preliminary for those who wouldn't know what the import package is for.
So, my question is, would it be simple to make the LaTeX bundle cooperate with \includefrom and \import too just as it does with \include and \input? For example, I find it very frustrating not to be able to use "Open included item" command, but I didn't find any simple way to extend the functionality of the bundle in that direction.
Thanks,
enas
How do I add 'xltxtra' to the xelatexIndicators in LaTeX 2? The xltxtra package alone loads fontspec and xunicode in the right order. Thanks for any pointer.
-- Gildas
Hello,
Application shall not bind ⌥letter or ⇧⌥letter shortcuts as those are used to type accented/special characters on various keyboard layouts.
TM follow this rule with one exception "Insert Scratch Snippet" that binds to ⇧⌥S which makes typing Ś (accented S) impossible in my case.
I believe this is a bug and this keyboard shortcut shall be corrected to i.e. ⇧⌃⌥S.
Filled at: http://github.com/textmate/textmate.tmbundle/issues/issue/1
Regards,
--
Adam
Dear List,
I have a strange bug to report. Using 10.6.3, Textmate and Skim
together (via the LaTeX bundle) seems to trigger a nasty bug in OS X.
As far as I can tell, it is triggered when skim reloads a changed PDF
file, but I haven't been able to completely reliably find out exactly
what triggers it. At first I thought it was to do with the pdfsync
functionality, but then I noticed it could be triggered simply if the
files changed. Whatever is causing it, once triggered any new process
on the machine will use up 100% of the CPU. The only way to get
things back to normal is to log out of the user account and back in
again.
I realise that this is a very sketchy bug report - I'm posting it here
in the hopes that someone else has run into it and has managed to work
out exactly what is causing it better than I have. I'm not even sure
if the fault lies with skim or with textmate or with the latex bundle.
Best wishes,
Nicholas
In GetBundles I see two for DocBook (one by Brian Hogan, the other by
weppos), is one better than the other?
Is TextMate the best editor to use for DocBook XML on the Mac, if I'm
new to DocBook?
Thanks.
Dan
Hi
I have recently started using textmate, and like it very much, with the exception of the search and replace, which I find rather awkward.
from vi and emacs I am familiar with being able to specify the search and replace strings from a command line like, for example in vi I would
%s/OLD/NEW/g
which replaces OLD with NEW throughout the entire file. OLD can also be a regex
In texmate you essentially always have to bring up the find/replace dialog if you want to use regex expression.
for simple find/replace you can use the cmd-E to put the current selection into the search field, but there is no easy way to put a replacement text into the replace field. If the replacement text happens to be some where in the file you can find and select it and shift-cmd-F into the replace field.
But this is all very long and awkward. Am I missing something or is the a easier way to use the find and replace in textmate, without having to bring up the dialog box all the time. seems a lot of key strokes with shift cmd, option, tabs, returns etc compared to my familiar
s/regex-find/replace/g
thanks
Steve
Dear guys
I have two questions. These looks piecs of cake... however, I cannot solve
it. :-(
1. Folding JsDoc-Toolkit comment
As you know, JsDoc-toolkit (and the similar auto-document-generation tools)
creates document with the comment as below:
/**
* Description of constructor.
* @class Description of class.
* @constructs
*/
Sometimes, the comments are too long to review the codes, I REALLY wanna
fold them. So I add rules to grammer like that:
foldingStartMarker = '(^.*{[^}]*$|^.*\([^\)]*$|^.*/\*(?!.*\*/).*$)';
foldingStopMarker = '(^\s*\}|^\s*\)|^(?!.*/\*).*\*/)';
Unfortunately, it's just working as below:
/**
* Description of constructor.
* @class Description of class.
* @constructs
*/
Colud you tell me how I can fold the original jsdoc comments with space?
2. Highlight Keywords.
The framework I use has a object, $Class, so I wanna highlight this object
as keyword.
However, it's impossible because of "$" even I add this keyword into the
grammer file. I use a escape character and Regular express format, it
doesnot working.
Please give the advice to highlight a string with "$".
Best regards.
--
View this message in context: http://old.nabble.com/JsDoc-comments-folding-%2B-Keyword-highlight-tp285194…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
Not that I couldn't figure out how to make this work, but is there any
current facility for substituting Biber for Bibtex in the LaTeX2
bundle? (or, I guess, the original bundle?)
If not, any thinking on the right way to do this; or should I just
start hacking?
;-)
Thanks! Charles