Hi Allan,
It is truly wonderful to see so much activity again! I see so many improvements and am optimistic TM 2 will soon set the stage once again.
Here is my problem: I have continued to use TM 1, primarily the Latex bundle, because of one old snippet which does not work as it should in TM 2. I use it many times a day and would not like to give it up.
Here it is:
\\( $0$TM_SELECTED_TEXT \\)
Scope Selector: text.tex.latex
Key equivalent: $
In TM 1, the $ key outputs \( $0$TM_SELECTED_TEXT \). The curser is inside the math formula brackets \( \). It stays inside, regardless of what I write, until I type $ again. Then the cursor moves outside. That is just what I want it to do.
In TM 2, the $ key outputs \( $0$TM_SELECTED_TEXT \). The curser is inside the math formula brackets \( \). It stays inside, regardless of what I write, until I type $ again. Then I see \( \($0$TM_SELECTED_TEXT \) \) and the cursor is still inside. Not good!
If I erase the snippet, then in both TM 1 and TM 2, the same thing happens. Inputting $ the first time yields $ $0$TM_SELECTED_TEXT $. The second time, the cursor moves outside. This would be fine, except that many of us have moved away from using $ signs to set off equations in Latex.
Best regards,
Jenny
This topic resurges periodically. Allan (the main developer of TextMate) has stated the projects feature has not been implemented in TextMate 2 on purpose in favor of a completely filesystem-based approach. From his comments, it is clear that putting projects back into TextMate 2 is, if it is on his todo list at all, on the very bottom. After all, TextMate 2 is still an alpha, and there are other things that need to be fixed first. So I wouldn't hold my breath and wait for projects to return any time soon. Perhaps they'll be back in TextMate 3, who knows ;-)
Even though TextMate 2 is open source now, no one has volunteered (yet?) to add projects support. Right now, your best chance is to adapt your workflow or to continue using TextMate 1.5.
If you search this mailing list, you'll notice that I'm in the same boat as you, to me projects was what made TextMate 1 so appealing to me. There are a few things I've done to adapt:
(1) I've given up on symlinks, I open several editor windows instead.
The reason is that while symlinks work for single files, they don't work well for folders: if you create a symlink to another folder, you will not have a small triangle next to it which you can use to expand it. Double-clicking it works fine, but navigation is more cumbersome and there is a difference in how to work with symlinked and non-symlinked folders. Allen has explained why it is not easy to make this work properly (you have to account for all sorts of eventualities), and I don't think fixing this is very high on his list of priorities. If it is fixed at some point, perhaps I'll revisit it.
What I've done instead, I keep open the linked folder in a separate editor window. Definitely less elegant, but it works.
(2) Use good .tm_properties presets
The .tm_properties file allows you to set presets for a specific folder. There is one »master« .tm_properties file and it is worth spending a little time to customize it. However, I rarely edit the .tm_properties file of a specific folder (e. g. to hide certain auxiliary files). I often resort to the Terminal to open files instead of using the file browser.
.tm_properties is definitely more powerful than project presets in some respects, and perhaps if bundles make use if it (by editing the file or something), it could replace some of the functionality of projects.
(3) Use »mate .« to open folders.
Instead of »open project.tmproj«, I now type »mate .« to open a folder after navigating to it. I use git from the Terminal anyway, so I have become accustomed to opening folders like that. I keep several Terminal tabs open, one for each location in the filesystem I need (e. g. auxiliary files or documentation).
If you have more specific needs, just let us know. Perhaps there is a work-around.
Hope that helps.
Max
On 07.02.2013, at 21:00, textmate-request(a)lists.macromates.com wrote:
>> (1) I've given up on symlinks, I open several editor windows instead.
>
> Have you considered using symlinks the other way round? I.e having a folder containing all the files you want in your "project" which would be opened in Textmate, and then setup symlinks to point back to it from other locations on the disk.
>
> In theory this would provide many benefits (i.e. grouping all the files in one place, allowing for one version control repo for them all, one .tm_properties file, etc...).
In my case I want to point to files which I want to re-use and those files are kept in a separate git repository. And in some cases, it's just to keep »read-only« files handy (e. g. papers, documentation, old files which I use to take snippets from).
Unfortunately, the new features of TextMate 2 haven't really made an impact in my daily routines. Perhaps I'm just being ignorant, after all I didn't get the real power of TextMate 1 either until I watched the screen casts.
So how have you adjusted your workflow?
Max
I'm new to the TextMate community, starting in with TextMate 2 when it was
released as a public alpha. I don't own TextMate 1.5.
What are the key features, from the users viewpoint, added to TextMate in
version 2 (besides opening the source)?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-2-features-not-in-TextMate-1…
Sent from the textmate users mailing list archive at Nabble.com.
So I'm a bit late to the TextMate wonderfulness.. I've been using the
30-day trial version for the last week, and got it pretty customized to
my liking. Project+, MissingDrawer, SVNMate, bundles, a few custom
Templates for my C++ projects, etc. Loving it.
Today I went out and got the latest TextMate2 compile from about 2 days
ago, I believe, and wow. That's a huge step backward IMO. No
"Projects" that I can see, just look at a Directory (which doesn't work
for me, my Directory Structure != Project structure). No support for
Templates either, it seems, which I just recently figured out and
_really_ love (great to just pull in a template of my base C++ class and
"fillin the blanks"). Plus lots of things I customized don't see to be
there anymore, or are buried in the new "tm_properties" file.
Basically, I'm trying to figure out what to do next. I was getting
ready to buy TextMate1, but if this is what TextMate2 is going to look
like maybe I should evaluate some other tools. Is TM1 still "alive"?
Or are users urged to start using TM2? Am I just really missing
something in TextMate2? I'm a C/C++ developer that also uses Arduino,
CMake, Python, and other stuff, so things like CTags, project-specific
environment variables, and true "Projects" are important to me.
--
Randall Hand
http://www.yeraze.com
Since updating this morning to r9361, I've had its CPU use spiking up into
the 180% range continually. It seems to be looking for regexp searches on
path names.
The source I am editing is shared across the network via SMB from a compute
cluster. I noted the release note item this morning about network share
code being touched.
Happy to send an Activity Monitor sample, etc, etc.
Is there a setting or preference I've missed that would allow symlinks shown
in the File Browser to act like a "normal" folder? That is, to have a
disclosure triangle button and unfold to expose its content?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Symlinks-as-Expandable-Directories-tp…
Sent from the textmate users mailing list archive at Nabble.com.
If this is a duplicate message please excuse me.
In TM2{9359} I often open projects by dragging a folder into TM2. This puts
the folder and subordinate files into the file browser (sidebar), from
which I can open files for editing.
Recently the file browser shows only folders. It shows no files with a
single exception. If there is an ".htaccess" file, that file shows in the
sidebar. To open a file for editing, I have to open it one file at a time.
I can't open any files from the file browser because they don't show.
I can open files by dragging in one at a time or using open on a single
file.This started about the time the browser-on-the-right change happened.
I can switch the sidebar from left to right and back with no problem.
I tried downloading 9359 again. Same results. I tried some earlier versions
and got told "corrupted dowload".
I could sure use some help.
Lewy
Hi,
When I pull a git repository, Textmate update automatically the
corresponding opened files (which is cool) but it does it silently.
Is there a way to get notified when a opened file is updated?
I found this old ticket about the same issue :
http://ticket.macromates.com/show?ticket_id=FFEB806B
Is it already implemented or still planned?
Thank you.