Hello,
With the actual code of LateXCommandCompletions.rb, it's impossible
to use
"alt esc" in a general context ( other than \ref{} or \cite{} )
example
\documentclass{article}
\begin{document}
\input{essai}
\in .... alt esc nothing !
\end{document}
I need to add fileExt = "" at the beginning of the file
LateXCommandCompletions.rb
But I lost LateXCommandCompletions.rb after the recent update 1.5.8
and today after the install of GetBundles and an update of the Latex
Bundle.
I would like to know if my solution is fine and how to manage my files
to avoid problem after any updates
Thanks
Best Regards
Alain Matthes
I have made a new html snippet called "href", it works, and shows up
as Bundles -> html -> href
I would rather it be in Bundles -> html -> insert tag -> href
How can I move this item?
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hi everyone,
I need to bring some XML files (CellML) into textmate; problem is that
the formatting is all on one line without wrapping/indents.
Is there any way to get textmate to automatically format the one line,
and auto-indent it?
Thanks in advance,
MP
I am very intrigued by the TM SQL features, namely, running a
arbitrary SQL command in the editor, as well as the browser. So far,
reading the help, I see I have a small connection window in which I
can enter in the usual host, user, pass, and database name.
The trouble is, I do not want to open my databases up to remote
connections. Almost always they are allowed access from localhost.
Most ISP's are not going to allow access from some other host as well,
not to mention, if you do not have a static IP, you are going to be a
moving target anyway.
What are my options at this point? I have a ssh/ftp/sftp type
connection in which TM is opened against it, and I can save right back
to the server. The sql stuff happens locally on the server.
Any way to integrate that type of connection with TM's sql tools?
--
Scott * If you contact me off list replace talklists@ with scott@ *
Why do I sometimes get xcode messages when using cmd R to run ruby code? If I
click somewhere else in the document and then use cmd R, then it usually
runs the code in the file without the xcode error.
Right now though, nothing I do is working. I'm getting
xcodebuild: Error: the directory /Users/xxxx/Desktop does not contain an
Xcode project.
every time I try cmd R.
--
View this message in context: http://www.nabble.com/xcode-message-when-running-ruby-tp22820086p22820086.h…
Sent from the textmate users mailing list archive at Nabble.com.
One last question for tonight. ;-)
According to the doc, the environment variable TM_PROJECT_DIRECTORY
may not be set. But in which cases? The doc is not very precise on
that point.
Thanks.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
Greetings!
I have been using TextMate for nearly three years. I just recently switched
jobs and purchased a new MacBook. I've been using the 30 day trial for about
a week - planning to purchase my key soon.
Despite using TextMate with PHP for so long, I haven't ever used the PHP
bundle.
This evening I downloaded it - tested it for a while - but found it to make
TextMate very unstable. I'd select the bundles menu to try out each PHP
bundle, but every second or third time the app would freeze for a few
seconds, then crash.
My console indicated: 'unrecognized selector sent to instance 0x15c29800'
right before the crash.
I tried removing textmate and deleting the php.tmbundle from
/library/application support/textmate/bundles/ then i reinstalled textmate
and tried everything again - same result.
So, I removed it for the second time (and also the bundle in
/library/application support/textmate/bundles/) -
Now, when looking at my console and working on a php file, I see many
instances of "didn't find rule named source.php" -
This ticket: http://ticket.macromates.com/show?ticket_id=8D6BF285 concludes
that "That error indicates that you deleted or disabled the PHP bundle and
are working with HTML files (with embedded PHP)."
I really liked the php bundle, but I'd hate to turn an 'always stable' app
to 'incredibly unstable' ... so, I'd be satisfied with relying on my own
snippets... but I am concerned with the error that I am still getting in my
console.
Is there anything I can do to completely remove that bundle?
I don't want to purchase a key until I get this issue worked out. I'm not
sure how to proceed, so any help would be greatly appreciated.
Thanks!
Alex
dear all,
I've had some problem making up a clear subject line and stil am in
doubt whether I've succeded. What I'm trying to achieve is the
following.
My documents have often various tables and charts embedded via the
\input{table_file}
command.
While explaining my tables/charts I'm mentioning actual numbers in my
text. Is it somehow possible to create a list of numbers in my latex
document and have them called via a reference in my text? This would
enable me to run a somewhat related scenario in my numbers and udpate
both my tables with numbers and have all numbers changed in the text
as well.
I was thinking this should be possible while using \labels, \ref but
for the moment can't stretch my mind to find a solution.
Thanks for any reply,
Gert
Hello, I use DropBox to sync files on more than one machine. Can I
symblink the TM app support dirs to DropBox and use it to sync that
data to more than one machine?
DropBox does not support rsrc forks, so that seems to be the limiting
factor.
--
Scott
* If you contact me off list replace talklists@ with scott@ *
Hi,
I just switched to Textmate to write my R scripts and I admit outright
there are many features of Textmate that I do not master yet. I am
confident I'll enjoy this new environment to write my R scripts.
I have a small problem though. I was looking forward to the ability to
send lines or the selection to R.app without doing cut and paste, as I
used to do with my other text editor.
But when I do this using the R bundle's "shift-option-command-R"
keyboard shortcut (or using the command from the Bundle's menu), my
selection is preceded by a setwd() to the folder where my script
resides. Except that often my working directory was set at the
beginning of my script to be elsewhere than where the script resides.
I am curious: why was this considered advantageous in the first place?
And second, can it be disabled (and how)? Also, can one change the
keyboard shortcuts? I do not use R from Terminal, so I'd like to
switch the keyboard equivalent to something that is less demanding on
my fingers, say control-R or command-R.
Thanks in advance,
Denis Chabot
On Mar 29, 2009, at 5:00 AM, textmate-request(a)lists.macromates.com
wrote:
> On the other hand one should ask why one needs the behaviour you
> mentioned. One can do this also in a doc associated to Rdaemon.
> Remember the Rdaemon doc is NOT a time-linear console, it's still an
> editor window, thus you can run code, go some lines back, run an other
> command, press ?Z for undo, correct the command, delete unused stuff,
> etc.
> In other words why are you using two windows?
> See: http://www.bibiko.de/TM_R_ex01.mov as na?ve example.
Thanks for the information and the example. As I say, maybe what I
need to do is learn a new way of thinking about how to use R
interactively while writing and testing code, rather than just
expecting the same kind of behavior as found in a different editor.
Kieran
Hi all,
Can the Rdaemon bundle can behave in a way that's similar to ESS in
Emacs (or as near as possible given that TextMate doesn't do split
windows and frames, etc). What I want is to have an R file open in one
window (associated with the R bundle) and an R session created under
Rdaemon open in a second window. I write R code in the R file and, as
needed, send chunks of it over to the R session where they are
executed. This is the standard way of working interactively with R in
Emacs/ESS. You can select code chunks and execute them in an R process
running inside a buffer. The code is echoed in the R session when you
send it over, together with any errors or output, etc.
In TextMate, I can have an R file open and an R session running in
Rdaemon, which is great. I can select code and use "Send Selection to
Rdaemon", but it works in the background (or rather, with a progress-
meter message box). The code executes properly, but it and its output
are not echoed in the open Rdaemon window. Once the code has been
executed I can step back through the code in the Rdaemon window using
the line-by-line code history. But what I want is to see code chunks
(and their output) inside the Rdaemon window as I go. Is this possible?
I realize it's somewhat unfair to ask TM/Rdaemon to behave just like
Emacs/ESS and yet still be TM. It's just that now that TM's LaTeX
bundle is so solid, having Rdaemon able to behave in this way would
mean I could stop using Emacs ...
Thanks,
Kieran
This might be a bug or a feature. But me and a friend of mine both have this
annoying "setting" that allows the caret to move to wherever i click the
mouse in TextMate. Even if I click an area after/outside my line of text.
The caret will also move to the right, just like I'm inserting spaces, if I
navigate with the arrow keys to the right. This wont actually insert spaces,
it just looks like it.
It looks like I'm using some "free caret position" setting, that I don't
want. Any ideas here?
Thanks in advance.
/Richard
--
View this message in context: http://www.nabble.com/Caret-moves-beyond-lines-of-texts.-tp22704552p2270455…
Sent from the textmate users mailing list archive at Nabble.com.
I am running Leopard and have set up a respository using some step by
step instructions in the command line.
I then open up my project in TextMate and want to commit my code to the
repository. It tells me that my code is not a working copy, so I say ok,
lets checkout. Then it asks me for svn+ssh:// something so I type in the
file path of the repository and a big error message thus...
"Status File
ssh: Could not resolve hostname Library: nodename nor servname provided,
or not known
svn: Connection closed unexpectedly
The file /Users/lucy/Sites/wed2/Repository does not exist."
Can someone point me in the direction of the right page in the manual
that explains how I should do this?
thanks
Lucy
Greetings. When using the 'Typeset and view PDF' command
in the LaTeX bundle, in conjuction with Skim as a viewer,
the character/word/line corresponding to the cursor's
position is selected in the pdf page. Does anyone know
if this is due to some option used inside the script, or
a standard behaviour of Skim? I find it quite annoying
and would like to prevent Skim from selecting anything
(the red dot is more than enough to show the position, for me).
Thanks in advance,
Piero
Is there a native way to do brace reformatting? I believe it is
called "cuddling". I often pull a function from here or there, and
the formatting is not to my liking...
function {
# code
}
versus
function
{
# code
}
--
Scott * If you contact me off list replace talklists@ with scott@ *
Anyone have any favorite Bundles for studying new code? I typically use a
combination of ctags / vim, but I was hoping that TextMate had some magic to
make things easier . . .
Let me know!
-Dave
Guys,
Do you know if someone ever tried to create a GDB integration in TM?
Would some of you be interested in something like that? I think it is
quite easy to do something which would look like "clewn" (http://clewn.sourceforge.net/doc.html
).
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
Hi,
I would like to know how to remove trailing whitespace (spaces and
tabs) when saving a document.
I currently have the Text bundle item "Remove Trailing Spaces in
Document / Selection" associated with a keyboard shortcut, but that is
not an optimal solution
With kindest regards
Jonatan Andersson.
P.S BTW, "Hello, World"
I've made another patch to GetBundles that lets you set the
"FINDER_APP" env variable, so you can tell GetBundles to open w/ Path
Finder. If the var isn't set, it defaults back to Finder.
As an additional, unrelated suggestion, I find it much easier to parse
bundle update times if the full 4-digit year is displayed:
locCom += " date: " +
Time.parse(bundle['revision']).getutc.strftime("%Y-%m-%d %H:%M")
(Change the lowercase %y to the uppercase %Y.)
Thanks,
Adam Vandenberg
http://adamv.com/http://github.com/adamv/
I use PathFinder instead of Finder; when telling GetBundles to open
the highlighted bundle in TextMate, Finder pops open in the
background.
I edited getBundles.rb to use mate directly to open the bundle;
there's probably a reason to use Finder instead, but I figured I'd
advocate for doing it this way for us Path Finder users.
Patch attached.
Is there a way to force TextMate to open it's drawer on one side even if
there is not enough screen space? I just hate it on the left.
-Yëco
--
Jasson Cascante
Senior Interactive Engineer, Interactive Engineering
Roundbox Global : enterprise : technology : genius
------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: 404.567.5000 ext. 2151 | cel: +506 8810.9879 | fax: 678.623.0305
email: jasson.cascante(a)rbxglobal.com | www.rbxglobal.com
------------------------------------------------------------------
On Mon, Mar 23, 2009 at 2:39 PM, ollie saunders <oliver.saunders(a)gmail.com>
wrote:
>
> I'm experiencing slowness when I use the number keys 1-9 (not 0). There's
a
> full second's delay from pressing a number to having it appear in the file
> that I'm editing. Interestingly the problem also exists when changing
using
> Apple+Number keyboard shortcut to change between open file tabs. The
problem
> only occurs in projects.
>
> Is anyone else having this problem? Any suggestions on a solution would be
> greatly appreciated.
>
> I'm using OS X 10.4.11 and I have the ProjectPlus plug-in installed.
> --
> View this message in context:
http://www.nabble.com/Number-keys-slow-tp22668585p22668585.html
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
Howdy;
Finally getting around to tweaking some html snippets, and I'm stuck -
this is what I have:
<li id="${1}"><a href="#">$1</a></li>$2
what I'm trying to accomplish is (replacing the spaces with underscores and
making it all lowercase)
<li id="this_is_a_mixed_case_string_with_spaces"><a href="#">This is a Mixed
case String with SPACES</a></li>
I'd really like to understand how to accomplish this (rather than just get
an answer).
thanks in advance
saul
Hi-
Using Ruby 1.9: ruby 1.9.2dev (2009-02-12 trunk 22259) [i386-
darwin9.6.0].
It's unhappy with the non-ASCII right-double-quotes, left-double-
quotes and ellipsis around line 20 in the command "Typeset & View
(PDF)."
Adding:
# coding: utf-8
On the second line fixes things...
HTH, Charles
Hey there, I've got my Textmate Flex compiling working great with the
AS3 bundle, I'm just wondering if there's a way I can clear
flashlog.txt everytime I compile so I don't have to keep doing this
manually?
Cheers :)
Ali
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hello,
I'm hoping someone can help. I don't know if I am doing something
wrong, or if there is a bug in the CSS bundle in TM 1.5.8.
For starters, when I open up a blank CSS document and hit opt-esc, the
only option I get is "title 2" (weird that it's not 1). If I'm reading
the CSS bundle correctly, I should get a list including #, *, ., and a
bunch of HTMl tags.
If I enter a selector and curly braces manually, and then hit opt-esc
inside the braces, I get the word "display" inserted. Again, from the
bundle definition (and logically), I would expect a list of CSS
property names.
Finally, if I enter a property name manually, followed by ':' (and get
the automatic ';' appended after the cursor), and then hit opt-esc,
all I get is '--', rather than a list of relevant attributes.
Would someone please help me understand what's going on here?
For what it's worth, I am working with a fresh "pristine" copy of the
"Bundles" directory in ~/Library/Application Support/TextMate/ out of
the "Pristine Copy" folder.
Thanks,
Avram
"I realized something was wrong when I looked over and saw the mast in
the water." - Dean Barker, Team New Zealand skipper
Hi
Does anyone know is there is a way to preserve syntax highlighting and print in color??
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
One annoying issue I have with the projects panel is every time I click on a binary, textmate tries to display a text version of it...if it happens to be a large zip, textmate sometimes crashes.
Is there some way to avoid this, outside of removing all binaries from your project panel?
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
Hi All,
I patched the ant bundle as described in a post earlier in January which fixes the build command but the build target command is not working.
After selecting the target text "main" in the build.xml file and then Ant->build target, I get the following error.
/tmp/temp_textmate.9KC3Zv:33: undefined method `attributes' for nil:NilClass (NoMethodError)
Any ideas what might be wrong, or maybe there is new bundle I could get?
Thanks in advance.
Is there any way to parse the open document (via regex search) and
return the results as choices for TextMate::UI.complete?
The command might search for "\$TM_\w+" so each time I want to type
$TM_SOMETHING I could get a list of completions built from what I've
typed elsewhere in the document.
I've got a basic TextMate::UI command up and running
<http://pastie.textmate.org/421465>, and as for a parser I've been
using this command: <http://pastie.textmate.org/421473> to complete
stuff thats been indented by 4 tabs (only bummer about this command is
that the document needs to be saved).
I'd love to combine these commands, but since I don't know Ruby I
don't have any idea what to do. (I scraped both those commands off
this list).
Thanks in advance.
I think the problem is "pstricks". If this package is involved, TM
uses automatically "latex" although "pdflatex" is set as default
engine. You can try it with this small example:
\documentclass{scrreprt}
\usepackage{auto-pst-pdf}
\usepackage{pstricks}
\begin{document}
Hallo
\end{document}
The package "auto-pst-pdf" should make using "pstricks" with
"pdflatex" possible but TM doesn't consider this. The only way I
found to avoid this is using the line
%!TEX TS-program = pdflatex
at the beginning of the code.
If there's anyone who has a better idea - I'm open for suggestions.
Am 19.03.2009 um 19:25 schrieb Allan Odgaard:
> On 19 Mar 2009, at 03:21, Gewitterbukk wrote:
>
>> [...] For example when I'm using packages like "auto-pst-
>> pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is
>> set as default engine.
>
> It tries to be smart, seeing that ‘pstricks’ works with postscript,
> not PDF. But I assume auto-pst-pdf makes it work with PDF or similar,
> and the command should either be even smarter, or not smart at all!?!
>
>> When I try to compile LaTeX-Code for the first time, I get the window
>> which is shown in the screenshot "pic1" attached in the appendix of
>> this mail.
>
> You say “for the first time”, does that mean the error is gone if you
> compile again, or that you resolved the problem?
Dear TextMate/LaTeX specialists!
I consult you because I've got a problem with setting up TextMate
(TM) for LaTeX correctly. At the moment TM seems to choose between
using "latex" or "pdflatex" by itself independent of the default
engine setting. For example when I'm using packages like "auto-pst-
pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is
set as default engine. This results in problems like everyone can
imagine. The only way to avoid this is inserting the line "%!TEX TS-
program = pdflatex" at the beginning if the LaTeX code. But that's
not the general idea I think.
When I try to compile LaTeX-Code for the first time, I get the window
which is shown in the screenshot "pic1" attached in the appendix of
this mail. Up to now I've pressed the button "Set PATH and Relaunch".
Just because I don't know what "kpsewhich" means and where it is to
find. Maybe that's the crunchpoint. After that the Terminal starts,
sets the PATH and TM restarts. But it doesn't work correctly in my
opinion. "Pic2" shows my LaTeX preferences. My current PATH is "/bin:/
sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin". The shell
variables are shown in "pic3". I'm using Mac OS 10.4.11, TeXLive 2008
and the current version of TM.
I would be very lucky if someone could help me by letting me know the
right settings.
Thanks a lot beforehand!
Best regards from Germany
A. van Ohlen
Guys,
I'm trying to create a completion command for the C language, using
D2. For that purpose, I wrote a function using TextMate::UI.complete.
It looks almost like that:
#!/usr/bin/env ruby
require ENV['TM_SUPPORT_PATH'] + '/lib/web_preview.rb'
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate.rb'
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
currentWord = ENV['TM_CURRENT_WORD']
# Build the list of completion choice.
choices = [{'display' => 'hal_Aa'}, {'display' => 'hal_Ab'},
{'display' => 'hal_Abc'}]
# Display the completion popup.
options = {:extra_chars => '_', :case_insensitive => false}
TextMate::UI.complete(choices, options)
When I call this TM command, it works fine, but pressing the '_' key,
while the popup is displayed closes it and cancels the completion.
This is not the behavior I expect as '_' has been added to the extra
chars.
Does someone know how to have the '_' character being considered as
part of the word?
BTW, in my preferences, the "Word Characters" field is "_". I don't
know if this impacts.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
The Hyperlink Helper bundle's Wrap Selection as Link will default to
"http://some-site.com/" if it can't find something else to link to (e.g.
something on the clipboard). Unfortunately, some-site.com is a real site
which people probably don't want to link to by accident.
RFC 2606 <http://www.rfc-editor.org/rfc/rfc2606.txt> states that example.com
can be used, and if someone does indeed go to example.com, they don't
get surprised.
I'm sending this info because the "Send Feedback..." portion of TextMate
brought up a page that suggested Bundle bugs to be discussed here. I don't
know if the current behavior is considered by others to be a bug, but we
had a near miss that almost caused some-site.com to be linked to in our
production web pages. We'd definitely have preferred example.com to
be in our pages had we not caught the mistake.
--
Cliff Matthews <ctm(a)sceim.net>
formerly ctm(a)ardi.com
Thanks, that's been fixed. Must be an artifact of using the bundle
editor. I guess I just wait now? The patch remains at
http://pastie.textmate.org/416564
>
> ---------- Forwarded message ----------
> From: Daniel Stockman <daniel.stockman(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 19:35:24 -0700
> Subject: [TxMt] Re: Updating Javascript bundle?
> On Mar 14, 2009, at 3/14 6:54 PM, Michael Newton wrote:
>
>> Okay, I've created a patch using the instructions in the wiki article;
>> I've used SVN a fair bit, but never touched git so I'll leave that to
>> folks more knowledgeable than me. The diff file is here:
>> http://pastie.textmate.org/416564
>>
>> Let me know if there's any other way I can ease the addition of this
>> patch to the code base.
>
> Beware doubly-encoded ampersands in the diff (&amp; => &)
>
--
Michael Newton
http://mike.eire.ca/
Hi
first of all, congratulations for this fantastic enrichment of the
already genial project drawer. I did instaled Project+ and it worked
well (and I got really impressed) the first time. But after
installing and restarting and running it again it failed, TM shows the
classic project drawer, not the new enhanced one. You can touch round
the preferences of Project+ but it ignores them. But vuala! I opened
with mate several files from the terminal: "m *.json" and Project+
appeared, funnily both modes were present at the same time, the
classic one an the new one. Then I close and reopen my project and it
worked well.
The conclusion: you need to reopen a project to make Project+ to
became live.
- juan falgueras
The AppleScript window object in TextMate 1.5.8 (under Mac OS 10.5.6)
seems to be broken. I get get the window name and bounds, but not the
window document:
tell application "TextMate" to return (document of front window)
=> NOTHING
Compare this to TextEdit, which has a similar dictionary:
tell application "TextEdit" to return (document of front window)
=> document "foo.txt" of application "TextEdit"
Am I doing something wrong?
Regards,
Alan
--
Alan Watson
http://www.alan-watson.org/
Fo those of you using Consolas...
Microsoft's version of Consolas displays on the Mac and in TextMate
with an incorrect line-height, most clearly exhibited in selected
text, highlighted lines, and spelling error underlines. This makes
writing in Consolas irritating to me.
The version of Consolas that ships with BBEdit has a correct line
height but no italic or bold variations, which also irritates me.
If you extract BBEdit's Consolas from its package contents, install it
and disable Microsoft's "regular" weight, Leopard seems to use the
correct line-height information from BBEdit's version and apply it to
Microsoft's italic and bold weights.
Now Consolas is beautiful.
Sources:
<http://bandes-storch.net/blog/2008/12/21/consolas-controlled/>
<http://www.command-tab.com/2008/12/16/consolas-cursor-fix/>
The Ruby Debug.tmbundle is pretty old
http://www.datanoise.com/articles/2006/8/27/control-debugger-from-textmate
and I can't get it working anymore.
When I try and set a breakpoint in a rails project I'm getting this
tooltip error in textmate:
"We are not in a state that has an associated file"
The scope for the set breakpoint command is: source.ruby - comment
Does anybody have any ideas about why?
I put a copy of the Ruby Debug.tmbundle zip directory on github here:
http://github.com/stepheneb/rubydebug.tmbundle/tree
FYI: the ruby-debug gem itself has been updated so this command invocation:
rdebug -s --no-stop ./script/server
needs to replaced with:
rdebug -s --no-stop ./script/server
Guys,
I'm currently trying to develop a command which gets some log from a
cmd pipe and send the result of the TM command to the HTML output,
just like that:
cmd_pipe = open("|my_long_script.sh 2>&1")
cmd_pipe.each_line do |line|
print line
STDOUT.flush
end
cmd_pipe.close
This allows the web preview to be updated (better than the print
`my_long_script.sh 2>&1' for that reason) while the command is
processed. But my problem now is that the web preview does not got to
the end of the file automatically... This is a bit painful while
staring at the result of the command.
Do someone have an idea to force the web preview to scroll down each
time the STDOUT is flushed? Or something like that.
Thanks in advance.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
Hi list,
I started python and therefore I downloaded v3.0.1 as a dmg and
installed it.
If I test the version in the terminal with
python -V
it returns
Python 2.5.1
The same is used within Textmate.
I thought the old one will be updated with the new version... How
could I used the new version of python and where got it installed?
Thanks in advance
Christian
When I press that combo (by accident) I see the bottom bar of the TM
interface become a full-width text field with a flashing insertion
cursor, but I have been too scared to type anything into it. Has
anyone seen this? Any ideas what it means?
Thanks in advance,
Walter
Hi,
Recently I encountered a problem of running Perl script by cmd-R.
The error is:
/bin/bash: line 9: -e require
"#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor" require
"#{ENV["TM_SUPPORT_PATH"]}/lib/tm/save_current_document"
TextMate.save_current_document
TextMate::Executor.make_project_master_current_document
TextMate::Executor.run(ENV["TM_PERL"] || "perl",
"-I#{ENV["TM_BUNDLE_SUPPORT"]}", "-Mexception_handler",
ENV["TM_FILEPATH"], :version_args => ["-e", e_sh(%q{printf "Perl
v%vd", $^V})]): No such file or directory
I have tried to use GetBundle to update but this does not help.
Textmate: 1.5.8(1498)
[Sat Mar 14 22:33:05 mbp ~]$ cat /Users/cmlai/Library/Application\
Support/TextMate/Pristine\ Copy/Support/version
11282
Help?
Okay, I've created a patch using the instructions in the wiki article;
I've used SVN a fair bit, but never touched git so I'll leave that to
folks more knowledgeable than me. The diff file is here:
http://pastie.textmate.org/416564
Let me know if there's any other way I can ease the addition of this
patch to the code base.
> ---------- Forwarded message ----------
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 15:52:19 +0100
> Subject: [TxMt] Re: Updating Javascript bundle?
> On 13 Mar 2009, at 17:14, Michael Newton wrote:
>
>> [...]
>> So, how can I get the official bundle updated with this stuff? The
>> modified 'Commands/Documentation for Word.plist' is at
>> http://pastie.textmate.org/415305 and the index file
>> 'Support/dmo_index' is at http://pastie.textmate.org/415304
>
> http://wiki.macromates.com/Bundles/HowToContribute
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Daniel Stockman <daniel.stockman(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 13:11:59 -0700
> Subject: [TxMt] Re: Updating Javascript bundle?
> On Mar 13, 2009, at 3/13 9:14 AM, Michael Newton wrote:
>
>> So, how can I get the official bundle updated with this stuff? The
>> modified 'Commands/Documentation for Word.plist' is at
>> http://pastie.textmate.org/415305 and the index file
>> 'Support/dmo_index' is at http://pastie.textmate.org/415304
>
> If you're into the Git hotness, you could clone my fork[1] (or download a zip/tarball) of Thomas Aylott's work-in-progress restructuring of the bundle. I committed your patch into my repo, I like it a lot. :)
>
> [1]: http://github.com/evocateur/javascript.tmbundle/tree/master
>
> Regards,
> Daniel
>
>
--
Michael Newton
http://mike.eire.ca/
What's the process for updating a bundle? I got sick of looking at ads
whenever I needed a bit of Javascript documentation so I rewrote the
Javascript bundle to use developer.mozilla.org for documentation. In
addition to changing existing links, I also added dozens of very basic
methods (like document.getElementsByTagName or Array.join), statements
(like if...then...else), and operators (eg instanceof or new) that
were not included for some reason. And removed things like taint and
untaint, which haven't been supported by any browser since Netscape 3.
Hopefully the people from 1996 won't mind.
So, how can I get the official bundle updated with this stuff? The
modified 'Commands/Documentation for Word.plist' is at
http://pastie.textmate.org/415305 and the index file
'Support/dmo_index' is at http://pastie.textmate.org/415304
--
Michael Newton
http://mike.eire.ca/
Hello,
Is there an easy way to assign `Next Completion' to the `fn' key and
`Previous Completion' to `shift' + `fn' ?
(Reaching the `esc' key on a laptop keyboard is quite a stretch...)
Thanks,
Stéphane.
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
CRI UPVD http://www.univ-perp.fr
I have a WordPress 2.7 blog that I had been using with TextMate.
Around the time I upgraded WordPress to 2.7.1 and TextMate to 1.5.8
(1498), TextMate lost the ability to interact with my blog. it gives
"Error: bad login/pass combination(403)."
I've isolated the issue to when my password contains an ampersand (all
the other characters are letters and numbers). For example, when I set
the password to abcabc it works, but abc&abc does not.
Hello,
When I'm using TweetDeck, if I click on a link in TweetDeck TextMate
pops to the front and tries to open the URL. It can't and I get this
error:
This version of TextMate does not support “twitpic.com” in its URL
scheme.
If I drag TextMate to the trash, Safari opens the link as expected.
If I copy the link in TweetDeck it looks like this:
event:http://twitpic.com/1xtwr
Is there anyway to get TextMate to stop trying to open these links?
Thanks,
Adhamh