>
> >>>* Are there plans to add support for the symbols popup for php?
> *>>* For me it show PHP function names.
> *>* Could it be because I am using tabs rather then spaces?
> *
> No -- if you place the caret on a function name and press ctrl-shift
> P, does it show entity.name.function as part of the scope?
>
> only when i use spaces
>
> Subject: Re: [TxMt] symbols and php
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <44DC6269-3E8A-41E0-B90F-10232F21E614(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 15/11/2005, at 23.59, Samuel DeVore wrote:
>
> > Are there plans to add support for the symbols popup for php?
>
> For me it show PHP function names.
>
>
Could it be because I am using tabs rather then spaces?
Is ³Show in Separate Window² really deprecated? It seems so useful, is
something going to replace it? The HTML output option doesn¹t seem to really
come close.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi list,
I have some files into a Devonthink database. Now, a devonthink
database is just a bundle with .dtbase extension. If you right click
on it and select "show package contents" you can see the internal
files, just like app bundles.
But when I try to open them from inside Devonthink, TextMate just
ignores them. I have to manually drag them on the desktop, open and
edit them and then put them back in the database.
Is there a workaround?
Thanks
Kostas
How would people feel about this diff in the C syntax bundle?
It will work on functions of the form:
int
main () {
but not on
int main()
What would be the appropriate regexp for making it work in both
cases? What I'm trying to do is get the functions to show up in the
Symbols menu.
The other thing that's broken with C is that #defines which are not
functions are incorrectly marked as functions. For instance:
#define FOOBAR 10
adds FOOBAR to the symbols menu. I think that's because the regexp
that handles #defines tries to handle the case where the #define is
really a macro
#define MIN(a,b) ((a)<(b)?(a):(b))
but applies the name even if the syntax doesn't match... I'll take a
look at this later this week if no one has a workaround...
@@ -140,6 +140,20 @@
</array>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+
<string>entity.name.function.c</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>^([a-zA-Z_][a-zA-Z0-9_]*)\s*\(</string>
+ <key>name</key>
+ <string>source.c.function</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>^\s*#\s*(define)\s+([a-zA-Z_][a-zA-
Z0-9_]*)(?:\(
((?:\s*[a-zA-Z_][a-zA-Z0-9_]*\s*,?)*)\)|\b)</string>
<key>captures</key>
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
A few days ago the create new file button in the drawer stopped
working. Whenever I tried to create a new file, TM crashed. Then
whenever I'd go into a terminal to fiddle, I'd get some error (sorry
to so vague) about resource fork not being available.
I would force crash textmate, and killall bash, and all would work
again - but each time I tried to create a file (I sure hope it works
this time...), I had to do it all over again.
Last night I made the same error, textmate crashed, but I never got
to killing the runaway bash process. I woke up and my computer fan
was just screaming, a quick top showed a runaway bash process going
at 75% cpu and fifty others! Here's a snip:
--------------------------------
kjell 26675 74.2 0.1 27880 900 ?? R 1:09AM
430:19.31 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26571 0.4 0.1 27880 980 p3 S 12:57AM 0:00.12
-bash
kjell 26606 0.0 0.1 27880 764 ?? S 1:09AM
0:00.04 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26608 0.0 0.1 27880 508 ?? S 1:09AM
0:00.01 /bin/bash -c touch "$TM_NEW_FILE"
[35 more like the last two...]
--------------------------------
What could be going wrong? I'd love to have it fixed, if possible.
The problem has reared it's ugly head with both beta1.17 and r421,
and is getting to be a real pain. Anyone have an idea what's wrong?
Kjell [http://station11.net]
I just posted an FAQ question with regard to the subject line that
was (almost) instantaneously answered. Thanks to whoever was
responsible for that! :)
I'm trying to figure out how I might get TextMate to run on my new
Mac/Intel box and I've run in to some problems. I documented the
error message I received from build 731 at http://inquirylabs.com.
However, as of build 753, I now receive no error message at all. The
application crashes without a sputter.
Is there anything I can send that would help diagnose or debug this
situation? Thanks,
Duane Johnson
(canadaduane)