You can call upon the ?mate? shell command available via %x{
> "$TM_SUPPORT_PATH/bin/mate" ?file? }.
Thanks, guess I couldn't see the tree for the forest on that one.
> You can run scripts from other bundles. You need to setup a requirement in
> the plist and then you get the TM_?bundle?_SUPPORT_PATH which you can then
> use to access the script ? I believe exact details are in the help book.
Thanks, I am interested in this as well but my main goal here was to get
output into both the document and the web preview. If I could run, for
example, build and then preview as html, I was hoping to sneak around the
'one output' idea. I would love to be able to build some sort of highly
interactive debugger / TextMate management tool written in javascript and
accessed through the web window. Especially intriguing to me was the idea
that I might be able to simultaneously run a command and without affecting
it's operation provide statistics or debugging information in the web
window. Once I get more familiar with the UI scripting features I'll see
how far I can take that idea.
---
I have created a simple bundle (just 1 command) that will add some support
for tm_project files to TextMate 2. Right now, it will open up a folder
from the project if it finds one that exists, and the files that were open
when it saved. Any information regarding issues installing or using it or
suggestions for improvement are much appreciated.
http://github.com/SSSSSmokey/TM_Project.tmbundle
---
Brandon
TM2 bug report; I haven't seen this one go by yet.
Repro steps:
1) Open a TM2 window on a directory, e.g. via 'mate somedir'
The file browser should be open at that directory
2) Open a second window on another directory, e.g. via 'mate somedir2'
3) Open a few files in each window for good measure
4) Close the file browser pane in the first ('somedir') window,
via View -> Hide File Browser or shortcut
5) Exit TextMate
6) Start TextMate
7) Observe: TM2 reopens windows that were present when it last exited.
8) Open file browser in the first window (aka 'somedir')
Expected result:
The file browser for the window with files from 'somedir' should retain its
state from the prior session, opening to 'somedir' or the last directory it was
viewing.
Actual result:
The file browser in question opens to the user's home directory.
1) Help issues with current beta
I noticed this morning that help appears to be broken in Version 2.0 (8956).
When I asked for Textmate help in TM2 in the help menu it said that help
wasn't available.
Then I typed something into the search box in the help menu, which showed
some matches, and then I selected "show all help topics" and the help for
TM 1.5 was displayed, and now when I ask for Textmate help in TM2 the TM
1.5 help comes up.
The previous version seemed to have separate help, albeit rather brief, and
a bit cryptic.
2) File open dialog
I was playing with the dialog box that comes up when you cmd-T. I've been
using Geoffrey Grossenbach's PeepOpen for 1.5, I like the new dialog which
allows you to do things like putting in partial directory paths in the
search box.
But I'm a bit confused by the tabs at the top. I'm seeing three tabs. The
first two always seem to have the same name which is the name of the
top-level directory in the file browser, and the third says open files. I
suspect that the double tab is a bug. Also it seems to be 'indexing' that
top level index when I bring it up, which is taking a LONG time when that
top level directory is my home directory, it seems to be scanning all my
music, my mail.app mail folders etc.
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I just update tm2 to the new version i can't do a pull/fetch/push using
git because he don't take my privatekey ! But in the previous version this
working ^^
I check the path of git, it's ok a commit for example work, if i push
myself in the terminal it's working.
Maybe someone have a idea ?
Is it just me who hates the new tabs in Textmate 2?
The new tabs are:
1. Black on dark grey, which makes it hard to read the name of the file.
2. The click area for the tabs are also much smaller.
3. It starts from the top of the file browser.
Images are attached for comparison (new tabs.png and old tabs.png). The old
tabs, in comparison:
1. Black on light grey, much easier to read.
2. The click are for the tabs are much larger.
3. Starts at the top of the editor.
Anyway, I photoshopped something up, for your consideration, Allan. It's
the new Textmate with the old tabs (please don't read the bad code).
See attached (textmate-photoshop.png) - I don't know if I should post this
here or elsewhere. If the mailing list does not accept attachments, see the
photoshopped version here: http://rickchristie.com/textmate-photoshop.png
Best,
Rick
Hi,
I know that TM2 currently does not support Lion-only features like full
screen.
I'm working with Lion and a US keyboard and I don't manage to open the
characters popup. When long-pressing a key, the letter is just repeated
like before Lion.
I hope there is a workaround for this or there will quickly be a fix
because the characters popup is really handy for everybody working with non
english text...
Sincerely,
--
Nicolas Blanco, Web developper
http://www.nicolasblanco.fr
Jabber/GoogleTalk : slainer68(a)gmail.com
Twitter : http://twitter.com/slainer68
Github : http://github.com/slainer68
Skype : slainer68
Hi, I like to have a project rooted at ~ only showing hidden files and
directories, so I can manage my unix profile stuff easily. However I'd
prefer those settings to not reach down to the subdirectories where they
don't make much sense. I'm curious, is there a way to take care of that
without needing to change the includes in each subdirectory .tm_properties?
Like make a scope that only affects my home directory, and put my include
settings in that scope? Thanks for your help.
Special thanks to you Allan for making this wonderful program, every part
is greatly improved (I've even switched to it for work since it has been
remarkably stable for an 'alpha'). I've been eagerly looking forward to it
since the alpha release was announced and it has not disappointed in the
slightest.
Brandon
Hello,
After the compilation of try.tex, if I click on try.log in the HTML output, I get this message
File does not exist
The item "(null)' does not exist
Best regards
Alain Matthes
I'm writing a command to open tmproj files and I've narrowed it to opening
a folder from the project, and opening the files that were open when the
project was saved. Anything else is too messy to transform into the Avian
equivalent. I do have a couple questions before I will be able to complete
it:
*How to manipulate the file browser from a (Ruby) command?*
*How to open a file from a (Ruby) command?*
Also, a couple general purpose questions:
*How to run a bundle from another bundle (if possible)?*
*How to output to both document and web preview with a command (if
possible)?*
Bugs:
Found a bug in the File Browser: Renaming a favorite to the same filename
with a changed case (e.g. myfavorite -> MyFavoRite) causes "Failed to
rename the file at “MyFavoRite. Error: File exists"
---
The new Ruby support scripts look fantastic. I see some cool bundles in
TextMate's future.
Brandon