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
==========================
I was wondering if anyone had got the built-in HTML drag commands for
<img> and <css> to work in Textmate 1b5?
Currently if I drag a html or PDF file from the project window into a
HTML file I'm working on it will create a <a href=""> link, but if I
drag an image file or css file onto the HTML file, Textmate will insert
the raw source of the dragged file.
Any ideas where I am going wrong? I am using the following drag
commands (built-in):
<img>
File Types: png, PNG, jpeg, JPEG, jpg, JPG, gif, GIF
Commands: img=$TM_DROPPED_FILE alt=`echo $img | perl -pe
's/^(.*\/)?(.*?)(\..*)?$/$2/g' | tr '_-' ' '` sips -g pixelWidth -g
pixelHeight $img | awk '/pixelWidth/ { w=$2 } /pixelHeight/ { h=$2 }
END { printf("<img src=\"'"$img"'\" width=\"%d\" height=\"%d\"
alt=\"${0:'"$alt"'}\" />", w, h) }'
<css>
File Types: css
echo "<link href=\"$TM_DROPPED_FILE\" rel=\"stylesheet\"
type=\"text/css\" />"
Apologies if this has already been covered.
Mike
Hey all,
i am new to the list and have some problem with TextMate using version
1.1b5.
Sometimes the project drawer collapses the view i.e. when i update my
local repository from a subversion module which i added to the drawer.
Is this a known bug and will this be fixed in the future? Or is there
already any hidden setting addressing this behaviour?
Thanks a lot for this great editor.
.bjoern
Hello fellow TextMaters. I'm a Ruby programmer currently writing a web
app with Ruby on Rails.
Is there a way to set the font size for printing?
I can't find anything, so I made this command that works well for me:
cd $TM_PROJECT_DIRECTORY
enscript -G -p /tmp/`basename ${TM_FILEPATH}`.ps --margins=36:36:36:36
--mark-wrapped-lines=arrow $TM_FILEPATH
cd /tmp #`dirname $TM_FILEPATH`
open `basename $TM_FILEPATH`.ps
I have it bound to Shift+Splat+P.
It requires Enscript (port install enscript)
The enscript command line above adds a nice heading ( -G ), and sets
the margins to 1/2" all around. This allows me to print on drilled
paper two-sided. After enscript creates the PostScript, the open
command opens it in Preview, where you can print it.
Regards,
JJ
Hi there!
I'm working with a bunch of addresses in tab-separated format. I
can find and replace to work with the columns, but I'd also like to be
able to do it manually, (columnar typing?). I vaguely remember some
example videos of columns of text floating around, and I searched the
list, but I'm not clear if it will suit my needs.
Problem: I can't select columns easily, because the tabs don't
align the data. Option, then Shift-Option-Right Arrow to select,
creates a rectangular selection based on the selection at the line of
origin (highlighted). I can't seem to find the way to have the text
actually line up in columns (if there is one..)
Is there a solution to this?
I hope this is clear enough, thanks for your time.
Cheers,
Dameron
Hi,
I saw a blip from the old wiki about a smart typing question.
Often when I'm writing something, I'll enter something like:
blah(
At this point it completes the )
I hit ", it completes it, so I'm left with:
blah("_")
Where _ is the cursor point.
Obviously, this is great and how smart typing is intended to be used
(btw, the smart typing upgrade in b5 works great). However, when I'm
done typing:
blah("blahblah_")
I wish there was a quick way to jump to the end of the snippet. Right
now I'm using the right arrow key, but it's inefficient because I have
to take my hand of the keyboard.
Is there a way to make it go to:
blah("blahblah")_
More efficiently than using the right arrow key? Like when you're
hitting the tab key for a snippet?
--
Thanks,
Jeremy Brown
InfoSend, Inc.
Systems Administrator
(714) 525-8600 x304
(714) 446-1482 Fax
CONFIDENTIALITY NOTICE: This email, including any attachments,
contains information from InfoSend, Inc., which may be confidential or
privileged. The information is intended to be for the use of the
individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use
of the contents of this information is prohibited. If you have received
this email in error, please notify the sender immediately by "reply to
sender only" message and destroy all electronic and hard copies of the
communication, including attachments.
On Mar 31, 2005, at 7:57 AM, Robert Ullrey wrote:
> This reminds me that there was going to be a fix for xcode
> integration. Specifically changing an xcode project into a TM
> project. I see something like this in the Tools folder, but is it
> working yet? And if so, how.
svn co http://anon:anon@macromates.com/svn/Bundles/trunk/Tools/
XCProject/
cd XCProject
cc -ObjC -lobjc -Os -framework Foundation -std=c99
ConvertXcodeToTMProj.m XCProject.m -o testconvert
./testconvert <YourProjectName.xcode>/project.pbxproj
<YourProjectName,tmproj>
It works on several all of my projects, several of which are large
and complicated. If you get any errors, do send me a note. I can't
guarantee that it reads all Xcode projects in the universe yet, but
it will once I'm done with it. >:)
In the short term, I want to add a dropshell so that you can drag an
Xcode project and it will open a temporary tmproj representation in
TextMate.
In the long term, this will form the basis for a project source
plugin, when Allan implements that feature.
Enjoy,
Chris
It would be nice to be able to have multiple rows of document tabs
instead of just one row and the arrows on the right you have to click
on to get a menu list of the rest of your open documents.
Is there a way to get the full path of a file to display in the editor
window title?
Hi there!
Find and replace in 1.1b5-- search for \t, replace with \s, regex
box checked, looking in selected text. I got "s" instead of space:
3 Union Street
3sUnionsStreet
Thanks for your patience!
P.S. How do I type 3<tab> without having it become <h3></h3>? The
bundle editor didn't reveal any clues.
Cheers,
Dameron