On 4. May 2007, at 15:56, Simon Gregory wrote:
>> if find_app >/dev/null «bundle identifier of iTerm»; then
>> echo 'We got iTerm installed!'
>> fi
>
> I'm assuming that the «bundle identifier of iTerm» is the value
> from this key found in iTerm.app/Contents/Info.plist
>
> <key>CFBundleIdentifier</key>
> <string>iTerm</string>
Yes, unfortunately that bundle identifier is in the wrong format. It
should be something like: “com.«company».iTerm”.
It will likely work though. Alternatively you can do: find_app
iTerm.app (then it looks using the app name instead of the bundle
identifier, normally the former would be more ambiguous).
> One thing, would iTerm need to have been run once in order for the
> system to register it's presence?
If it is in /Applications and possibly ~/Applications, the system
will automatically register the application (at boot time) -- maybe
some other locations are also magic.
But at least running the app, will ensure the system has it in the
index.
Maybe I'm just missing something here, but:
Please make it possible to use a filter for the files scanned using
Find in project. I almost always have a situation where I'm searching
for something in my HTML files only and that something will be present
in almost all of the PHP files, thus adding a lot of noise to the
search result dialog.
There will also be situations where I'm searching for instance all
index.php files in a large project.
And while I'm at it, please make the Find in project faster ;^)
--
Sven Axelsson
I love the "Find in Project" command - especially when I'm working on
lots of HTML files. But it lacks something that the regular "Find"
command has - the ability to see multiple lines in both the "Find" and
"Replace" field. If the "FInd in Project" had that feature, it would
be much, much more useful. I work mainly in HTML, and it would really
help with things like updating menus across the site - pieces of code
that are rarely on a single line.
I know that you CAN replace multiple lines of code with "FInd in
Project", but having the ability to *see* them would help immensely.
For some reason whenever I try to replace multiple lines of code, I
get weird duplicates and other strange things. Granted, that could be
more indicative of my own ability ; ) - but if I could see all the
code at once that I'm using, I think I would run into fewer problems.
Any thoughts?
Hi,
A nice feature in TextMate is the automatic update of a dragged
folder inside the project drawer. But when you work with latex
projects and compile your document you'll get some help files, such
as aux, toc, lof, lot and so on. For this reason it would be nice to
have some kind of filter which is applicable for hiding certain
extensions when the folder is rescanned.
Would this be possible...?
Christian
Is there some way to control the appearance of the spinning progress
indicator on the HTML output pages? Some CSS, maybe? I'm writing a
command using the standard themes given by webpreview.rb, but the spinner
is practically invisible. I don't want to turn it off (I know about
TextMate.isBusy) or make any drastic changes, just change the color.
--
Steve King, <steve(a)narbat.com>
Hi all, I'm a Textmate newcomer. I'm using it to write my dissertation
in Latex. I ditched TexShop and I really love Textmate. I've watched
the video tutorial, read the documentation and have everything setup
and working. I have a master file and the compilation works
flawlessly.
The one thing I haven't been able to use is the \ref{} and \cite{}
completion. I have a bib file linked to the master file and my
bibliography shows fine when I compile the document. I just can't get
completion to work. Same thing with \ref{}, I added colon (:) to the
set of word characters but nothing. When I'm in a \ref{} or \cite{}
and press escape, nothing happens, I press option-escape and nothing
happens. Type the first few letters and press escape, nothing. If I'm
outside of \ref{} or \cite{} and type eq: and then escape I DO get
completion to work but not if I'm inside of the {}!!!!
If I'm anywhere outside an {} and press option-escape I get:
Label based on current word.. 1
Citation based on current work... 2
but if I choose either I get a crosshair pointer, what is this for?
I'm running Textmate version 1.5.4 (1360) and both the Lattex bundle
and support folder are the latest from SVN. Mac os X 10.4.8.
Thanks for your help,
Andres
--
Andres Gonzalez-Mancera
Biofluid Mechanics Lab
Department of Mechanical Engineering
University of Maryland, Baltimore County
andres.gonzalez(a)umbc.edu
410-455-3347
Hi
I am hoping someone has solved this problem.
I use latekmk.pl script as $TM_TEX_COMPILER to compile my LaTeX documents
from within Textmate and it works wonderfully on every document I've made,
except for any document that uses the exam package.
The problem is small: I must execute cmd-R twice to get it to compile the
number of points correctly. This is only a problem within Textmate; if I run
the script from the command line it works perfectly. And while it is a small
problem it is vexing, since latexmk.pl was made specifically to deal with
the need to run LaTeX etc. multiple times.
My guess is that there is a bug in either cmd-R (though I can't find one)
or somewhere in the bowels of Textmate.
Seeing as how I used this package frequently, almost daily, I'm guessing
that this need to cmd-R twice will cost me about an hour and a half of my
life in the coming year.
Best wishes
----
David
Maybe this is already in the works, but anyways:
Show invisibles needs a (separate) option to show spaces. Even better,
I'd like to see an option to show leading spaces only (Komodo has
this). Makes it easier to see the correct indent level.
--
Sven Axelsson
Hi there,
Sorry to raise an old question, but I can't find a definitive answer
in the archive - is it possible to turn off the tab bar? In a
previous post (Re: [TxMt] new beta, in Dec, 2004) Allan said, in a
rersponse to a question about hiding the tab/status bars:
> > Why remove the option to show/hide tab/status-bar ?
>
> I didn't thought anyone would actually use them, and if possible, I'd
> like to enforce that they're always enabled (since I'll rely more on
> these elements in the future).
>
> I can bring back the option to hide the tab bar.
Did this ever get brought back in? Is it a 'hidden' preference that
can be accessed? I never use the tab bar and would like to be able to
toggle it off if I can.
Thanks,
Nigel
Hi Folks,
A lot of my projects include some images and for getting a nice
overview, I also arrange these images, together with other related
files, within the project drawer.
If I right click on an image, I can open it with the standard
application (for example preview.app). Would it not be nice to have
an option "Open with..." and then be able to open it in the favorite
graphics program?
I know, it is possible to drag and drop the image on the dock icon of
the graphics program, but an option would easier.
Thanks
Christian