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
>
>>>> I'm getting this error after copying the new command line tools to /
>>>> usr/local/bin:
>>>> tm: you need to update this helper tool.
>
> This is actually quite strange, since the protocol used to
> communicate with TM and the tool is at the same version as it has
> always been (so no combination of TM and the tool should give this
> error).
>
> The only reason I see is that the TM started actually predates
> implementation of the protocol. Do you keep old versions of TM
> somewhere on your disk (even the trash counts here)?
Nope, no old versions on disk. However the issue mysteriously
disappeared when I checked just now.
*crosses fingers*
- Ben
I use the presumably obscure Dvorak/Command-Querty keyboard layout. It
uses Dvorak for standard typing, but when you hold down the command
key, it switches to Querty, so I can use the key that's actually
printed on the page, and preserve that precious command key muscle
memory. I've had mixed success using the command keys with TextMate,
though. For instance, I frequently change the indentation of blocks of
code, using command-[ and ]. When I use DQ, I tend to get some sort of
commenting. If I switch back to regular querty, I get the results I
expect. Is there any way this can be improved?
hiya'
PROBLEM:
I want all my variables to be colored. I'm coding in ASP & there is
no $ @ or any easy way to define what variables look like.
I can the first word after the work DIM (or comma delimitated list or
words) (DIM being the create_a_variable deal in asp) but it only
colors that instance of the word.
SOLUTION:
I would like textMate to search my page for all words after the word
DIM & add them to the bundle as variables, but only for this file.
Therefor creating on-the-fly bundles.
This could extend out to listing all the varables or functions or
whatever with a command or some such thing.
Maybe a way to manually select something & define that selection as a
scope for this document only, therefore applying that scope to all
instances of that text.
That would allow for something like a hilight-all-instances-of-the-
current-selection command with shortcut. AWESOME!
You could define them either on a page basis or a project basis, or
even add it as a permanent change to an existing or new bundle.
oh yeah!
Hi all,
TextMate is everyday more complete and perhaps the best editor!
Only a little request for me (Allan has already added some nice
features, like command to convert accented chars to entities, and so
on): to enhance the live preview a bit.
It already shows javascript, but it would be nice it show also php
output (like TacoHTMLEdit do) and - why not? - also perl (and cgi)
output, without install pages on /localhost.
With Taco we can edit a little page with javascript and php
everywhere (on desktop, hi), control it with preview and then install
in /Sites.
TextMate could show in its preview not only javascript and css, but
also php (perl?), so we can also simulate Dreamweaver :-)
Thanks Allan and the whole team!
Regards
Salvo M.
Hi,
Half window view is like adding "virtual space" in text windows to
push the last line to the middle of the windows. It behaviors as if
you have added a couple of returns at the end of the document. I hate
to see all the lines in the viewing area pushed up everytime I hit
return or softwrap to the next line. With half window views, the lines
only get pushed up every half window instead of every line.
I use this feature a lot in vim and TextWrangler. In vim, it can have
any number of virtual space (denoted by tildes), which I think it's
better implentation than TextWrangler, which allow you to choose
"none", "half", or "full" only. However, I will be happy with just one
option, half window view.
Anyway, I just want to bounce the idea to other users.
Ivan