Is there any way to avoid the "What is the file type of..." dialog when
opening a file with an unknown (or non-existent) extension? For me, 99%
of the time those files are plain text. I want save a step and have TM2
treat any unrecognized file as plain text. In the rare case that it's
something else I can manually change it after the file has been opened.
Is there some way I can get this behavior?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
I had set the font of my project/folder via the View->Font menu to
"ProFontWindows" 9
In my folder, I create .tm_properties with the following content.
TM_GIT = "/usr/local/bin/git"
TEST_DEFAULT_FONT="$fontName/$fontSize"
["*.txt"]
fontName = "Menlo"
fontSize = 16
TEST_TXT_FONT="$fontName/$fontSize"
In a txt file, I execute the following line with ^R
echo $TEST_TXT_FONT
=Menlo/16
echo $TEST_DEFAULT_FONT
=/
But the problem is the the buffer is not rendered with Menlo size 16.
Is my font setting via the menu overriding the font setting in the
.tm_properties file? How do I reset it if that's the case?
Thanks
--
Chris
Hello,
This is probably a minor note, but one feature of some recent tabbed
interfaces (Chrome) that I quite like is deferring the auto-resize of tabs
after one is closed until either a delay or the mouse leaves the tab area.
This makes subsequent actions (either selection or further closes) more
pleasant, because you don't have moving targets, which can cause accidental
actions.
Pretty low priority, obviously, but I thought I would bring it up because
I've been opening and closing lots of tabs today.
-MinRK
Am 14.02.2012 um 12:03 schrieb textmate-request(a)lists.macromates.com:
> Though many things have already been said about the respective pros and cons, so it might be better to start a wiki page and collect the information instead of repeating what has already been said (or simply claiming that the loss of projects is disconcerting).
If you point to a wiki page, I'd be happy to contribute.
Max
Search in project short answer: yes, it works.
Unless some other problem crops up, we now have a workable answer.
Search in project works for me if I make a project folder which contains links to the files in the project where the links are created in bash (via terminal -- iterm2 in my case). I used
ln -s full/path/to/sourcefile full/path/to/targetfile
Using full paths would allow running from anywhere, regardless of where the files involved actually are.
Using apache as an example, the bash command looks like this
ln -s /private/etc/apache2/extra/httpd-vhosts.conf ~/Documents/2-apache-b/httpd-vhosts.conf
I opened the directory 2-apache-b in TM2 and added it to favorites. A search for ServerName, for example, found all instances of ServerName across the set of files in 2-apache-b. That is, it looked like all occurrences. There are a lot of instances in the files I searched and I didn't verify "all". It looked reasonable, though.
If I had a hundred files to set up this way, I wouldn't want to do it. But if I'm adding a few files to a directory, or combining two directories into one for editing, or, as in this case, just combining four commonly used files, the utility of searching well outweighs the setup.
A script reading from a list of files plus the target directory would be reasonable. A bundle adding a few files together would also be useful.
--Lewy
From: Devon Weller <wellerco(a)gmail.com>
Subject: [TxMt] Re: making projects
Date: February 14, 2012 1:08:24 PM AKST
To: TextMate users <textmate(a)lists.macromates.com>
Reply-To: TextMate users <textmate(a)lists.macromates.com>
Did you see Allan's response and try following his advice?
http://lists.macromates.com/textmate/2012-February/034445.html
I have a set of four scattered files -- not too many to test with. I used aliases to build the set. I'll try it with ln -s and see if search works.
Thanks for the pointer. I read it, but it didn't penetrate. :-(
--Lewy
Hi,
I noticed that TM2 is looking for .p4config files, but I can't find any
Perforce commands in the bundles (or in Cmd-Y, which never seemed to
detect my git repositories, either). Is anything beyond looking for the
config files already in place and I'm too blind to find it, or do I just
need to wait?
Christopher
Dear all,
I am enjoying getting to know TM2.
I've been having trouble getting it to work with svn. When I try a
command that actually requires remote access, I get a dialog:
The 'svn' command produced an error
Permission denied (publickey,keyboard-interactive).
svn: To better debug SSH connection problems,
remove the -q option from 'ssh' in the [tunnels]
section of your Subversion configuration file.
svn: Network connection closed unexpectedly
This is an svn+ssh connection, with ssh = $SVN_SSH ssh -Y in
.subversion/config.
It works fine with TM1 (and from the command line). I've tried
explicitly setting TM_SVN and SVN_SSH within TM2, to no avail.
Any ideas?
Andrew
@Alan
> it might be better to start a wiki page and collect the information instead of repeating what has already been said (or simply claiming that the loss of projects is disconcerting).
Good idea. Let's get this all in one place.
> relying on the file system … vs. private system
I support Alan on this one. I just want a solution to "find in project" (whatever project is) and a relatively easy way to collect links into a folder. The latter is certainly amenable to a bundle solution, which I would happily do if I knew how. "Find in project" may be a problem with Lion. It's desirable (I used it), but not a show stopper. Let's look for a way to accomplish the find we need using the OS.
--Lewy