I was trying to install the footnote plugin from syncPeople on Rails,
and nothing happened. Then I fiddled around a bit and detected that
Show Scope didn't work either. So I thought maybe there was a problem
with the path $TM_xxx variables (those are paths, mainly, right?). So
using appZapper I did a complete reinstall and I think I've put
everything in the standard place but still no luck, neither plugin
install nor showing of scope works. Any help? I have all bundles
activated and I've also activated the macros using the automation
menu so as to avoid any keyboard mistypings.
Andreas
I've been experiencing a problem in the otherwise excellent Textmate,
it's related to tab-completing a snippet within a tab completed
snippet, here's a simple example to illustrate my problem:
I have created a new text.html document and typed mailto<tab> to get
the mailto snippet, now in the href value I am attempting to insert
another snippet I've created which is a shortcut for my email
address, unfortunately it assumes the shortcut is the value for href,
then moves to the subject value.
I can understand why Textmate works this way, after all, why would
you want to insert a snippet in to a field which expects a literal
value, but ideally I would expect it to tab-complete the email
address, then another tab to move to the subject field.
Hi guys,
I seem to have somehow hosed my bundles or commands or something.
Lot's of things don't work such as CMD+/ for comments or CMD+RETURN
for end of line then return, etc.
Is there anyway I can get fresh default bundles? Or is there
something else I can do to fix these things?
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
I changed the foldingStartMarker to this:
'^.*\bfunction\s*([\$|\w]\w*\s*)?\([^\)]*\)(\s*\{[^\}]*)?\s*$';
The only reason is that now I can fold this funny-named prototype
function:
function $()
Anyway, if you want to commit this change...
I'm just now playing with TextMate for the first time and, of course,
had to futz with themes a bit to get to my preferred light-on-dark
kinda coding environment....
Question: How do you tell what scope is under the cursor?
I found that I really liked Vibrant Ink, but it lacked scope
definitions for Objective-C and some of the other modes I end up
dealing with. However, the built in Espresso Libre did a pretty good
job otherwise. Since copy/paste didn't work in the Prefs pane
(Feature! Feature!), I ended up copying the various random settings
elements from one plist to the other.
Being too lazy to actually sort out the dupes, I wrote a wee bit of
python (you'll need PyObjC) that rips through the resulting plist and
eliminates duplicate settings (names only).
http://svn.red-bean.com/bbum/trunk/hacques/TextMate/
It is dumb. It should normalize by scope. I should fix that.
Actually, it really is broken -- it really should normalize by
scope. Ah, well.. it'll limp along enough for now.
b.bum
Hi Folks
Let me begin by making clear that I'm not a programmer - I'm trying
out TextMate in HTML production, which may or may not be advisable. I
have been using TextWrangler for this purpose.
The problem I'm having is too much space is being inserted before and
after what is actually being copied and pasted, like at least a
couple of words length on each end. And that's making messy code.
I'm copying out of Dreamweaver and pasting into TextMate.
TextWrangler doesn't make this mistake. What am I not understanding?
I would prefer to use TextMate - text and code are easier to read and
the overall design of this app looks quite advanced to me. I might
use it for ActionScript in the future but I probably won't be using
90% of the features.
This app is not very accessible to non-programmers. Maybe that's how
you prefer it. Some beginning and mid-level tutorials and/or movies
would help a lot. The manual is more like a reference book, rather
than showing it in application. Just to say you might get better
adoption of this beautiful app with better teaching of it.
Kearney Buskirk
I downloaded the Prototype and Scriptaculous bundle from
http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-
theme-and-prototype-bundle
but it seems not to be working (yes, I have activated it)
I don't get any syntax highlightning from it in either html or js
files, and this is supposed to happen as far as I understand?
Andreas
I am a recent convert to TextMate, but for some reason (probably me
fooling around in the app) I no longer get any content to show up in
the Function/Symbol field down to the right in the editor for my PHP
and HTML files. Now I just want to restore the default settings for
such files - is this possible while still retaining my other
settings? If so, could someone point me in the right direction?
Cheers,
Egil
--
egil helland / it consultant (mcse, web technology)
web: ikon.as / egil.net mob: +47-91315555
My apologies if this has been asked before but I hadn't seen it...
Is there a way to use TextMate to View Source in Safari (or any
browser for that matter)? Gosh would this be handy, I have a safari
plugin that at least shows the source in color, but of course,
anything I can do in TextMate is better!
Thanks,
Ray
--
Raymond Brigleb, Needmore Designs
http://needmoredesigns.com/
Love the TODO bundle and use it everyday to keep track of several
projects. What I would like to do though is print out the HTML output
the bundle produces. In otherwards, use COMMAND-Ndto print the window.
Any suggestions?
Thanks
Robert
Hi,
I saw some old posts on the mailing list regarding the pause (several
seconds) that the user experiences when switching back to TextMate
from some other application when a project contains files mounted
over NFS. An fs_usage confirms that it probably is the 1000's of
fstat() calls that TextMate does when activated that is causing the
pause.
Is this due to be fixed anytime soon, and in the meantime, has anyone
found any workarounds for it?
Thanks,
Geraint.
I am writing a script to parse a binary file in ruby. According to
the documentation on the file format, the integers are in little-
endian format. When I take the script, read the appropriate part of
the file, then 'unpack' with 'V' (little-endian), I don't get the
right answer from the internal "Run script" command. I do get the
right answer if I change to unpack with 'N'. However, if run from
the command line against Apple Ruby (/usr/bin/ruby 1.8.2) or against
Ruby compiled with DarwinPorts (/opt/local/bin/ruby 1.8.4), I get the
appropriate result with 'V' (as I should).
This seems to be a bug to me, though I'm not sure I'm missing
something here. Can someone either confirm this is a bug, or
alternatively explain to me why things are behaving in this way.
-albert
Hey all,
from time to time TextMate wants my password in order to save a file
having the following perms :
-rwxr-xr-x 1 yvon yvon 591 Mar 12 10:19 run.rb
even after entering the correct pwd, i'm unable to save the file
thought i've found a workaround :
copy the content into the clipboard ;
close the file without saving ;
re-open the file ;
paste the clipboard within this file.
have you heard of such a behaviour ?
best,
Yvon
I am working on an macro in which the selected text will be filtered
through one command and then all the text after the selection will be
filtered through another command. After the first command is
finished, the transformed text is selected, and I need to deselect it
and put the caret immediately after it. I had thought that hitting
the right arrow key would do the trick, but found out [that doesn't
always work][1]. Is there a foolproof way of getting the caret to
land right after the selection?
And while I'm asking questions, two more:
1. Is there a way for a command to call a macro?
2. Can a macro be made to behave differently depending on whether
text is selected or not?
[1]: http://lists.macromates.com/pipermail/textmate/2006-March/
008901.html
--
Dr. Drang
Hello,
Yesterday I decided to give TeXniscope a try after watching the
screencasts from Haris (btw, great screencasts!)
I have a problem making TextMate using TeXniscope though. I have set
the TM_LATEX_VIEWER variable to TeXniscope, and in TeXniscope I have
set the editor command path to /usr/local/bin/mate and the editor
arguments to %file -l %line.
When I typeset the document, TeXniscope doesn't open at all and the log
window shows this message:
******************************************
Compiling LaTeX...
This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
Typesetting: ./test.tex
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
Typesetting: ./test.aux)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-pdf.tex
Output written on test.pdf (1 page, 20593 bytes).
test.log
Success
2006-03-08 08:59:20.072 open[11309] LSOpenFromURLSpec() returned -10827
for application TeXniscope path /Users/geir/Desktop/test.pdf.
2006-03-08 08:59:20.074 open[11309] Couldn't open file:
/Users/geir/Desktop/test.pdf
******************************************
The document I'm trying here is a fresh document from the article
template.
Any idea of a solution for this?
(TeXniscope version 0.3.4, and TextMate version 1.5(906))
--
Mvh/Regards
Geir-Tore Lindsve
lindsve(a)bluezone.no
http://privat.bluezone.no/lindsve
Hi all,
I'd like to announce Keyref, a little app for turning TextMate's
keyboard shortcut list into a PDF reference card. Go to http://
keyref.octopod.info and follow the instructions to generate your own.
You can choose up to eight of the bundles you have installed to add
to the card and generate as many as you want.
I built this because I switched to TextMate just over a month ago and
found myself very lost initially. Several people found the first card
I generated useful so I decided other people might and ended up with
the web app. It takes the shortcut list TextMate generates, so will
include all your own shortcuts as well as the standard ones.
If you find this useful, or have any problems, please let me know.
Cheers,
Chris
http://keyref.octopod.info
Hi all,
I get this error message with some commands launched by plugins :
- the TDDMATE commands
- the external syncPEOPLE on Rail commands
(ex: rake migrate)
- ..
AFAIK, my config is standard (PowerBook, Locomotive, EdgeRails, rake 0.7.0)
Any idea?
Alain
On various Windows editrors I can use Cltr+[ to jump beetween mathching
pairs of braces and parens.
Is there such function in TM? I haven't found it in menu and built-in help.
BTW: is it possible to re-assign Cmd+[ to tab? (only if some text is
selected, ofcourse)
--
regards, porneL
Hey all,
i'd like using, from TextMate, ruby scripts making use of :
require 'xml/libxml'
for the time being i get an error :
LoadError: no such file to load -- xml/libxml
i think i could be coming from $LOAD_PATH (for ruby) not set-up
correctly.
i did a ~/.MacOSX/environment.plist
with only the PATH assigned.
does i need to add something equivalent to :
export RUBYOPT=-rrubygems
export GEM_HOME=/opt/local/lib/ruby/gems/1.8
being in my zsh init.
or all of those kind of setup could be done thru TextMate setup, but
how ?
obviously my script making use of libxml binder is working from
terminal.
best,
Yvon
Hi,
when i tried to run generic complete in a latex file (to complete a
\ref) I get the following inserted,
\ref{/bin/bash: line 1: /Macros/LaTeXcomplete.pl: No such file or
directory
}
can anyone help?
many thanks
Jeff
I'm interested if there is a way or technique (or even "trick") that
will allow me to track and resolve naming dependencies in a TextMate
project.
Specifically, I'm thinking of the situation where, as I develop a web
site, I decide that I need to move or rename an existing file. In
order to prevent the website from breaking, I must then locate and
change any and all references to that file in ALL of the files in the
project. I can use Find and Replace in Project to accomplish that,
but this is hardly proactive on the part of TextMate. I have to stop
to do it, or *remember* to do it later.
If I were using GoLive or Dreamweaver I assume that if I changed the
name of a file in a project, I'd get a message that that file was
referenced in "X" number of files and would I like to update all
those files to reflect the new name?
Is there any way now (or might there be any way in the future) to
handle this situation?
I'm not programming in C or the like, but it seems to me that a
similar situation could occur there: Say that for some reason you
change the name of an include or header file... you'll be into a real
mess if you don't detect all the locations in the code where that
file is referenced and change it! OR... if you change a variable
name for some reason, references to that name will need to be changed
(even though we aren't changing a FILE name in that case).
Thanks,
eo
Greetings all,
I'm getting this: interpreter failed: No such file or directory
When using cmd-/ to add comments.
It's happening in various language formats.
I've tried some of the ruby path type solutions, but I'm not having any
luck.
Could someone point in the right direction to investigate this.
Dan J.
=======================
Daniel Jewett
Solid Ether
22 Church St.
Tarrytown, NY 10591
ph: (914) 332-7513
dan(a)solidether.net
http://www.solidether.net