Something I'd like to see improved in TM2 is the visibility of the
current file browser root. Since I started working with TM2, I've
noticed several things about the file browser:
- I frequently glance at the file browser/project drawer to orient
myself, essentially answering "which project's window is this?"
- The "project" indication, the browser's current directory, is now
the smallest text on the page. (I use a larger font than the default
for the editing windows.) It's also tucked in the midst of a lot of
other stuff, making it hardre to quickly pick out.
- The current directory name is truncated by the buttons to its right
when the file browser pane is narrowed even a bit.
- Quickly inspecting the contents of the file browser is often not
illuminating. Imagine working with multiple Rails apps, multiple
git clones of the same project, etc.
- No location information is available when the drawer is closed. By
contrast TM1's default formatting of the title bar with "<icon>
<file> - <project>".
---------
On that last point, I note that the window title is now user-configurable in
.tm_properties; great news. However, I've not had any luck in
recreating TM1's behavior. For example, in ~/.tm_properties I have:
windowTitle = '${TM_DISPLAYNAME}\
${TM_PROJECT_DIRECTORY:+ - $TM_PROJECT_DIRECTORY}'
and in a project root directory, I have .tm_properties with:
projectDirectory = '${CWD}'
After restarting TextMate (is there an easier way to reload the
props?), it seems that TM_PROJECT_DIRECTORY is never set even when
projectDirectory has been set in .tm_properties. Am I just missing
something about projectDirectory/TM_PROJECT_DIRECTORY, or is this a
bug?
Thanks,
John
Seems TM2 can only run one task at a time. I have multiple Xcode targets I run at the same time, TM2 only allows me to run one of them.
It also keeps reusing the same output window, so I can't have (for example) my ToDo list and view uncommitted changes at the same time.
Gerd
I think the lack of projects also leaves out the opportunity to innovate: beyond the points that some of you have mentioned, not gluing yourself to the file system layout also give you the opportunity to do things that go beyond what you can think of when relying on the filesystem alone.
One idea, for instance, is to add not a directory to a project, but a repository. You'd have access to previous versions of the file with a right click, peruse the commit logs in the morning over a cup of coffee, etc. Since not every file needs to be tracked by git, mirroring the file system would not be sufficient.
So then TextMate would know that the repository (or repositories, e. g. your local and the »official« one that you share) belongs to your project. You could add metadata, sort things as you wish, add settings, etc.
> Open the project folder. Bam. You're done. You've opened your project. If your project contains a bunch of directories lying around your system then, my friend, you are doing it wrong.
I think it's less about replicating functionality that projects offer, but that for certain jobs (and people), organizing your stuff in projects is just easier than to do it via the file system.
I also second the sentiment that using symlinks or so are not always an option. I use Dropbox to collaborate with colleagues on research projects. I keep one bibliography file. If I were to use a symlink, this would mess things up for my colleagues.
Beyond the fact that certain things cannot be replicated, it's a difference in styles. Some people merely prefer Projects to doing it on the file system level.
Max
Hi,
pageup/down and home/end keys work fine in TM 1.5 by following the man pages.
In TM2 Alpha, pageup/down is not working, although home/end keys are working
fine. Any ideas?
Thanks,
CR
OK so having solved SCM badges not showing on one machine (updated git to
latest). On another machine having done this, clicking on the SCM Status
purple folder icon or accessing he menu item Go -> SCM status has no affect.
The click does nothing does not show untracked, uncommited files etc. The
repo is on a standard HFS+ drive.
Please help. Many thanks
Anthony
-----------------------------------------
**************************************************************************
The information contained in the EMail and any attachments is
confidential and intended solely and for the attention and use of
the named addressee(s). It may not be disclosed to any other person
without the express authority of the HPA, or the intended
recipient, or both. If you are not the intended recipient, you must
not disclose, copy, distribute or retain this message or any part
of it. This footnote also confirms that this EMail has been swept
for computer viruses, but please re-sweep any attachments before
opening or saving. HTTP://www.HPA.org.uk
**************************************************************************
When I open a folder which is a git working repo the SCM status icons do not
show and the go to SCM status folder does not work either by pressing the
puprple cog folder or the menu item. I¹ve fixed a previous git issue where
TM2 was not finding git by adding TM_GIT = "/usr/local/bin/git" to a
~/.tm_properties file. However the SCM status problems still persist.
Any ideas please? Thanks in advance.
Anthony
-----------------------------------------
**************************************************************************
The information contained in the EMail and any attachments is
confidential and intended solely and for the attention and use of
the named addressee(s). It may not be disclosed to any other person
without the express authority of the HPA, or the intended
recipient, or both. If you are not the intended recipient, you must
not disclose, copy, distribute or retain this message or any part
of it. This footnote also confirms that this EMail has been swept
for computer viruses, but please re-sweep any attachments before
opening or saving. HTTP://www.HPA.org.uk
**************************************************************************
Is there any .tm_properties OakLineHeightDelta equivalent? I am using -2 OakLineHeightDelta in TM1, which somehow matches to Xcode and other NSTextView based text editors.
Cheers,
--
Adam Strzelecki
From the 8956 release notes:
"Introduced callback.application.did-activate and callback.application.did-deactivate as two new semantic classes. A command with this class will be executed when the application gain/lose focus. The scope selector is matched against the “current scope” of the visible document (in each window). This allows creating a command with “Save” set to “Modified Documents” and thereby recreating TextMate 1.x’s ability to save modified documents on lost focus."
Has anyone gotten this to work? In my personal bundle, I created a new command called "Save files when focus is lost", set the Semantic Class to "callback.application.did-deactivate", set Save to "Modified Documents", and Input to "Nothing". But the files never save. Can't think what I'm doing wrong.
By the way, the command shows up in the Bundles menu, even though there's no point to having it there. Is there a way to keep the command enabled and active but off the menu?
Thanks,
Trevor
Hi,
Just to know if it's plan or not to add Project File to TM2, because i use
a lot of projet and it's really borring to find the projet in the finder !
Thanks.
Hi folks,
I'm experiencing some weirdness trying to open _some_ YAML files with TextMate 2. For example when I try to open a Rails database.yml file, I'm prompted thusly:
If I click 'Open', I see this:
and TM2 locks up and I'm forced to restart. I've tried several Google searches and I haven't found any mention of this behaviour. Does anyone have any idea what might be going on?
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/mlarocque/
Twitter: http://twitter.com/mrl