Wanted to get this out there in case anyone else was having these issues.
Snow Leopard changed my PHP configuration. (In fact, it might have come
with no php.ini set up altogether... I've already forgotten.) The
configuration killed any bundles that ran PHP code (like the wonderful
but quirky FTP/SSH bundle), since it was not passing environment
variables from Textmate to PHP.
I was getting errors like:
PHP Notice: Undefined index TM_PROJECT_FILEPATH
PHP Notice: Undefined index TM_DIRECTORY
etc.
and FTP/SSH reported "Remote settings file not found", when really that
was the least of its problems.
The fix:
* Make sure you have a file, /private/etc/php.ini -- you may have to
copy or rename 'php.ini.default'
* Search for the variables_order configuration line. It should be
uncommented, and have an E in it, like this:
variables_order = "GPCSE"
That's it.
hello everyone,
i have installed the phpbundle with svn co http://svn.textmate.org/trunk/Bundles/PHP.tmbundle
in ~/Library/Application\ Support/TextMate/Bundles/
the problem is that the php bundle doesnt appear in the bundles
menue[1]. but it is listed the bundles folder[2].
another problem is, when i start a new project and would like to add
an file with a .php file extension i cant choose the .php file
extension from the menue[3]
i have reload the bundles with osascript -e 'tell app "TextMate" to
reload bundles'
hope that anyone can help me out. sorry for my bad english!
regards,
sebastian
[1] http://img443.imageshack.us/img443/9637/bild1q.png
[2] http://img159.imageshack.us/img159/4888/bild2y.png
[3] http://img524.imageshack.us/img524/9931/bild3te.png
---
() ascii ribbon campaign - against html mail
/\ - against microsoft attachments
Hello,
I have been using TextMate (licensed) for several years. A few days
ago, I did the most recent update. Now, TextMate will not launch at
all. I get a dialog box telling me TextMate is not supported on this
architecture. But I have NOT upgraded to Snow Leopard, so I can't
figure out why it is happening. I'm still running Leopard, version
10.5.8. Does anybody know what's wrong and how I can fix it?
Thanks,
Crystal
Hi!
I'm just working on some Tex-Document which uses several dialogues
which I want to enclose in "< "> (the result are those <<
>>-enclosures in the document). Would be cool if that could be added
to the language grammar.
Thanks in advance
Niels
It seems that the `par` binary included with the Mail bundle was
compiled for PowerPC only. I don't have Rosetta installed, so I got a
warning. Just an FYI.
Maybe someone could scan the Support folder for all the current
bundles to look for such binaries?
--
Rob McBroom
<http://www.skurfer.com/>
If you need something, that doesn't mean someone else owes it to you.
Hi,
I'm evaluating TextMate as a MacVim replacement for my LaTeX writing.
What bugs me is that it does not seem to indent and hard wrap text
automatically at all when editing existing paragraphs. MacVim does
this very nicely when the appropriate "format-options" are turned on.
I found this message regarding indentation:
http://lists.macromates.com/textmate/2009-August/029269.html
>> Is there a way to make the indentation continue on the second and
>> third, etc. line of the \item? Something like this:
> I assume you are asking for indented soft wrap, in which case the
> answer is no.
What would the answer be for indented *hard* wrap?
What I would like is to be able to just remove some words of any
indented line (e.g. within a
\item line) and have TextMate continuously reflow and re-indent the
text for me.
- If I press backspace before the first non-white space character of a
line, it should just jump back to the end of the previous line instead
of removing the indentation tabs or spaces.
- If I'm changing a line that begins with \item to \end{itemize}, it
should automatically outdent to the correct indentation level.
- etc.
In other words, if at all, it should only be possible to change
indentation manually using opt-tab and opt-shift-tab.
For some limited time, I could maybe live with having to press a key
to manually trigger the re-flowing and re-indenting process, but none
of the provided commands seem to do much good in this case.
I attached a macro I've developed that handles the latter (only soft
tabs are supported); please let me know if there is an alternative way
of achieving this.
I wonder if any enhancement regarding automatic reflowing of hard
wrapped text is planned for TM 2?
Thanks,
Sam
This is probably a bit of a noobish question, but since most recently
updating TextMate I've been having problems making programs which require
input run correctly through TextMate. Before the recent update I had no
problems.
For example, if I write a simple C program such as the following
(getchar.c):
#include <stdio.h>
int main() {
printf("Please type a character:\n");
printf("You entered %c", getchar());
return 0;
}
and then hit Command-R to run the program, TextMate doesn't bother to ask me
to type anything but just defaultly takes EOF as its input. Before updating,
TextMate would come up with a dialogue box telling me that input was
required, with the option to send EOF to the program, but this no longer
happens.
The above program runs fine in terminal, via "gcc getchar.c;
./getchar.c.out" for instance.
The problem persists with other languages too, such as Ruby. Presumably
there must be a simple way to fix it. Has a setting that tells TextMate what
to take as STDIN been changed?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Running-programs-that-require-input-in-TextMate-tp252…
Sent from the textmate users mailing list archive at Nabble.com.
I'm not sure if this is a textmate problem, but I don't seem to be
able to generate a pdf with images using princeXML from a
multimarkdown document anymore. The only real change in my system in
snow leopard. Is anyone else having troubles with this?
j.
Dear Users,
Erm, I spent the better part of the last few hours working on a custom
language grammar for assembly languages and then with just one keystroke
the language definition was deleted without me being able to bring it
back? How is it possible that when I do not have the focus on the text
editing region of the language editor (mind you this can happen
accidentally very quickly when you have to constantly close and reopen
the dialog!) and I press backspace that my language definition is
deleted without being asked if I really wanted to delete it? This is so
incredibly fustrating.
Do any of you know a trick how I can save any of it? Is there a cache
somwhere or someting that I can exploit. I already checked the tmBundle
and under the Syntaxes folder my definition is already gone :(((
Please if you do know something.... it would be a shame if all this work
would be lost. I really did not expect this behaviour. I otherwise love
TextMate but this is a design flaw. I should at least be asked if I
really wanted to delete the syntax file I have been editing the last few
hours.
Thanks for reading!
André
I just upgraded to Snow Leopard over the weekend, and when re-installing all
software, decided to use GetBundles to grab all of the bundles I'd been
using. However, when trying to list everything on the repository, it doesn't
seem to work for me.
I went into show_bundles.rb, the support ruby script which is called when
you "Show Bundles on Repository". I updated the website's hardcoded in that
script to svn.textmate.org/trunk/Bundles, but no dice. I did notice the
general note on TM/SL incompabitility with Ruby scripts due to 1.8.7, but
I'm not a Ruby guy so I dont know the details.
Is anyone else seeing the same thing?
Much thanks
Joe
With SL upgrade, as discussed before there is problem with LaTex and
other bundles don't work while the tm_interactive_input.dylib exists.
I find another problem when I tried to configure the LaTeX bundle
preference, it appears a tooltip says,
/Library/Applications Support/TexMate/Bundles/LateX.tmbudle/Support/
bin/configure.py:8: DeprecationWaring: os.popen4 is deprecated. Use
the subprocess module. sin,result = os.popen4(command)
What is this?
Hi All,
I downloaded TextMate today and am evaluating switching to it from Emacs.
There are many things I like about it so far, but I have three questions.
I code in C++. When I try to re-indent a selected chunk of code, using Text
-> Indent Selection, it seems to do the wrong thing for any code that
appears after comment lines. Am I doing it wrong?
Also, is there any way to invoke Make from within TextMate. And finally, is
there a gdb mode for debugging apps, like Emacs has?
Thanks!
Mark
I have asked this before, and I can not find the post, or any notes or
emails on it.
When remotely editing code via for example, Interarchy, or any other
ftp/ssh/sftp app, I can not get saving of code foldings.
Is this supposed to work? I seem to recall back in the days of using
BBEdit I would be able to tick off a "save state" and it would
remember everything, from window position, line numbers on off, and a
bunch of other things.
Thanks.
--
Scott * If you contact me off list replace talklists@ with scott@ *
I have two bundle commands with identical input and scope settings.
One of them sees the TM_INPUT_START_LINE_INDEX environment variable,
the other does not.
Any idea why that may be?
Thanks
Gerd
Hi,
I found a small bug. Since this is part of a bundle, the macromates
website asked me to report it here.
Summary: sort does not with euro symbol, and some other non-Latin
characters.
Steps to reproduce
1. Open new text file.
2. Add text with a EURO symbol, e.g.
aaa €
bbb ¥
ccc $
ddd £
3. sort the file with F5 (Text > Sorting > Sort lines in document)
I get the error:
sort: string comparison failed: Illegal byte sequence
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were `AAA \302\202\254' and `BBB ¥'.
Most non-Latin characters work fine. Just this one fails. If I save the
file and simply run "sort test.txt" all is fine. Both in my shell and in
TextMate, "echo $LC_ALL" return "en_GB.UTF-8".
Typing the following script in TextMate and "run script" works fine:
echo "ccc\naaa€\nbbb" | sort
What would be different for the "Sort lines in document" (which simply
calls "sort") and the above script?
Any clue?
Is this reproducible by others?
Regards,
Freek Dijkstra
Hi,
I have made the following
blunder a couple of times. I go to open a file in textMate using
File->Open and am in column view. I accidentally double click on the
folder instead of single clicking. In list view or icon view this
would just open the folder and go to the next level. In column view
this actually opens the folder in textMate. If you are unfortunate
enough to do this at low enough a level, textMate will then start
scanning the entire folder hierarchy.
I seem to remember seeing a command that would stop this process. I
searched the archives of the list, but apparently I didn't on the
right word choices.
BTW. Part of the beauty of textMate is that it doesn't protect you from such
blunders. My chain saw expects me to know not to run it while the chain is
directed at my own leg. If I put a guard on the chain, it would make the
tool REALLY hard to use.
Currently I just force quit textMate and start over. I just wonder if there
is a better way.
Have a great day.
--
Brad Tittle
I'm constrained to use Subversion 1.6.x, and this breaks the
Subversion bundle I have. I did try checking out the current bundle
into /Library/Application\ Support/TextMate/Bundles, but that seems
not to have helped.
Is there any relief for this? Either a new bundle or some Subversion
properties I can set?
I searched the Nabble archive for this list, and looked back a few
months, but found nothing relevant.
— F
Attached are two services written to take advantage of Snow Leopard's
context menu/automator integration.
TxtToTM sends text selected in any application and opens a new TextMate
window with that text inserted. There is a rudimentary heuristic set up to
check if the text is Javascript/HTML/CSS/Applescript and set the textmate
bundle type accordingly. This is implemented through an Applescript in
Automator. So this can be extended/improved/hacked by the many textmate
users who are, no doubt, more proficient in Applescript than me.
Edit in Textmate will open any file or folder selected in Finder in
Textmate. Folders open to Projects.
These services show up when contextually appropriate (i.e. when you have
text selected it will be in your right click menu).
To install unzip, and put the two files in ~/Library/Services. You may need
to go to System Preferences/Keyboard/Services and make sure the box next to
each of them is checked for them to show up in your context menu.
These are written using Automator's new Create Service function in Snow
Leopard, so are 64 bit compatible. I have no idea if they would work in
10.5.
Hi all,
Is anyone else getting r1509 from the automatic updater (set to "minor
updates"), but seeing 1510 on macromates.com?
And it's not just a typo in the site, the build there really does have
a revision number of 1510, but its changelog only shows to 1509.
Slightly confused,
-NK
I have setup textmate as the default editor in terminal.
so, when I type 'hg commit' it opens textmate. I enter the message on the
first line after the headers and hit save and close textmate and nothing
happens. What am I doing wrong?
--
View this message in context: http://www.nabble.com/Textmate-and-Mecurial-tp25216773p25216773.html
Sent from the textmate users mailing list archive at Nabble.com.
If I have for example this code:
function foo() {
var list = [];
}
Note there is 4 spaces indention.
I work in 5 spaces soft tabs.
If I move the cursor to just before the "v" in "var", and left arrow,
I move to the left one space. Somehow, I need to reformat this code
to be 5 spaces. Then when I move the arrow to the left, it moves 5
spaces, or one apparent tab stop.
I have tried selecting the code, while I have my tabs set to 5, hard
or soft, using reformat selection, in this case, in the JavaScript
bundle area, or, convert spaces to tabs. Neither gets me where I need
to be.
I end up re-tabbing all the code, which is a tedious process.
I I just add one space, or select the 4 spaces and replace with a tab,
I get the functionality I want:
function foo() {
var list = [];
}
That example, the space before the "v" becomes a tab, either hard or
soft.
Thanks.
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hello,
Thanks for posting how to fix all the other issues with Snow Leopard,
but I haven't seen anything about master files in Latex mode.
So, I have my latex file split up in several files and on top of each
separate file I have;
!TEX root = [...]thesis.tex
And under Snow leopard, textmate seems to be ignoring that line (i.e.
compiling with or without that line gives me the same error)
Any idea about this issue?
Thanks again,
Jerome
I spent yesterday watching a handful of screencasts for learning
jquery. I was shown perhaps 5 or more editors, and started to see
value in workflows I am not able to replicate.
I'm sure I'm just missing some prefs, pointers appreciated.
Vertical grid on tab stops. How do I turn this on? Seeing where a
statement begins and then closes at a glance is very powerful. In
jquery with all the parens and brackets, this visual alignment would
help a lot.
I think this may not be possible. I figured I could get by with show
invisibles. I'm not seeing tabs or spaces, just returns. I would also
want to set returns and spaces to the same bg color to hide them. Too
much noise.
I tried multiple themes, I can not get invisibles to show other than
returns, which I don't need to see anyway.
Code reformatting. If I take any small chunk of jquery, select it,
navigate to the bundle for JavaScript and tell it to reformat the
code, it more or less reformats to a few lines. What am I doing wrong?
Indenting. If sample code is copied in with say, 1 or 2 spaces used as
indents, and I like to use 5 soft tabs, I'm finding no way to adjust
that code to my tab stops. I end up retabbing it by hand.
Next up would be where the open or close brace or paren is thought to
be. I see I can get a blink on some parens but not others.
What are the rules that define this blinking and can it be expanded?
Also, the blinking is not quite enough for me. Having the actual open
and close characters actively highlighted when your cursor is to the
left or right, massively helpful to me.
Current word highlighting. If a variable, class, method etc are
clicked on, how can I get all occurances of that word also highlighted.
Projects. I don't often get a chance to clone down an entire site and
work locally. Is it correct there is no way to get a remote FTP based
site to remember code folding or work in a project?
I would be happy to figure out how to drag a window into a tab from a
remote site, that would go a long ways.
I don't always get ssh access, and I'm sure some will suggest
expandrive. To be honest, I've tried it. There are too many reports of
it failing on FTP to even list a directory. I worry it may delete
remote files. I worked a little with the expandrive people, giving
them access to an FTP server that matched the issues many others were
reporting, currently still seeing broken behavior.
I'm a little stubborn in that if I'm going to use a tool, I would want
to use it everywhere, not just on ssh connections. Jumping from one
toolset to another tends to take my brain too long to shift back into
being productive.
Saving. Is there a way to get save to have the entire filename
selected? The trailing .html is something I'm always having to trim
off. Usually I just command-A then start typing. Looking to save a step.
Is there a way to select the current line only up to the first and
last characters?like select word, but for a line.
Is there a way to tell a line to best guess the correct indent level,
and shove it in place?
I have a feeling some of these issues have solutions and I just don't
know where to look. Others i suspect I may be stuck on. Looking for
any old hats that have been down this road before.
Thanks. As a side note, watching some of these screencasts, I can
certainly say, TM's features certainly should be adopted by other
editors, I don't know how some people get by.
If I had to put two items on a list, vertical tab grid lines and
remote conection meta data saved would be pretty high up there.
Thanks everyone.
--
Scott
Iphone says hello.
Hi, I'm newbie with Textmate, but I like it very much :) very nice editor...
but I could not find ine very helpful for me thing..
When I click (or select) some user function name (PHP), I want to see
source it (i.e. defenition) How I could get it ? especially when declaration
of this function in separate file..
Thanks.
--
View this message in context: http://www.nabble.com/Go-to-defenition..-tp25151144p25151144.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I install snow leopard (update) but now I can't compile LaTeX document
with textMate
I get :
Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
After installing snow, the symbolic link /usr/texbin is destroyed
so
cd /usr
sudo ln -s ../Library/TeX/Distributions/.DefaultTeX/Contents/Programs/
i386 texbin
Upgrading to Snow Leopard also remove /usr/texbin from my default PATH.
I create a text file named TeX with contents
/usr/texbin
and then I move this file to /etc/paths.d. I give this file read-write
permission for everyone
Well now I can compile with TexShop and from the terminal but not
with textmate
I read some tickets on the net and after that, I rename
tm_interactive_input.dylib in textmate.app and in the pristine copy,
now I can compile
but I would like to know if this solution is correct?
Best Regards
Alain Matthes