I often use TextMate's "anonymous project" feature, where I drop a
folder onto TextMate, and it automatically creates a project for me.
Unfortunately, I've noticed that if I rename this folder or move it
to the trash, TextMate gets confused. It apparently can't find the
project and displays all the files in the file drawer in red text.
Also, if I happen to have an unsaved file open beforehand, TextMate
insists that I type my administrator password (why?) every time I
switch apps, since I have the "Save files when focus is lost" setting
on.
This wouldn't be so bad, except that sometimes -- and I haven't
figured out what causes this -- TextMate prompts me for my password,
then beachballs permanently after I enter it, and I have to Force
Quit. This has happened to me on quite a few occasions, and just
happened again today. (I'm using version 1.5.3.) Has anyone else seen
this?
Anyway, shouldn't TextMate be able to track folder changes? I don't
understand why it has to get all confused just because I move or
rename a folder.
Trevor
I've had a problem with TextMate (and with OmniOutliner), where
writing in very long lines was extremely slow. Very slow.
I've just updated the utility FruitMenu, since the update claimed to
fix a problem where writing in OmniOutliner was very slow. Guess
what, writing speeds in both applications have dramatically improved.
It might be a coincidence, but then maybe not.
/Peder Axensten
The SWIG bundle should derive from source.c++ as SWIG interface files
may include C++ code.
Also, how do you guys maintain bundles. I have my checkout in /
Library, and I want to make changes without a .tmDelta being created
so I can commit. Should I just checkout to ~/Library instead?
Thanks,
-- Daniel
Hi List,
I'm playing around with templates for Actionscript, at the moment
all's working fine except the class path of the new class I'm
generating.
I'm using the TM_DIRECTORY variable in combination with the
TM_NEW_FILE_BASENAME as in the original AS template and attempting to
parse it with a regexp to change it from a file path the the class path.
i.e. change _workingcopy/com/native/project/package/ClassName to
com.native.project.package.ClassName
My limited grasp of regexp is tripping me up however.
As I understand the problem, I need to look for "com" as the start of
the class path, strip out anything before that and then convert
subsequent slashes to full stops.
So far I've got as far as
(.+)(com)(.\w+)\3*
Which as I understand it, matches "com" and then "/[somefoldername]",
and then repeats the 3rd match pattern ("/[somefoldername]") until
the end of the path on each path segment.
Am I close? How do I now go about replacing each / with a . in the path?
Thanks for any help!
Sam
Haris, cool. thanks for helping! yea, now you got me into this bash-scripting thing..
based on your hint i adjusted the compile-section in the "typesed and view" command and it seems to work now. thanks again!
# Compile.
run_tex "$FILE" 2>&1| latexErrWarnHtml.py -v
# If there is a "nlo" nomencl-file, then run makeindex and compile again
if [ -e "${M%.*}.nlo" ]; then
makeindex "${M%.*}.nlo" -s nomencl.ist -o "${M%.*}.nls"
run_tex "$FILE" 2>&1| latexErrWarnHtml.py -v
fi
RC=$?
if [[ $TEX_PSTRICKS ]]; then
dvips "$DVI" -o "$PS" && ps2pdf "$PS"
fi
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
hi,
i would like to use textmate to create latex docs that use the nomencl package. that means i should tweak the compilation process. if i have the file mytest.tex i could compile it manually like following:
1. compile within textmate (TM_LATEX_COMPILER = latexmk.pl)
2. from the directory of "mytest.tex": makeindex mytest.nlo -s nomencl.ist -o mytest.nls
3. compile again within textmate
earlier i used texniccenter on windows where i created a project related output profile postprocessor:
- executable: C:\apps\editor\texmf\MiKTeX\bin\makeindex.exe
- arguments: "%bm.nlo" -s nomencl.ist -o "%bm.nls"
how could i achieve this with textmate?
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Hey all,
this moring i've make use of command :
sudo mate <file name>
in order to edit a config file.
i've discovered afterwards TextMate had change the file owner from
"news" to "yvon" (my short login name).
then i had to chown over it.
is that a normal behaviour or does i, as I think, forgot something ?
best,
Yvon