Hi Allan and friends,
I have a source tree structure like this:
www/
site/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
item/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
The fact that files are named the same, but in different directories:
- Confuses both the Cmd-Opt-Up "Go to Header/Source" feature, which
will gladly find www/item/one.adp when I'm editing www/site/one.tcl. It
would be good if it would prefer the file in the current directory when
one exists. Otherwise, it's a great feature.
- Similarly, when using Cmd-T "Go to file", which I use almost
exclusively to open up new files now, it would be great if I could
write "itemonetcl" to get item/one.tcl, as opposed to site/one.tcl.
Currently, it doesn't take the path into account at all.
I can see some downsides to changing current behavior, too,
particularly with the Go to file feature.
But let me know what you think.
/Lars
Hi all,
I was wondering if anyone has any suggestions as to how one might use
Textmate to interface with Matlab? I can have a command execute a given
.m file, but Matlab is a much heavier process to load than perl is from
the command line, so that becomes a very unattractive option.
Ideally I'd like to have Matlab running in a terminal (the java
interface is just too slow for me), and edit with Textmate in such a
way that commands could reach the already loaded session.
cheers,
-don
==========================
Don Kalar
Graduate Student,
Cognitive Neuroscience
UCLA Department of Psychology
1285 Franz Hall, Box 951563
Los Angeles, CA
90095-1563
==========================
PROBLEM:
The feature of all mac apps that I use the most is search.
Specifically find selection & find again. I use that feature to step
through every instance of that selection throughout my code. One
feature that I would love to see is a back button for selections.
Every time you do a search or scroll through your document & select
something, to get back to the last thing you were working on you have
to have set a bookmark & remember which bookmark you were last
looking at, or you have to manually find that place in your code again.
I work on other peoples old janky ASP 'classic' and quickly slapped
together ASP.NET code on a deadline. Anything to help me make quick
work of navigating through the (massive mountain of fetid spaghetti)
code the better.
SOLUTION:
If there was a way for the program to note every time you move the
selection more than 'a little bit' & log that information
sequentially, all you'd have to do to get back to what you were last
looking at would be to hit the back button. bam bam... done, no
thinking.
I know the system is extremely extensible, i'm sure there is some way
for me to 'roll my own' system for doing something similar.
(1) I'd need a command to get the current input location row & column
(2) log that information somewhere
(3) a command to get the last input location from 'wherever' and then
(4) a command to set the input location to 'that location'
??? I think i could figure all this out with applescript and bbedit,
but i'm still rather green when it comes to hard-core UNIX hacking.
Anyone have any suggestions? ??
IDEA: Maybe a quickie version of it would be to undo the last edit,
which would take me back to the last place I was, but then redo my
last action without moving the input location so I don't lost any
work. hmm...
Maybe there's another solution to my problems that i haven't
considered. What does everyone else do?
Hey!
I just watched the 10 minute Ruby on Rails intro video
(http://rubyonrails.ams.cachefly.net/rails_setup.mov) where TextMate
used a pane for project files instead of the shelf. The pane looks
good, any chance it will return?
I realize this will make TextMate look a lot more like Xcode, but that
wouldn't bother me..
Perhaps something similar to the one in Mail2 (Tiger) .
hans petter.
Anyone here use or has used TypeIt4Me? I loved the idea while it worked
on my machine, but after 5 minutes it disappeared from my menu bar and
the developer is not responsive. Basically every time you press a space
it scans a list of abbreviations and expands the text if it finds a
match. Is this something I could do in tm with a command?
- Ben
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]
On 24/09/2005, at 8.26, José Campos wrote:
> In revision 469, when I try
> Find : this
> Replace : \t$0
> The resuls is "\tthis" instead of a tabulation as expected before
> "this"
>
> Is it a new feature? ;-)
heh… I was actually thinking just yesterday, maybe I should add \t to
the new replace string syntax :) I'll put it in again for next version.
I didn't keep the escape characters from previous syntax, except \n
-- let me know if I need to add others. Also, the new syntax btw also
support \l and \u (for changing case only of first letter), where I
think the old contains only \L and \U -- I'll update the manual page
on this also for next rev.
I added the following to my javascript bundle, over the normal
function detection code (but that wouldn't make any difference, right?)
{ name = "meta.function.js";
match = "^\\s*([a-zA-Z_]\\w*):\\s*(function)\\s*\\(([^)]
*)\\)";
captures =
{ 1 = { name = "entity.name.function.js"; };
2 = { name = "storage.type.function.js"; };
3 = { name = "variable.parameter.function.js"; };
};
},
{ name = "meta.function.js";
match = "^\\s*(var\\b)?\\s*this\\.([a-zA-Z_]\\w*)\\s*=\
\s*(function)\\s*\\(([^)]*)\\)";
captures =
{ 1 = { name = "storage.type.js"; };
2 = { name = "entity.name.function.js"; };
3 = { name = "storage.type.function.js"; };
4 = { name = "variable.parameter.function.js"; };
};
},
the first should match functions like
functionName: function(arguments) { ... }
and the second
(var) this.functionName = function(arguments) { ... }
with the first var being optional.
Is it correct? It seems to work but I don't dare trust my RegExp
skills ;)
Any other comments?
Andreas
I don't know when it happens, but it seems to just kick in after a
while. Anyway, some keyboard shurtcuts stop to work, and when I go in
and try to reassign them just to see what happens, a "cirlce" is
inserted behind the shortcut, a picture will say more than I ever can
explain.
http://hem.bredband.net/perihelion/textmate.png
it seems my keyboard sends in this very weird thing, which only
affects textmate. I have version 1.17beta (the latest beta released a
while back, not the latest latest, and I do nothing cvs fancy or
anything, I download from the main page every once in a while).
I run tiger 10.4.2, on a powerbook, but I have an old "pc" ps/2 type
keyboard hooked up through a ps2->usb converter.
Since you'll probably ask me this, I'm gonna try with the built in
powerbook keyboard now.
The powerbook keyboard seems not affected, and when I pull out and
replace the usb cable it seems the problem disappears. Interesting to
note is also that
<div></div>[enter]
does not produce
<div>
|
</div>
but instead
<div>
</div>
so in the end, I guess it's related to my converter somehow, but now
you all know for the future :)
Andreas