I think I might have asked this one a few years ago, or perhaps on IRC, not sure, but is there a way to get TextMate (or any app for that matter) to use DigitalColor Meter as opposed to color picker?
Adam Merrifield
seyDoggy Systems
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
I am working on the template make a variable from TM_NEW_FILE_BASENAME
to camel case and put in to template file
I encounter sed problem as sed -e 's/\(^\|_\)\(.\)/\U\2/g' dont seem work in
osx bsd version of sed
sorry, i am not an advance developer. just want to seek for advice on how to
do this in textmate template editor
--
View this message in context: http://old.nabble.com/how-to-do-underscore_file_name-to-CamelCaseClassName-…
Sent from the textmate users mailing list archive at Nabble.com.
Hello
We would like to buy two Textmate licences but we can't pay by VISA card (it doesn't work on your site).
Is it possible to make a bank-to-bank transfert ?
Kind regards
Loïc YANNOU
Loïc Yannou | Technicien Système et Réseau | loic.yannou(a)dailymotion.com<mailto:loic.yannou@dailymotion.com>
49-51, rue Ganneron, 75018 Paris, France | Tel : +33 (0)1 77 35 11 17
[cid:image001.png@01CC1F95.10F6F530]
Hi
Switching over to Textmate for Latex projects. I realize that I don't understand setting the master file (which does all of the \include's).
I have an issue of trying to use more than one computer to work on a single latex project. I use dropbox to keep computers sync'd.
Let's suppose I have an identical directory structure, down from the home area:
/User/homeareafirstcomputer/dir1/dir2/ ---> where all of the .tex files are, including master.tex
and on the second:
/User/homeareasecondcomputer/dir1/dir2/ ---> where all of the .tex files are, including master.tex
If I identify master.tex in one computer with the shell definition TM_LATEX_MASTER of either:
1. ~/dir1/dir2/master.tex
or
2. master.tex
Then secondcomputer cannot find the master.tex.
If I identify the variable TM_LATEX_MASTER as
1. /User/homeareafirstcomputer/dir1/dir2/master.tex
then, of course secondcomputer looks for it in that absolute path and can't find it.
If I show info on the master file in the project file drawers, it insists on checking the Save as absolute path box.
How can I use this feature for a project that's shared among computers? I'm surely missing something simple...
thanks
Ray
After recent updates to bundles, cmd-[ and cmd-] now skip to a word or
phrase instead of indenting left or right. Since I use the indenting feature
a lot, I want to undo that change. Alas, I don't know what bundle did it.
Actually, it's only a guess that a bundle is responsible.
I would appreciate some help with how to track this problem down (and reset
the keystrokes). Using the menu command instead of the keyboard is a real
pain in some undisclosed location.
--Lewy
Dear all,
I opened a file I recently worked on [.R] and realized that there is a blank/new line every other line. So instead of ...
a b c d e
f g h i j k
l m n o p
... I have ...
a b c d e
f g h i j k
l m n o p
I must have accidentally hit some key combination before I save the file. Is this possible? Is there any simple way to undo this? Going through by hand and even with find next + replace it's tedious.
Cheers,
Marius
Jenny wrote:
> It works now, thanks, Allan!!!! Edit in TextMate is so much better than QuickCursor.
Ditto for me. It wasn't enough to re-install the TextMate bundle and use the Install... feature; I had to reconcile the various versions and fix permissions as Allan recommended.
> Typical, I would say. When you do something, you do it right.
If I had to choose between a new TextMate version or this supportive email list, there'd be no contest. Thanks again for the fix!
jon
/RNN (Response Not Necessary)
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
Hello Everyone.
I'm working on a bundle for Assembly for the 8051/52 family. I wanted to add
some simple indentation, example:
RSEG TAGS
TAGS1: MOV A,@R1 ; after this line indent all the following
MOV B,@R0
RET ; after this line decrease indent
JMP $
I tried this code for the indentation rule:
{ decreaseIndentPattern = 'RET|END';
increaseIndentPattern = '*\:';
indentNextLinePattern = '*\:';
}
But it doesn't do the job.. Any ideas what I'm doing wrong?
Thanks in advance!
--
View this message in context: http://old.nabble.com/Indentation-Rules-for-Assembly-tp31581977p31581977.ht…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to run rails tests using the RVM gemset instructions here:
http://beginrescueend.com/integration/textmate/
When I run a unit test I get the error:
[31mgit://github.com/sferik/rails_admin.git (at master) is not
checked out. Please run `bundle install`[0m
Running "bundle install" results in nothing, as that gem has already
been installed.
I noticed that a file I was working on was suddenly four times its original length — its content had been quadruplicated! I also noticed that whatever I changed in the first copy affected the others, even after I emptied out the file and started typing fresh.
After a relaunch, everything’s back to normal, but… what the heck was happening? Is it the rapture?
Video demo: http://dl.dropbox.com/u/25234/textmate-dupe-lines-what.mp4
I recently migrated from a 2006 to 2010 MacBook Pro and migrated all my data over with one exception: I upgraded my new computer from OS 10.6.5 to 10.6.7. Now Edit in Textmate has disappeared from my Edit menu in applications like Mail and TextMate, and the key binding Ctrl-Cmd-E doesn't work even on TextMate itself (eg, when editing snippets).
I'm running TextMate 1.5.10 (1631) on both computers, and updated my bundles. Edit in TextMate is checked under System Preferences/Keyboard/Services.
I've tried the fixes reported previously on this list and on the TextMate wiki, including:
* Running Mail in 32-bit mode.
* Adding the key binding Ctrl-E using Allan's technique described at http://wiki.macromates.com/Troubleshooting/EditInTextMate
* Unchecking TxtToTM in System Preferences/Keyboard/Services (it was previously being invoked by the same key combination as Edit in TextMate).
* Checking for existence and root ownership of Edit in TextMate in /Library/InputManagers. (I assume I don't need another copy in ~/Library/InputManagers.)
QuickCursor has been recommended to me, but based on the comments I've seen the current version doesn't match Edit in TextMate's clipboard features.
Any guidance greatly appreciated!
jon
/RR (Response Requested)
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
Watts and Jenny wrote:
>> What things is [QuickCursor] lacking, do you think?
> As I recall, Edit in TextMate used to let us flip back and forth between a window in an application and the one linked to it in TM. With QuickCursor, multiple edits lead to multiple windows saved in TM. Thus QuickCursor is not very helpful for editing long documents.
QuickCursor has two other drawbacks when compared to the "hackish" Edit in Textmate:
1. You can't leave your TextMate window open and still save to the original application via QuickCursor; in fact AFAICT you have to close the TextMate window to save at all. That prevents you from keeping a text copy of your (say) Web form or email message--so you lose everything if your application's connection or login times out.
2. QuickCursor seems to lose all formatting from the original context. This is a real bummer when replying to email messages with multiple quote levels. For example, the text beginning my message turns from a threaded reply to the following unintelligible block:
________________Begin QuickCursor version________________
Watts and Jenny wrote:
What things is [QuickCursor] lacking, do you think?
As I recall, Edit in TextMate used to let us flip back and forth between a window in an application and the one linked to it in TM. With QuickCursor, multiple edits lead to multiple windows saved in TM. Thus QuickCursor is not very helpful for editing long documents.
QuickCursor has two other drawbacks when compared to the "hackish" Edit in Textmate...
________________End QuickCursor version________________
:(
I'm working a lot with Express and noticed that every time I type app.get-> (tag) I wind up with the tab trigger for getElementsByTagName('').
Is there a way to selectively bypass tab triggers?
Thanks,
-Josh
____________________________________
Joshua Kehn | Josh.kehn(a)gmail.com
http://joshuakehn.com
I'm new to textmate for LaTeX. I would like very much to modify the foldings to add specialized theorem styles so I can fold them out of the way. It's not obvious how to add to the \begin and \end built-in folding tags, which are the only two built-in out of the box. That \footnote is not one of them makes me concerned that this is a difficult or impossible modification? Assistance with this would be appreciated.
thanks,
Ray
Hello,
I need to change indentation rules to correctly indenting C code like this
int func(int a)
{
if ( a )
{
return do_it();
}
else
return 0;
}
here is two spaces before '{' and two after.
How I can do it? The regxps in indentation preferences are quite hard to understand right.
Muchas gracias,
Alexey.
Hi,
I'm a long-time emacs and TextMate user. Just this past month I tried Sublime Text 2 -- and I've fallen in love with an editor again.
Just wanted to mention this, since I was surprised that Sublime Text 2 was new to my ears and it doesn't seem like many of us have even heard of it (especially those who keep whining about TM2).
(Not soliciting Sublime Text 2, I'm just so excited by the editor and wanted to share it with you).
yong
A new editor called Tincta has just shown up on Macupdates. It is listed as 0.9 beta. The program is _super_ basic so no need to check it out, but still, another one to keep our eyes on. (But it does have Ada syntax highlighting. 8^)
Jerry
On May 11, 2011, at 1:58 AM, Jerry wrote:
> I took a look several days ago and was only slightly impressed, partly because it has no Ada language smarts and I didn't actually use it for much--just a little C and Python. I'll keep my eye on it though. I think I mentioned this before, but the everything-in-one-window paradigm sucks IMHO especially on a laptop--it's just crappy real estate management.
I believe you can use tmbundles for Ada in Sublime. I'm curious: what's this everything-in-one-window interface paradigm you're talking about?
I've been with TM since the beginning (I wrote the first Perl and LaTeX
bundles). I think a lot of the frustration with TM2 comes out of our
affection for TM1 and wanting *Textmate* to be the platform that keeps
evolving and takes us all into the next decade.
Let me gently suggest that pleading with Allan about communication or
productivity won't have much constructive effect. When you are blocked on a
difficult project, does having people nag you make you more productive?
The reality is that TM2 isn't ready and may never be, and people who are
really dissatisfied with TM need to be looking at alternatives. If TM2
comes out, that will be the nicest present. So what alternatives are
there?
The most hopeful alternative I've seen is Kod <http://kodapp.com/>.
Naturally, Kod is having a little developmental stall, but it's open-source
and could be worked on by interested developers.
BBEdit and UltraEdit are closed source without channels for community
contributions, but they are under active development.
Smultron seems interesting, but I don't know much about it.
Alpha X and Pepper seem dead.
So... anyone up for some Kod programming? Otherwise, we may have to settle
for TM1 for now...
best wishes, Eric
--
Eric Hsu, Associate Professor of Mathematics
Director, Center for Science and Math Education
San Francisco State University
http://math.sfsu.edu/hsu
>
> in the last two days I've started to get an error with Taskmate
> whenever I mark an item as completed. I'm using the latest subversion
> version from the Reviews/ directory.
Did you change or update your version of Ruby or anything like that?
Hello,
I'm having problems in TextMate with display of mathematical Unicode
characters that lie outside of the base plane.
I have put a simple example in attachment since mail agents are not
100% reliable, however an inline example is also here:
𝑎+𝑏=𝑐
When I try to open the document I only see some Chinese characters
instead of lowercase italic math letters, but what is worse: when I do
minor modifications to document elsewhere and save it, those Chinese
characters are actually saved to file, so that the document gets
"destroyed".
On the other hand copy-pasting from other programs into TextMate seems
to work visually, but TextMate stores "junk" bytes into the file
(useless in other programs).
I'm using Version 1.5.10 (1623). Is there any chance that this gets
fixed before TextMate 2?
Thanks a lot,
Mojca
Hi!
To post to Posterous, could I somehow use the blogging bundle, or do I
need one of the Posterous bundles out there?
(Just exploring what I want to use TM for ... :))
--
Phil :)
Hi,
in the last two days I've started to get an error with Taskmate
whenever I mark an item as completed. I'm using the latest subversion
version from the Reviews/ directory.
/Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/item.rb:22:in
`initialize': undefined method `strip' for nil:NilClass
(NoMethodError)
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/source.rb:22:in
`new'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/source.rb:22:in
`parse'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/source.rb:17:in
`scan'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/source.rb:17:in
`parse'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate/source.rb:8:in
`initialize'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:109:in
`new'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:109:in
`readdir'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:109:in
`glob'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:109:in
`readdir'
from /Users/melo/Library/Application
Support/TextMate/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:50:in
`initialize'
from /tmp/temp_textmate.8Bl7lK:9:in `new'
from /tmp/temp_textmate.8Bl7lK:9
I'm getting this on the same task files that I was using two days ago,
without problems. AFAIR I didn't update any system components or
Textmate.
Any ideas?
Thanks in advance,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:melo@simplicidade.org
mailto:melo@simplicidade.org
I am working with some abnormally large quoted strings in JavaScript (SVG
Paths with 3 decimal place precision). When I reach a certain number of
characters, an ASCII character unknown to me displays, and I can not reach
the end of the line via normal means (Command + right arrow). If I scroll
backwards from the following line, I get a column count in the 6000 range
(it seems to vary depending on were I pasted the string from).
I can not see the end of the string to edit it.
I am using the default JavaScript bundle, but I have also tried the YUI
bundle, as my company are avid YUI fans, but the YUI JS bundle has the same
issue.
When I view the JavaScript file in Firefox, I can see all the text, so
TextMate is not losing it. It appears that the app is just unable to
display the data for some reason.
First of all, thanks in advance for any help. This is an urgent issue-
I had been working on a CSS file all day, I saved it hundreds of times
throughout the day, everything was peachy, then all of a sudden text
mate froze up and when I re-opened textmate my file is now completely
empty.
I really need this file back tonight as it is due tomorrow!
Any help finding it would be awesome.
Thanks!
Hi!
I am considering TextMate for my Python development, comparing it to
Emacs/Vim, WingIDE, and Eclipse/PyDev and such.
Using the official Python bundle I seem to only get completion on
commands, not lookup of methods on the object at the cursor. I think I
got this working in the Ropy bundle (Ctrl+p for completion), both rope
and ropeide is installed in Python. But I can't seem to get
definitions of methods and functions by pressing Ctrl+] (Ropy) and
using F3 and ^H (Python Bundle), I get only module and function defs,
not methods.
(Maybe getting method defs easily popping up isn't vital, but as a
Python n00b, I find it very convenient.)
So, which bundles is recommended by you Python&TextMate 1337 guys? :)
Right now I find myself switching back and forth between Emacs and
TextMate. TextMate is slick and .. cute, but I get completion and defs
of methods and everything in Emacs ... (WingIDE is nice, but
expensive.)
--
Phil
>
> Unfortunately I don't have time machine setup... grrrr
Time machine, VCS, dropbox, backups. :(
I had to learn the hard way also.
On Tue, May 3, 2011 at 5:00 AM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: Column Selections (Steve King)
> 2. Re: Textmate froze, and emptied out my file... (Phillip Salfity)
> 3. Re: Textmate froze, and emptied out my file... (Thomas Mai)
> 4. Re: Textmate froze, and emptied out my file... (Phillip Salfity)
> 5. Re: Textmate froze, and emptied out my file...
> (ssteinerX(a)gmail.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 May 2011 09:49:06 -0400
> From: Steve King <sking(a)arbor.net>
> To: <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Column Selections
> Message-ID: <4DBEB652.9030102(a)arbor.net>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> On 2011-04-30 20:43, Brandon M Fryslie wrote:
> > Cmd + Shift + L is by default select line so you don't necessarily
> > need to make a new macro. Also ESC is completion so I probably
> > wouldn't rebind it.
>
> Heh. That might explain the trouble I've had the few times I tried to
> get completion working... :-) Good suggestion about the bindings and
> cmd-shift-L. I chose the bindings I did many moons ago to match the
> Windows editor I had been using, without really bothering to see what
> they were stepping on.
>
> > I had to edit the plist files to change the macros too, I'm interested
> > if anyone knows a better way.
>
> I seem to remember that I asked on this list around that time. Allan's
> answer was that there was no other way, but that I shouldn't be mucking
> about with the raw macro items anyway. I successfully ignored that
> advice. :-)
>
> --
> Steve King
> Sr. Software Engineer
> Arbor Networks
> +1 734 821 1461
> www.arbornetworks.com <http://www.arbornetworks.com/>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 2 May 2011 17:55:05 -0400
> From: Phillip Salfity <salfity(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Textmate froze, and emptied out my file...
> Message-ID: <BANLkTiny2pA8hWpObgctr7u1um88R-5ACA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> First of all, thanks in advance for any help. This is an urgent issue-
> I had been working on a CSS file all day, I saved it hundreds of times
> throughout the day, everything was peachy, then all of a sudden text
> mate froze up and when I re-opened textmate my file is now completely
> empty.
>
> I really need this file back tonight as it is due tomorrow!
>
> Any help finding it would be awesome.
>
> Thanks!
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 3 May 2011 00:34:15 +0200
> From: Thomas Mai <tom(a)tommai.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Textmate froze, and emptied out my file...
> Message-ID: <60AB3A8C-5A4C-401A-A423-0FD2ED9C495D(a)tommai.de>
> Content-Type: text/plain; charset=windows-1252
>
> Hi Phillip,
> when TM shows an empty file its very likely that the file IS empty.
> Nevertheless I would check that with another editor... and then hope that I
> have a backup of this. (Time machine?)
> Maybe there is a version in the trash bin?
> Maybe something in the clip board?
>
> Sorry, no better ideas...
>
> Maybe its a good idea to turn on ?Atomic saves? (in the future) and run
> time machine in the background.
> (Btw... as a 4 years + TM user I never experienced the disaster you
> suffer.)
>
> bb Tom
>
>
> > First of all, thanks in advance for any help. This is an urgent issue-
> > I had been working on a CSS file all day, I saved it hundreds of times
> > throughout the day, everything was peachy, then all of a sudden text
> > mate froze up and when I re-opened textmate my file is now completely
> > empty.
> >
> > I really need this file back tonight as it is due tomorrow!
> >
> > Any help finding it would be awesome.
> >
> > Thanks!
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 2 May 2011 18:50:00 -0400
> From: Phillip Salfity <salfity(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Textmate froze, and emptied out my file...
> Message-ID: <BANLkTimbNbAGKiz_u=KSnUN1HrC7f-k66Q(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Tom,
>
> Thanks for the suggestions. I've already checked trash, hidden files,
> clip board, etc nothing... and I do have autosave turned on, it froze
> as I was saving manually. then the application quit, and when I open
> the application again the file was empty. It shows that the last edit
> was at the time of the freeze- its like as if textmate saved an empty
> file over it. If I could get the previous verision that I saved about
> 10 minutes before hand I would be all set.
>
> Unfortunately I don't have time machine setup... grrrr
>
> -Phil
>
> On Mon, May 2, 2011 at 6:34 PM, Thomas Mai <tom(a)tommai.de> wrote:
> > Hi Phillip,
> > when TM shows an empty file its very likely that the file IS empty.
> > Nevertheless I would check that with another editor... and then hope that
> I have a backup of this. (Time machine?)
> > Maybe there is a version in the trash bin?
> > Maybe something in the clip board?
> >
> > Sorry, no better ideas...
> >
> > Maybe its a good idea to turn on ?Atomic saves? (in the future) and run
> time machine in the background.
> > (Btw... as a 4 years + TM user I never experienced the disaster you
> suffer.)
> >
> > bb Tom
> >
> >
> >> First of all, thanks in advance for any help. This is an urgent issue-
> >> I had been working on a CSS file all day, I saved it hundreds of times
> >> throughout the day, everything was peachy, then all of a sudden text
> >> mate froze up and when I re-opened textmate my file is now completely
> >> empty.
> >>
> >> I really need this file back tonight as it is due tomorrow!
> >>
> >> Any help finding it would be awesome.
> >>
> >> Thanks!
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate(a)lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 2 May 2011 18:55:37 -0400
> From: "ssteinerX(a)gmail.com" <ssteinerx(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Textmate froze, and emptied out my file...
> Message-ID: <8354DE15-E9C7-403A-8E2C-418B8DE15650(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> On May 2, 2011, at 6:50 PM, Phillip Salfity wrote:
>
> > Tom,
> >
> > Thanks for the suggestions. I've already checked trash, hidden files,
> > clip board, etc nothing... and I do have autosave turned on, it froze
> > as I was saving manually. then the application quit, and when I open
> > the application again the file was empty. It shows that the last edit
> > was at the time of the freeze- its like as if textmate saved an empty
> > file over it. If I could get the previous verision that I saved about
> > 10 minutes before hand I would be all set.
> >
> > Unfortunately I don't have time machine setup... grrrr
>
> One of the things I like the most about Dropbox is that it has a snapshot
> of *every single* save that you can get back with a couple of clicks from
> the website.
>
> S
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 36, Issue 2
> ***************************************
>
Select Line bound to ^L (selectHardLine), and
Select Nothing bound to ESC (moveRightAndModifySelection, moveLeft). I
don't remember for sure, but I might have had to edit the *.tmMacro
files by hand to get exactly the behavior I wanted.
Cmd + Shift + L is by default select line so you don't necessarily need to
make a new macro. Also ESC is completion so I probably wouldn't rebind it.
I had to edit the plist files to change the macros too, I'm interested if
anyone knows a better way.
Brandon
Hi folks,
I work on several open-source projects (VTK, ParaView, CMake...) that
follow a somewhat unusual indentation style. Instead of
if (foo)
{
bar();
}
bar();
they require
if (foo)
{
bar;
}
bar()
Getting the first curly indent right was trivial but I can't figure
out how to reduce the indentation _after_ the closing curly. When the
pattern matches decreaseIndentPattern, the current line's indentation
is reduced. What I need is for the following line to be unindented. Is
there any way to do this?
Thanks,
-berk
>
> Dog leave a puddle of sick in your living room? Wouldn't have
>
> happened if you had TM2.
>
> I think the developer is doing you all a favor!
>
> Yea, well, you didn't have to clean it up! Allen, please take pity on my
beloved poodle Jericho and her IBS. I think even a short update with maybe
a thumbs up / thumbs down about how it's going would quell her digestive
issues and get her appetite back. She's been coding and utilizing TextMate
so much she can't get the thought of all those juicy new feature out of her
mind. She barely even finishes both of her chili dogs anymore.
Heartbreaking.
Although I'm starting to think he has his spam filter set to exclude
'textmate 2' and 'tm2' automatically.... ;)
OK I've got a question, is there any way I can temporarily disable or toggle
auto-pairing of quotes (& etc) with a hot key? Sometimes I just want a
single quote (etc) somewhere and it can get annoying to delete the paired
character each time.
Also, is TmCodeBrowser 1.11 the latest in "Show Classes, Functions, etc in a
Tree Panel" technology we have right now? I would like something that shows
more information (variables in functions, entire struct definitions), and
can show/hide info without the mouse hovering over it (hate the mouse). If
not I'll take a crack at patching up TmCodeBrowser into a 'good enough'
solution until TextMate 2 arrives to make us muscular without exercise,
gives our cars an extra 5 mpg (or kpl as it may be) in the city, and stops
Jericho from ruining all my fancy Ikea rugs.
Brandon
>
> Problem is reproducible 100% to me.
Thank you Mel, I can reproduce it now as well. Interesting, it only seems
to remove some of the formatting. Alignment and some other things don't
seem to be removed.
Brandon
> Why are you looking for an alternative to something that does what you
want in the first place?
I think the point is that there are some issues with TM1. Like you said,
there really isn't any alternative, but that shouldn't stop us from having a
frank discussion about TextMate's (very few) shortcomings. I'm pretty sure
everyone here absolutely adores TextMate, especially after seeing the spurt
of activity here in the past few days.
Since we are some of TextMate's largest fans, I think this is a somewhat
appropriate place to discuss the future of TextMate (if not TextMate proper,
then the bundle systems which can theoretically fill whatever gaps we need
given enough elbow grease).
Since there are only a few short messages from Allen himself over the past
year, we can only discuss alternatives and what we would like to see
updated/fixed, and wait for news. Given another year, maybe a competitor
will be to an advanced enough stage that with some work it could become
usable.
One possible alternative could be E-TextEditor (http://www.e-texteditor.com/).
The only problem is that it is Windows only...but I've used it and it seems
to have very good support for all TextMate bundles (it uses Cygwin). That
could be a possibility lacking any further news on the future of the real
TextMate.
Cheers
Brandon
As Apple product users, we all love and pay for two things. High quality and shiny new beautiful products. Our choice in hardware shows we all appreciate quality and beauty and are willing to pay for it. We all love TM because it's so fun to use and the reason we want a new, slightly different and better version is the same reason we all can't wait to buy Lion. We all want TM2 and that's fine. I imagine all the hardcore, 'use TM1 till the bitter end' types are old school UNIX hackers that could still break out vim or emacs and knock off a script if they had too, and that's just fine too (pretty cool actually).
Another point worth making is, this situation is really strange. This can't be normal. But it is entertaining, so who cares right?
There is an army of loyal TM users just waiting to shell out cash. So we must ask, why would there be such a delay and no response, with so many loyal customer? Companies and products and software disappear and stops being developed when customers stop supporting and that is the only reason. That is the only logical reason. Why doesn't the creator sell or license it somehow? There are so many ways to make money with a good idea or product and the kinds of people who invest in these things would be all over a product with this much support. So who knows whats happening.
But after this long, who cares? I went back to bbedit, for most uses and still use TM sometimes. Theme junkies can get their fix with this tool. It's great. http://daringfireball.net/2006/10/bbcolors_1-0 and also, try 'bbedit --maketags' from the command line for extremely cool built in ctags support.
Keep using TM or don't.
Peace to all
Hi all,
I've come across another serious TM bug :(
It appears that TM modifies the contents of the pasteboard without the
user doing the ⌘+c. If you copy a piece of rich text (or text with
image data) and you just switch to TM so its window is frontmost and
active, TM will go ahead and just strip all rich edit out of text and
leave you with just plain text representation. You can verify this if
you use any of the pasteboard history viewers. Or say you copy a large
number of cells out of Numbers and you inadvertently ⌘-tab to TM, TM
will freeze while it's messing up your pasteboard data.
Anyway, modifying system-wide pasteboard without any user input is
really bad form. Will this ever be fixed or is MacVim the only
solution for now?
Mel
>
> Uh? Neither Joshua Kehn nor I wrote the section you quoted above, Mark
> Jackson did. I know I certainly don't take Joshua's disapproval of
> styled text as a personal attack, and I hope he doesn't take my feeling
> that styled text is actually important as an attack on him.
I never stated that. Ever.
> For the official record I can duplicate the bug. I just don't make it a
> habit of tabbing into my plain text editor before pasting rich text into
> another application.
I really, really apologize to you guys for misquoting you. I must have
grabbed the name from the messages above or below. I think I'll just stick
to technical answers from now on. :)
Regarding the bug, I am running TM 1.5.10 1623 on OS X 10.6.6 (MB Alum) and
can completely confirm that the bug doesn't exist as it has been described*,
at least on my system. Possibly you are running a different build?
* I can copy rich text and interact with TM all I want and the pasteboard
retains 100% of the richness (styling).
Brandon
>
> I am sure I am not the only one here who feels that some people, BIGHYPE
> *hint* and others, need to tone their attitude down. Being an ass, doesn't
> help anyone.
@Joshua Kehn & @Watts Martin: Let's please keep this list related to helping
people with TextMate, not useless ad hominem attacks. If someone reports a
bug, you don't need to say anything unless you can confirm it or say it
isn't currently affecting you. "This bug doesn't bother me much, so keep
quiet" is not an acceptable answer, and if you post some advice please be
ready to follow it yourself.
That being said, I can confirm that I am not experiencing the clipboard bug.
I can copy rich text from TextEdit and paste it into TextMate, then paste
the still-rich text anywhere else I like. Therefore I'd say that TextMate
is NOT screwing up the clipboard so it must be something else.
Cheers!
Brandon
On Tue, Apr 26, 2011 at 1:17 PM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. TM modifies/destroys the contents of the system-wide
> pasteboard (Mel Brands)
> 2. Re: TM modifies/destroys the contents of the system-wide
> pasteboard (Joshua Kehn)
> 3. Re: TM modifies/destroys the contents of the system-wide
> pasteboard (Watts Martin)
> 4. Re: TM modifies/destroys the contents of the system-wide
> pasteboard (Joshua Kehn)
> 5. Re: TM modifies/destroys the contents of the system-wide
> pasteboard (Mark Jackson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 26 Apr 2011 12:45:49 -0400
> From: Mel Brands <bighype(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] TM modifies/destroys the contents of the system-wide
> pasteboard
> Message-ID: <BANLkTikXDjrjBBkLAcKtG0W5pBbLh6bB-w(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi all,
>
> I've come across another serious TM bug :(
>
> It appears that TM modifies the contents of the pasteboard without the
> user doing the ?+c. If you copy a piece of rich text (or text with
> image data) and you just switch to TM so its window is frontmost and
> active, TM will go ahead and just strip all rich edit out of text and
> leave you with just plain text representation. You can verify this if
> you use any of the pasteboard history viewers. Or say you copy a large
> number of cells out of Numbers and you inadvertently ?-tab to TM, TM
> will freeze while it's messing up your pasteboard data.
>
> Anyway, modifying system-wide pasteboard without any user input is
> really bad form. Will this ever be fixed or is MacVim the only
> solution for now?
>
> Mel
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 26 Apr 2011 12:47:35 -0400
> From: Joshua Kehn <josh.kehn(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: TM modifies/destroys the contents of the
> system-wide pasteboard
> Message-ID: <D32113888E05420D95668EB217F51F35(a)gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Never really was one for copying rich text. Causes more hassles then it's
> worth in my opinion.
>
> Regards,
>
> -Josh___________________________________________
> Joshua Kehn | Josh.Kehn(a)gmail.com
> http://joshuakehn.com
>
> On Tuesday, April 26, 2011 at 12:45 PM, Mel Brands wrote:
> Hi all,
> >
> > I've come across another serious TM bug :(
> >
> > It appears that TM modifies the contents of the pasteboard without the
> > user doing the ?+c. If you copy a piece of rich text (or text with
> > image data) and you just switch to TM so its window is frontmost and
> > active, TM will go ahead and just strip all rich edit out of text and
> > leave you with just plain text representation. You can verify this if
> > you use any of the pasteboard history viewers. Or say you copy a large
> > number of cells out of Numbers and you inadvertently ?-tab to TM, TM
> > will freeze while it's messing up your pasteboard data.
> >
> > Anyway, modifying system-wide pasteboard without any user input is
> > really bad form. Will this ever be fixed or is MacVim the only
> > solution for now?
> >
> > Mel
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
>
Hi,
another thing: in Alpha one can save and edit any find/replace (F/R) pattern for later use. I’m using this feature heavily because I’m frequently editing TeX documents converted from Word format where one often has very similar F/R tasks such as formatting citations, references, or bibliographical material. At the same time one cannot do this using some external script because there’s still a wide variance of constructs depending on how the Word author worked.
That all boiling down to: is there a way to save, edit, and reload F/R patterns?
Thanks for all hints!
… with regards from Ladenburg:
-MWL-
--
Martin Wilhelm Leidig, Nadlerstr. 6, D-68526 Ladenburg, Germany
Professional TeXing, TeXnical counselling, and TeX hacking
Dante e.V. Member #1580
Some people have mentioned valid technical problems (stale bundle development, lack of split screen, lack of speed when working with LaTeX, better version control tools support (in my case git), etc.), but I think the business aspect is even more important.
Having read the various opinions on the matter, I'm surprised at the faction that defends Allan's admittedly bad TextMate 2 information policy. Although he has never committed to specific release dates, on several occasions Allan's comments made it appear as if at least an alpha release was within reach. Allan's apparent ansatz (whether intended or not) to simply stop talking altogether, however, is not a solution, it makes matters worse. At the very least, it has had a detrimental impact on bundle development -- and I wouldn't be surprised if prospective customers would be turned off by a homepage that still has `Why TextMate 2 won't be supported on Tiger' in its FAQ -- when people are three, soon four OS X iterations ahead.
Why should we (as TextMate 1 users) care? Well, if this policy has an impact on business, it may endanger the future of TextMate as a whole. So yes, I think it's good that we ask every once in a while what's going on and what the status of TM2 is. Allan should regularly provide updates (not daily or weekly, but every month or two at least). If he does not have the man power necessary to make TextMate 2 into a product, he could ask the community to help out.
Hi TextMaters,
I'm using TextMate for a long time. However, I have to write texts in different languages (mostly English and German) and therefore, I set in the "Spelling and Grammar" dialog the option "Automatic by Language". TextMate, however, does not manage that properly. It recognizes initially only the English orthography. In order to also recognizing german spelling, I have to set this explicitly in the stated dialog. Thereafter, if I switch back to "Automatic by Language", all is fine.
Does anyone notice that behavior, too? I appreciate any remarks...
Thanks and cheers,
Stefan
> Curiosity or there's something you can't do with TM1?
Improved completions (complete from project, etc), not crashing when editing
remote files (e.g. when using MacFusion), project-wide commands (Validate
Syntax for project, Transliterate to ASCII for project, etc), split pane
editing, more intuitive way to edit bundles & language grammars directly in
textmate (using "Edit in TextMate..." is a bit hacky), Javascript & other
improvements in the web preview (such as refresh on save and instant CSS
preview), improved code formatting/reindent, multiline regex engine, among
others.
However those are only things I *know* I want. I'm actually more excited by
all the features I don't know I need yet. :) Anything that makes TextMate
more TextMate-y (such as more powerful snippets, commands, and grammars) is
fine by me.
Thanks Allan and sorry for flooding your list with useless messages...it's
just that our curiosity and excitement are constantly peaking and it just
takes one errant comment to get us all aflutter. :)
Brandon
Alan does not owe anybody anything.
If you are unhappy with TM1 use another application - end of story.
On Mon, Apr 25, 2011 at 1:34 PM, Jenny Harrison <profharrison(a)gmail.com> wrote:
> You are so right, Gerd. The time has come for Allan to be open and frank with us.
>
> Jenny
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
--
dc
David Clark
dmclark ·(skype / twitter)
--
dc
David Clark
16 Harcourt St #2I
Boston, MA 02116
617/859-3069 (h)
617/697-2690 (c)
dmclark ·(skype / twitter)
Alan does not owe anybody anything.
If you are unhappy with TM1 use another application - end of story.
No, he does not but since it has been almost 2 years since his last update
on the subject (which I've read 10x) he could drop a line with a little
update. What I'm concerned about is bundle development. I feel like the
bundles are going to take a while to populate the new version, so even after
it drops it's going to take time before it is really as useful as 1x.
Further more, without any information on bundle backward compatibility (my
gut says 'no', at least without modification) does it make sense to invest a
lot of time and resources on developing new bundles for 1x? If 2x is gone
for good, yes. If 2x is a year or two away, yes. But without knowing, I
find it hard to devote the time from my busy schedule.
I know Allan says he isn't really concerned with things like that, and I
tend to agree that they aren't his problems to worry about if he doesn't
want to. However, a lot of people do a lot of 'real work' with TextMate and
a little information would go a long way towards helping everyone prepare
for the future.
As always, Allan, please keep up the good work. I know the feeling of
wanting to perfect a project, and at the end of the day this is your project
and you can do with it what you like. Good luck with everything, I'm sure
you're having a blast developing it. :)
Thanks for everything,
Brandon
Hi, I currently use Eclipse to run my java projects, but since I'll start
learning new languages (Ruby on rails), I wanted to try a more general
editor.
Is it possible to compile and run a simple "Hello world" in java with
TextMate? Without using terminal of course.
Hi,
Is there a good way tell Textmate to automatically run a makefile for a
project upon save? Or a tutorial for setting this up? I am having trouble
finding one.
Thanks,
Jeff
Dear Steve, Dear Hans-Jörg,
many thanks for your fast replies,
I did the following:
(1) As before, I considered a copy of "R Console (R.app) -> Send Document / Selection to R.app" which I called "Send all before cursor to R.app"
(2) I put in the following line in the beginning [I realized that I want to execute lines (up to and) including the current one] instead of rawText="`cat`":
rawText="`head -$(($TM_LINE_NUMBER))`"
(3) I then executed the command via "Bundles -> R Console (R.app) -> Send all before cursor to R.app" and it worked.
(4) of course it would be good to have this as a shortcut. As Hans-Jörg pointed out, my previous choice triggered another command. So I followed Hans-Jörg's suggestion and saw that "apple-key + E" and "apple-key + T" both not trigger other commands. So they are possible choices. However, when I chose either one as key equivalent, the simply did nothing/were ignored by textmate. What am I doing wrong? [I used precisely the same settings as in "Send Document / Selection to R.app", just changed the key equivalent. Hmmm... Do you know what's going on?
Cheers,
Marius
Hi,
being new to this list, let me introduce me: I’m doing professional (La)TeX typesetting and LaTeX programming, mostly for educational and/or scientific publishers.
I’m also quite new to Textmate (TM). I came across TM looking for a replacement for my long-time editor AlphaX (that I used from the days it was named Alpha 6 and run on Classic -- more than 15 years by now), registering almost instantly as TM seemed to suite all my needs. But …
I'm using also TeXShop (TS) which AlphaX run directly to do the TeX thing; so, one could determine TS’s actions by including a shebang-like line in the first line of the input, e.g.,
---
%!TEX TS-program = pdflatexmk
---
This would cause TS to use latexmk and pdflatex to typeset the document.
So, at last, the question: is there a way to get TM to use this (maybe by running TS instead of the TeX binaries directly) or is there something similar in TM?
… with regards from Ladenburg:
-MWL-
--
Martin Wilhelm Leidig, Nadlerstr. 6, D-68526 Ladenburg, Germany
Professional TeXing, TeXnical counselling, and TeX hacking
Dante e.V. Member #1580
Dear Steve,
thank you for your answer.
I tried the following:
(1) I went to "Bundles" => "Bundle Editor" => "Show Bundle Editor"
(2) navigated to "R Console (R.app)" => "Send Document / Selection to R.app"
(3) created a copy and called it "Send all before cursor to R.app"
(4) for this new command, I went to "Command(s)" and replace the line saying: rawText="`cat`" by: rawText = "`head -$(($TM_LINE_NUMBER-1))`" as you suggested
(5) I used the "Key Equivalent" "shift + apple-key + R"
Now when I executed the command, a lot of weird things happened [I work with Version 1.5.8 (1505) on Mac OS X 10.6.7]:
1) A window pops up, saying "Sending task to Rdaemon.." and then "Rdaemon is busy..." and it seems that every line of the file is sent ...
2) A new file named "console.Rcon -- Rsession" popped up. It had two tabs: The first one is labelled "console.Rcon" and contains the sign ">", the second one is called "r_res" and is empty.
3) nothing is executed in R [R is also not opened etc].
Do you know what's going wrong?
Cheers,
Marius
Hi guys!
I'm currently trying to figure out which editor/IDE to use for my
Python development. (I just started learning Python.) :)
My finalists are WingIDE, TextMate and MacVim (with lots of plugins and config).
If I read the doc correctly, TextMate only has command completion
(will complete print() and so on), but not CallType stuff, like
suggesting .upper(), .lower() and so on on a string object. Right?
WingIDE (and VIM) has this, but it lacks the templates TextMate has –
with it's tab completion and stuff automatically added.
(As I understand it, this is just a limitation of the current Python bundle,
but it should be able to implement – if someone wanted/had the time
and skills ...)
I tried adding pysmell and the pysmell bundle, but I don't think it
made too much difference ... (Unless I did something wrong.)
Vi(m) I've used for ages, so it's an old friend, and I do get
completion and popup of methods with description and such.
But still I think it would be hard emulate the interactive
templates/functions in TextMate ...
On the other hand, TextMate is quite cool, maybe I should buy it
anyway ...
Best regards,
--
Phil S.
Dear textmate-experts,
I use textmate to program in the statistical software R. To execute an R script, I typically first select the lines and then use "Apple-key + R" which launches "Send Selection/Document to ... R.app". In order to execute all lines before the current cursor position, I also first select all lines (with "Apple-key + shirt + up"). But that shifts the view to the top of the document, which is a bit tedious. Is there a simple way to tell textmate to execute all lines before the current cursor position?
Cheers,
Marius
Stephen said:
>What's the search expression? Chances are that's what's causing the
>problem. It's very easy to write a simple expression that (in any
>engine) takes a very long time to evaluate. perldoc perlre has some
>examples, IIRC.
Hi!
Search expression was something like:
\{\"[\d\s]+\",\"\",\"[\w\s]+\",\"[\w\s@-_\+]+\"\},
After an hour after I sent that email, I killed the process. I
couldn't let it run anymore... was too frustrating.
I then wrote a quick ruby script and did it that way. It finished in
seconds. TM has some serious issues with newlines... because it runs
100000x faster when the replacement statement has no "\n" characters
and when the text you're running the regexp on is not one long line.
Give it a try on your own test data.
Thank you for a message! I appreciate it for trying to help.
Melanie
Hello all,
Today I installed ViMate and was disappointed at its lack of features. (plus
the overlapping escape key-bindings)
So, I wanted to uninstall it, but I don't see a "ViMate.tmplugin" folder in
the ".../TextMate/PlugIns" path.
Now my word completion is not working.
I've deleted TextMate and reinstalled it, but ViMate did not go away.
I spent couple hours trying to figure out how to uninstall ViMate from
TextMate, but I had no luck.
Can someone please help me uninstalling ViMate?
Thanks!
Dru Kepple wrote:
> On Apr 18, 2011, at 11:31 AM, Dushan Mitrovich wrote:
>
>> The keyboard shortcut Cmd-Opt-O is supposed to toggle between Insert and
>> Overwrite modes, but on my system it does nothing. I've looked at Keyboard
>> Shortcuts under System Preferences to see if there are any conflicts,
>> but didn't
>> see any. Anybody have any suggestions for getting this to work?
>>
> Most common culprit is a bundle shortcut overriding the app shortcuts. Try this: Press Control-Command-T, in the little magnifying glass drop down choose "Key Equivalent" and then type Cmd-Opt-O, and see if any results show up. This will be language-scope-aware, so do this in the files you normally work in.
>
> Another suggestion might be to use System Preferences to assign it to something else, and see if that works.
>
> +dru
>
Dru, thank you, your suggestion led me to find the interfering culprit.
I have something called 'sidenote', whose shortcut for unfurling from
the left screen edge was just the shortcut that Textmate uses for the
insert/overwrite toggle. Once I changed that one to a different
shortcut, Textmate's toggle began to work.
This prompts two questions:
1 - how does one alter Textmate's shortcut keys?
and
2 - is there an OSX utility to list all of a system's shortcuts to help
the user avoid conflicts?
#2 may be asking too much, tho.
- Dushan
Hi guys,
My first post to this list because this seems to be the best way to get some
help :)
I've had some issues with TM's regexp in the past (it was slow) but today
I've experienced just how slow it is. My TM has been "locked up" for over 11
hours now and all because I ran a simple regexp on a small file (file is
composed of one line, JSON formatted data, which is approximately 10000
characters long). My CPU is at 100% and all my fans are on at high power.
The replacement regexp is something like '\n$1,$2,$3\n'. That's it. From my
short experience with TM, it seems to have some serious issues with regexp
and especially regexp that adds new lines to a document. TM just can't
handle it well.
I have some questions...
1) Since I have some unsaved files and can't terminate TM because TM doesn't
automatically save unsaved 'buffers', is there a way to quit this thing and
retrieve my unsaved changes?
2) Why is TM so painfully slow when running regexp and especially regexp
that creates new lines? Is there a bundle that uses some other regexp engine
that doesn't suck so much?
3) Why doesn't TM use multithreading so that running one thread doesn't lock
up the whole app? How about a progress indicator or a cancel button??
4) Why doesn't TM save unsaved buffers automatically like almost every text
app out there (even TextEdit does it)?
Thanks for any help... I find TM interesting but extremely lacking at very
basic editor things. It's starting to frustrate me.
Melanie
I'd asked this before but got no response, so I thought I'd try one more
time
as it's bothering me:
Using latest release (v.1631) under OS X.6.5.
The keyboard shortcut Cmd-Opt-O is supposed to toggle between Insert and
Overwrite modes, but on my system it does nothing. I've looked at Keyboard
Shortcuts under System Preferences to see if there are any conflicts,
but didn't
see any. Anybody have any suggestions for getting this to work?
Thanks.
- Dushan
Since I've never had good luck with symlinking in the Library folder,
I created a little applescript app that lets me push or retrieve my
settings from a hidden folder in my Dropbox. It's working great for
me so I thought I would share!
At this time it will:
1. Grab TextMate themes, bundles, settings, etc. from
~/Library/Application Support/TextMate and ~/Library/Preferences
2. Store them in a hidden folder in your DropBox called .MateSync
3. Download them onto another machine.
It won't:
1. Work if you don't have your Dropbox in ~/Dropbox
2. Save backups (Dropbox should do this for you)
3. Transfer TextMate.app to your Dropbox. If you make GUI changes,
you have to sync those yourself.
https://github.com/johnvilsack/SyncMate
Please let me know if anyone finds this useful!
- John
Hey All,
recently I can’t seem to update GetBundles-installed bundles, getting
the somewhat unhelpful “could not install…” error in logs:
04/18/2011 00:40:55 TextMate[GetBundles]
GetBundles – version 1.2 – Hans-Jörg Bibiko - bibiko(a)eva.mpg
GetBundles' DIALOG runs at token 1
Cache File lists 1037 bundles. Last modified date: Sun Apr 17 11:00:01 UTC 2011
04/18/2011 00:41:13 TextMate[GetBundles]
Installing “CSS Extended”
Could not install “CSS Extended” by using
“https://github.com/gordonbrander/css-extended.tmbundle/tarball/master”
04/18/2011 00:42:30 TextMate[GetBundles]
Installing “Apache”
Could not install “Apache” by using
“https://github.com/textmate/apache.tmbundle/tarball/master”
04/18/2011 00:43:06 TextMate[GetBundles]
Installing “HTML”
Could not install “HTML” by using
“https://github.com/textmate/html.tmbundle/tarball/master”
These bundles are all showing up as xxx days old. I’m using TextMate
Version 1.5.10 (1631), and I‘ve tried deleting and reinstalling
GetBundles.
Any idea what I should do to get bulk-updating working again?
peace - oli
Hi, I'm currently working on updating the Smarty language grammar, and I
would like to reference an external file. That way I can edit the grammar
in textmate without being forced to copy and paste it back and forth into
the bundle editor to test it out. Can I do that?
Also, is there a better way of editing bundles and language grammars
directly than in that tiny non-colorful bundle editor window?
Thanks for your help!
Brandon
Hi everyone,
I am trying to use textmate from commandline as: mate file.txt but it
doesn't work anymore after adding /sw/lib to my DYLD_LIBRARY_PATH. This is
annoying because I want to be able add "/sw/lib" to my path as I have some
programs there I want to use. How can I fix this issue?
[CODE]dyld: Symbol not found: __cg_TIFFClientOpen
Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sw/lib/libTIFF.dylib[/CODE]
--
View this message in context: http://old.nabble.com/Problems-starting-textmate-from-command-line-tp314141…
Sent from the textmate users mailing list archive at Nabble.com.
Allan Odgaard-4 wrote:
>
> On 28 Oct 2010, at 21:12, Martin wrote:
>
>> [...]
>> I'm having a similar problem with the ruby on rails bundle when
>> generating partials (shift-ctrl-h) and using ruby 1.9.x.
>> I set TM_RUBY with rvm to several versions. ruby 1.8.7 runs fine,
>> every 1.9.x not.
>>
>> I don't want to set TM_RUBY to 1.8.7 because then every script I run
>> with cmd-r uses also 1.8.7.
>>
>> Isn't there a other solution?
>
> I think you have it backwards.
>
> You should set your PATH so that ruby 1.8.x is found first.
>
> Then set TM_RUBY to your 1.9.x ruby.
>
> That way, all commands in TextMate should use 1.8.x but command R will
> use 1.9.x for your own scripts.
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
>
That does not work for me. My path is set to :
/usr/local/bin:/Users/mhenrixon/.rvm/gems/ruby-1.9.2-p80@global/bin://Users/mhenrixon/.rvm/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/X11/bin
if I run "which ruby" from the terminal I get the following output:
/usr/local/bin/ruby and if I do ruby -v I get 1.8.7 but TextMate still gives
me crap:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in
`to_plist': An object in the argument tree could not be converted
(ArgumentError)
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in
`request_string_core'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:193:in
`request_string'
from /Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Haml-TextMate.tmbundle/Support/bin/create_partial_from_selection.rb:22:in
`<main>'
What can I do now?
--
View this message in context: http://old.nabble.com/Git-Bundle-plist-errors-tp28225818p31389643.html
Sent from the textmate users mailing list archive at Nabble.com.
I am sure it was asked before, but a search in the archives didn't turn up a solution.
I am writing my master's thesis and I need to include C-code in my document.
I would like it to be colored and have line numbers.
There is a nice Copy as RTF command in Textmate that would do everything I need, except it doesn't
work, if I add line numbers manually because this obviously breaks the code structure and highlighting
breaks. So the line numbering will have to be done after the code is colorized.
I would like to have RTF text since I want to paste it into Word later. (Maybe I shouldn't use Word O_o )
I am sure some of you have had the same problem and maybe someone has a working solution.
I also couldn't find any commandline tool that would read and write rtf line by line, which would
be a simple post-processing step then to add the numbering.
It might be possible to change the original Copy as RTF Bundle, but having a quick look inside it was
a bit tricky to find where to add the necessary code.
Help is greatly appreciated.
Thomas
Brandon M Fryslie <bmf(a)email.arizona.edu> wrote:
> I think having "smooth scrolling" on can cause this. You can turn it off in
> System Preferences -> Appearance.
>
Thanks, Brandon, that did the trick.
- Dushan
Dushan Mitrovich wrote:
>> 2 - On a muli-page file the PgUp and PgDn keys have weird behavior:
>> instead of scrolling up or down a page at a time, the window jumps all
>> over the place. For example, on a 5-page textfile and starting with the
>> window about 4 pages down, hitting PgUp puts the window at about page 2,
>> hitting PgUp again puts it at page 3, hitting a third time puts it at
>> the start of the file. This makes no sense to me at all. OTOH,
>> clicking on the scroll bar moves the window one page up or down as you
>> would expect. What might be causing this behavior?
http://screencast.com/t/TvARFTEz This short screencast describes the problem
and shows troubleshooting.
I am getting an error
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/bash_init.sh:
line 27: dirname: command not found
Whenever I run Show TODO List for my Rails application.
I'm assuming this is a path problem but cannot find the source. The only
other recent change I made was deleting an extra copy of ruby that was in
the /opt/ directory.
BASH_ENV=/Applications/TextMate.app/Contents/SharedSupport/Support/lib/bash_init.sh
/bin/bash -xc 'echo test'
+ unset BASH_ENV
+ export LC_CTYPE=en_US.UTF-8
+ LC_CTYPE=en_US.UTF-8
+ set +u
+ [[ -d /bin ]]
+
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/local/mysql/bin:/Library/PostgreSQL/8.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/bin
+ [[ -d /bin/CocoaDialog.app/Contents/MacOS ]]
+ [[ -d '' ]]
+ export PATH
+ : /Users/kevin/Library/Application Support/TextMate/bash_init.sh
+ [[ -f /Users/kevin/Library/Application Support/TextMate/bash_init.sh ]]
+ export RUBYLIB=/lib
+ RUBYLIB=/lib
+ textmate_init /Users/kevin
+ [[ /Users/kevin != / ]]
+ [[ /Users/kevin != /Users/kevin ]]
+ [[ -f /Users/kevin/.textmate_init ]]
+ [[ /Users/kevin == / ]]
+ echo test
test
--
View this message in context: http://old.nabble.com/Show-TODO-List-fails-with-directory-error-tp31370629p…
Sent from the textmate users mailing list archive at Nabble.com.
How do you set the ruby path for the "command R" in textamate. I removed
ruby 1.9.2p0 because I have p136 installed via RVM and have it set as
default. But TM is still using 1.9.2p0. I removed 1.9.2p0 from RVM and
"Command R" stopped working. I tried reseting the patch as it requested but
that did not work either.
It seems to work fine for me. I would try checking your line endings, make
sure you are using the newest version of TextMate, make sure you have
Regular Expression checked in the find box, and make sure there isn't any
whitespace at the end of the lines.
Brandon
> I piped the output of a command to a text file as such:
sudo dscl . -list /Users UniqueID ~/Desktop/unique_id.txt
and opened the file with TextMate:
open -a TextMate.app ~/Desktop/unique_id.txt
I did a simple regex lookup " 9$" (looking for an ID of '9') and hit the
Find All button (i.e. the operator ?). This yielded 0 results however when I
hit the next button, it would have a result.
I think having "smooth scrolling" on can cause this. You can turn it off in
System Preferences -> Appearance.
>2 - On a muli-page file the PgUp and PgDn keys have weird behavior:
instead of scrolling up or down a page at a time, the window jumps all
over the place. For example, on a 5-page textfile and starting with the
window about 4 pages down, hitting PgUp puts the window at about page 2,
hitting PgUp again puts it at page 3, hitting a third time puts it at
the start of the file. This makes no sense to me at all. OTOH,
clicking on the scroll bar moves the window one page up or down as you
would expect. What might be causing this behavior?
Hi,
I piped the output of a command to a text file as such:
sudo dscl . -list /Users UniqueID ~/Desktop/unique_id.txt
and opened the file with TextMate:
open -a TextMate.app ~/Desktop/unique_id.txt
I did a simple regex lookup " 9$" (looking for an ID of '9') and hit the Find All button (i.e. the operator ∑). This yielded 0 results however when I hit the next button, it would have a result.
Bug?
Regards,
Alex
I'm using the latest release (v.1631) of TextMate under OS X.6.5 and am
still experiencing a couple of unexpected problems:
1 - The keyboard shortcut Cmd-Opt-O, which is supposed to toggle between
Insert and Overwrite modes, does nothing. I can make that switch by
going to the menu -- Edit -> Mode -- and clicking on Overwrite Mode, but
this is inconvenient when I need to make that change often. I've looked
at Keyboard Shortcuts under System Preferences to see if there are any
conflicts, but saw none. Any ideas what the problem might be?
2 - On a muli-page file the PgUp and PgDn keys have weird behavior:
instead of scrolling up or down a page at a time, the window jumps all
over the place. For example, on a 5-page textfile and starting with the
window about 4 pages down, hitting PgUp puts the window at about page 2,
hitting PgUp again puts it at page 3, hitting a third time puts it at
the start of the file. This makes no sense to me at all. OTOH,
clicking on the scroll bar moves the window one page up or down as you
would expect. What might be causing this behavior?
Thanks.
- Dushan Mitrovich
Dear textmate experts,
I have a text file with lines like this:
dog={brown, bark},
cat={white, purr},
mouse={gray, beep},
I would like to end up with this:
dog={brown, bark},
cat={{white, purr}},
mouse={gray, beep},
Replacing "cat={" by "cat={{" is trivial, but how can I replace the closing brace "}" by "}}" for that lines? I tried to work with regular expressions and ^.*cat={.*$ matches the lines starting with "cat={", but I couldn't manage to tell textmate's "Find" to basically add something to a line. I also seems to me that although the "Find"-box in textmate's "Find" can deal with regular expressions, the "Replace"-box ignores regular expressions.
I know textmates "Edit Each Line in Selection", but I can't select all lines starting with "cat={" by hand, there are simply too many in my file.
Cheers,
Marius
Have you ever been editing along and all is fine until you notice that your file is like 13 times longer than it should be and then you discover that your text has been copied 12 times into the same file and you know you didn't do it and there are no cats in the house?
Jerry
This seems to be quite a moving target. Based on past solutions, I was able to dig in figure out why this was broken (again).
In `Objective-C.tmbundle/Support/lib/docset_query.rb`, I had to change line 10 from
DOCSETS = Dir.glob("/Developer/Documentation/DocSets/*.docset”)
to
DOCSETS = Dir.glob("/Library/Developer/Shared/Documentation/DocSets/*.docset”)
Anyone else run into this?
--
Rob McBroom
<http://www.skurfer.com/>
Hi Allan,
Could you make the font for the commit message customizable? I can't read that small font well on the new higher-resolution screens, plus I'd prefer it to be a monospaced font anyway.
A very simple way to make it configurable (and I patched my copy of TextMate) would be to edit
TextMate.app/Contents/SharedSupport/Support/bin/CommitWindow.app/Contents/Resources/English.lproj/MainMenu.nib
Select the text view inside the scroll view for the commit message, bring up the Bindings inspector, and change the FontName property to:
Bind to: Shared User Defaults Controller
Controller key: values
Model Key Path: CommitWindowFontName (or whatever else tickles you)
Null Placeholder: Set to the default font name (Lucida Grande?)
Now folks wanting a different font can simply do
defaults write com.cjack.tmbundles.commit-window CommitWindowFontName "Menlo"
No code changes :-)
Thanks
Gerd
Hey everyone,
I've posted a plugin which lets you define keystrokes to move about and edit
your text files with ease, in the spirit of the Vim command-line editor.
Feedback and contributions are welcome.
https://github.com/philc/textmatevim
-Phil Crosby
I've installed Gerd Knops' ctag program, it seems to identify the tag correctly, but when it brings up the file, it uses a private temp directory instead of the current working directory where the project resides. The file it brings up is blank. In addition I get the error below:
Use of uninitialized value $lno in pattern match (m//) at /Users/user/Library/Application Support/TextMate/Pristine Copy/Bundles/CTags.tmbundle/Support/bin/tmctags line 252. Use of uninitialized value $filename in concatenation (.) or string at /Users/user/Library/Application Support/TextMate/Pristine Copy/Bundles/CTags.tmbundle/Support/bin/tmctags line 268. Use of uninitialized value $path in concatenation (.) or string at /Users/user/Library/Application Support/TextMate/Pristine Copy/Bundles/CTags.tmbundle/Support/bin/tmctags line 268.
Thanks.
Is it possible to download older versions of TM?
I'm still using OS X 10.5.8 and so the Cmd+/ "comment/un-comment"
error doesn't affect me, so I'd like to get that back. Also, auto-
indent appears to no longer work for me when writing perl - the indent
level follows the previous line, but it doesn't increment the indent
when I hit return after a '{'.
The first problem is, for me, quite a PITA. I used this feature a lot,
the loss of it reduces TM effectiveness for me. The second problem is
a minor frustration, but I liked TM when the features I use "just
worked".
I don't think any of the updates since I registered TM have improved
it for me - they've been features I don't use/need. I really should
have turned off the software update feature.
So, are there older versions around that I can download?
--
Justin C, by the sea.
I' am trying to run a java applet via textmate. But when I run it by cmd + R
the applet viewer appear and then nothing's happen, after that it crashes.
This is my code :
import java.awt.*;
import java.applet.*;
public class SimpleApplet extends Applet
{
private int height, width;
public void init()
{
height = 50;
width = 300;
}
public void paint(Graphics g)
{
g.drawString("Hello world", 20, 20);
}
}
So there are somethings wrong in my code or I need to config somethings ?
--
View this message in context: http://old.nabble.com/Asking-about-java-applet-tp31247793p31247793.html
Sent from the textmate users mailing list archive at Nabble.com.
I'm having a problem where groups are automatically collapsing when cmd+tabbing
It's starting to get really annoying...
Has anyone else experienced this/know a fix?
I'm using version 1.5.10 (1623)
I'm wanting to create a series of snippets and commands associated with editing a certain type of html file. I'd like these to be portable to the rest of my team, and rather than placing these snppets / commands in the html bundle, I'd like to create a new bundle that "extends" the html bundle. ie: the language definition is empty except for a directive that this is html.
I assume this should be pretty simple. The main question I have is how I should set up the language definition.
Thanks!
-Mark
Hello,
I'm working with Textmate 1.5.10 and LaTeX. At the moment I'm writing my
diploma thesis. I'd like to use a special template set. But I don't know the
directory. Do you know the place for templates?
Greetings,
Ingo
--
Urban Media GmbH
Askanischer Platz 3
10963 Berlin
Telefon: 030 – 29021 – 18620
Fax: 030 – 29021 – 999 18690
E-Mail: ingo.preuss(a)tagesspiegel.de
Registriergericht: AG Charlottenburg
Registriernummer: HRB 56368
Umsatzsteuer-Identifikationsnummer:
DE 173223298
Geschäftsführung:
Dr. Marion Bleß, Thomas Zydek
Hi all,
It's not real window splitting but I find this useful to automate "Open in
New Window" as a stop gap.
It's still a bit rough and lacking in features but if anyone would like to
try it out here's the link to my
https://github.com/seandunn/window-buddy.tmbundle Window Buddy bundle.
Splitting can only done to project tabs. Docking can only be done to
auxilary windows. Other window snap controls work for both.
You have to click "Reveal in Project" (^⌘R) at least once as it use the
TM_SELECTED_FILE variable. There's also still a few "issues" to sort out
such as RubyAMP's complete from project to work in the auxilary windows.
Otherwise it should quite straight forward to use.
Let me know what you think.
Cheers,
Sean.
--
View this message in context: http://old.nabble.com/Introducing-WindowBuddy.tmbundle-for-psuedo-window-sp…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Suddenly, I get the following (after the line "Telling Skim to Refresh") when compiling a tex file.
Any ideas what it means and what is going wrong?
Best
Christian
-------------
Processing: ./teleop-labs.tex
Document Class: scrartcl 2011/01/25 v3.08 KOMA-Script document class (article)
Output written on teleop-labs.pdf (3 pages, 305846 bytes).
Complete transcript is in sefi-wee2011-teleop-labs.log
Telling Skim to Refresh "/Users/chrisp/teleop-labs.pdf"...
2011-03-16 17:52:35.450 osascript[9544:60b] Cannot find executable for CFBundle 0x10051d1c0 (not loaded) osascript: OpenScripting.framework - scripting addition "/Users/chrisp/Library/ScriptingAdditions/1Password Addition.osax" declares no loadable handlers. 2011-03-16 17:52:36.139 osascript[9559:903] Cannot find executable for CFBundle 0x10012f9f0 (not loaded) osascript: OpenScripting.framework - scripting addition "/Users/chrisp/Library/ScriptingAdditions/1Password Addition.osax" declares no loadable handlers.
-------------
--
Christian
-Your time is limited, so don't waste it living someone else's life.-
Steve Jobs, 2005
> On Mar 15, 2011, at 6:50 PM, Dru Kepple wrote:
>>
>> Yes: right-click on the file in the project drawer
> This has no such menu item, the option is greyed out. What is wrong?
Disregard that question. I figured out the project drawer does not work in single-file mode.
-- Gnarlie
Holly molly,
I don't even remember when I've done this, but this really helped.
Thank you Sven, you've made my day :)
Problem is solved.
On Fri, 11 Mar 2011 14:13:38 +0100, Sven Axelsson wrote:
> On 11 March 2011 14:05, Kaster Might<kastermight(a)gmail.com> wrote:
>> Lol, Thanks god, I'm still able to recognize keys on my keyboard :)
>> But I don't have Textmate item under Bundles menu... [:sad:]
> Well, you never know if people can recognize their keys.
>
> However, you seem to have fltered out or deleted several of the
> standard bundles.
> Reactivate the Source, Text, and TextMate bundles. That should do the trick.
>
--
Kaster Might
Hi there,
I've got problem when I am using the bundle short key.
It is Bundles->HTML->Insert open/close tag(with current word)
the short key is " control+< " which is not working.
Can you give me an idea to make it working please?
Regards
Raymond F.
Developer and Administrator
learning works
93 Collingwood Street
Private Bag 3036, Waikato Mail Centre, Hamilton 3240
Phone: +64-(0)7-929 4071
Email: raymond.feng(a)learningworks.ac.nz<mailto:winnie.arntsen@learningworks.ac.nz>
[cid:image001.jpg@01CBA1ED.B24F65A0]
I've opened default document and then pressed ⌃ ⌥ ⌘ K. Still nothing is
happened.
I don't have nothing like you said. Where should I look for it and where
it needs to be grayed out?
PS: sorry if my questions seem silly, I'm using TM just for a couple of
days.
On Fri, 11 Mar 2011 04:02:21 -0800, Mark Jackson wrote:
>
> On Mar 11, 2011, at 3:32 AM, Kaster Might wrote:
>
>> ⌃ ⌥ ⌘ K - This command did nothing.
>> I'm confused.
>
> Did you have a document open? If not then it won't work. If it's
> grayed out in the TextMate bundle, then you need to open a document,
> and then run it.
--
Kaster Might
I didn't find anything w/ "⌘/" in App shortcuts list.
⌃ ⌥ ⌘ K - This command did nothing.
I'm confused.
On Fri, 11 Mar 2011 03:06:18 -0800, Mark Jackson wrote:
> On Mar 11, 2011, at 2:37 AM, Kaster Might wrote:
>
>> I don't know if any other app of proc takes that shortcut. I don't
>> remember that I changed anything, at least intentionally.
>> Any ideas?
>
> i would look in the prefs pane for Keyboard, check Application
> Shortcuts. See if any other app is using that command. Possibly the
> Help Menu (global) short cut lost the SHIFT, or the Universal
> Access:Turn image smoothing off/on lost it's ALT.
>
> You might try (in TM):
>
> ⌃ ⌥ ⌘ K
>
> It will show all the ENABLED Bundles shortcuts. you can search for the
> slash. Maybe it's been modified by the TEXTMATE, SOURCE (most likely
> culprit), or TEXT.
>
> Hope that helps.
> Mark
--
Kaster Might
Hi all,
My question is how to comment out the whole selected region? In
particular, working with Fortran (if this option is bundle-dependent).
PS: "Command+/" doesn't work.
Thanks.
--
Kaster Might
Hi there,
I've got problem when I am using the bundle short key.
It is Bundles->HTML->Insert open/close tag(with current word)
the short key is " control+< " which is not working.
Can you give me an idea to make it working please?
Regards
Hi all,
I occasionally see this issue on the latest TextMate on Mac OS X 10.6.6:
1. Start TextMate
2. Open Project (the problem does not occur on a single open text file)
3. Open a text file from the project drawer and position the mouse
over the text window (the cursor pointer is activated)
4. Press Command+Shift+W to close the project
5. The mouse pointer remains a cursor and can be quite difficult to
see until I click focus on another app
Can anyone reproduce this?
Thanks!
Hi,
Is it possible to add text before the filename when creating a new file
based on template.
I would like to create a jquery.$TM_NEW_FILE_BASENAME.js
I tried to modify the script below :
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
to something like this
if [[ ! -f "$TM_NEW_FILE_DIRECTORY/jquery.$TM_NEW_FILE_BASENAME.js" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE_DIRECTORY/jquery.
$TM_NEW_FILE_BASENAME.js"
fi
The file is correctly created but not open instantly.
Many thanks for your help.
Regards,
Samuel
I am pretty new in textmate and working with MySQL. Anyone know how I use SQL
query to use a database in MySQL via textmate. I tried USE [database name],
the database browser show 0 affected
--
View this message in context: http://old.nabble.com/SQL-in-textmate-tp31093481p31093481.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi All,
I made some substantial changes to projectplus' git support:
* Works correctly in projects containing multiple git repositories
* Folder icons show modified status if any file inside was modified or deleted
* Folder containing repository root are marked
* Un-versioned Files are hi-lighted
The branch is available at
https://github.com/gknops/projectplus
or
git clone git://github.com/gknops/projectplus.git
Cheers
Gerd
PS: To Allan:
Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet?
I'm considering buying TextMate but ran into
a weird issue with the "watch document" setting for latex. It
seems to use a different engine than when you manually do
typeset and view. My document is rendered all wrong while
manually it does it right. Is there a way to change this?
TextMate does not have an "Entire Word" option in its Find dialog, but of course it has regular expression capability. So--there must be a quickie way of using reg ex to get the effect of Entire Word. Any tips?
Jerry
I've got a new bundle up on github:
https://github.com/jdonaldson/Parsnip.tmbundle
Parsnip is a Textmate bundle for creating snippets. It relies on regular
expression syntax in order to flexibly specify tab stops and default text.
It also has the ability to intelligently space and code, or to easily pass
portions of the document through a script (well I think it's easier than
TextMate's base method anyways).
Instructions are on the readme section of the github repo web page.
-Justin
Hello
What I would like to share with you is sort of project management tool that can be
useful for creation more abstract bundles. Basically I am using it with textmate right now.
The idea is to have universal tool that helps to manage projects, establish dependencies between various projects artifacts.
The tool is written in Ruby and can work under any platform. The information can be found on web site:
http://gravitysoft.org/doku.php?id=home:projects:lithium
I have created special bundle called Lithium that easily allows developers:
-- Run php/java/javascript/ruby/python/html/shell code just by one command run. Bundle script looks as follow:
$ lithium -std TextmateHTMLStd run:$TM_FILEPATH
-- Compile/Validate php/java/xml/ruby/python code by one command:
$ lithium -std TextmateHTMLStd compile:$TM_FILEPATH
-- Compile all found source code for the given project
-- Show (CHM) help for appropriate language (Java/Python/Ruby)
and others
Practically in all cases the output is formatted as HTML (looks identically to terminal lithium output) with links to file where exceptions or errors have
occurred (see attached picture).
It seems to me having common "one shot" solution can simplify bundle developing and make it more simple and usable. Needless
to say lithium is open source project that can be used for free.
Regards
Andrei
How could I hide the vertical and horizontal scroll bars in textmate?
And is there any possible way to let the scroll bar never shows up even though my codes are more than one page?
Tkanks in advence
Hi,
I've create a small interactive python debugger for TextMate that I've
open sourced at https://github.com/boxed/PythonMate
It supports the basics:
- Step/out/continue, etc
- Moves the cursor to the corresponding line in TextMate
- You can set a breakpoint from within TextMate by sending it a simple
AppleScript command (setup is documented in the git repo)
I would have liked a way for bookmarks in TextMate to correspond to
breakpoints or some other visualization of the breakpoints inside
TextMate but I couldn't find any way of doing this. Any tips?
Best Regards,
Anders Hovmöller
I'm not sure how that dialog is called in that situation but I don't think opacity applies there does it? It just inserts a hex value which doesn't support opacity.
------------------------------------------------------------------------------
Craig Edmond
Creative Lead/Senior Web Designer
finalsite | web software and services for schools
email: craig.edmond(a)finalsite.com<mailto:craig.edmond@finalsite.com>
------------------------------------------------------------------------------
finalsite Web Tech Events
coming to your neighborhood
http://www.finalsite.com/webtech
------------------------------------------------------------------------------
finalsite University (6/21-6/23)
web strategies conference in Avon, CT
http://www.finalsiteU.com<http://www.finalsiteU.com/>
------------------------------------------------------------------------------
finalsite University International (4/12-4/13)
international educators’ conference in Istanbul, Turkey
http://www.finalsite.com/fsuinternational
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy/delete all copies of the original message.
Not really has it been brought up before, but whenever I use the Insert Color... command in CSS bundle, the color picker dialog misses the opacity slider. Is there any fix for it?
Cheers
I have a weird problem in which the caret moved in an unexpected way. Let's say I have
test<caret>\n
and type command-], it becomes
<tab>tes<caret>t\n
where "<caret>" indicates the position of the cursor and "<tab>" indicates a tab. Basically the "shift-right" command moved the caret left a position unexpectedly. This problem only shows if there is at least a blank line beneath the "test" line. On the other hand, if I have
<tab>test<caret>\n
then I type command-[, then it becomes
test\n
<caret>
where the caret jumps to the next line (while removing the tab correctly). Although it can be argued that this might be preferable under some situations, I would prefer it to remain in the same line. This happens in all syntaxes that I have tried. I renamed my ~/Library/Application Support/Textmate to something else but this is still happening. I imagine that a simple explanation is that the caret pointer stays at the same character count (within the document), without accounting for the newly inserted/removed tab. This might explain both command-] and command-[, but of course it is only a wild conjecture.
Any suggestions? Thanks!
Do anyone know the way to make title bar show the path of the file, I have lots of files with same names and need to detect which of them I have opened
I receive the following error:
** ERROR **
(erb):8:in `show': undefined method `e_url' for TextMate::HTMLOutput:Module (NoMethodError) from (erb):7:in `each' from (erb):7:in `show' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/htmloutput.rb:89:in `show' from /tmp/temp_textmate.JhN5QG:16
** /ERROR **
when I attempt to Preview the following Textile code:
** CODE **
h1. header
* first item
* second item
* third item
h2. header 2
*strongly emphasized*
h3. header 3
_less emphasized_
h4 header 4
# item one
# item two
# item three
bq. this is a blockquote
More commentary.
* a
* l
* j
** /CODE **
It works fine here: http://textile.thresholdstate.com/
I am not sure what the problem is.
Any ideas.
Sometimes I have styled text on the clipboard that I would like to put into
a Markdown or HTML document. When I paste into any document, it appears as
plain text stripped of any style info.
Is it possible for a Textmate bundle to capture the paste and transform the
styled text to the syntax of the current buffer? E.g. styled text "This is
bold and this has a link" would paste into a Markdown doc as "This is
**bold** and this has a [link](http://example.com)" and into an HTML doc as
"This is <b>bold</b> and this has a <a href='http://example.com/'>link</a>".
If this isn't possible, is anyone else interested in having this feature in
Textmate or developing a system service for it?
Turadg Aleahmad
PhD student <http://www.cs.cmu.edu/~taleahma/>, HCII <http://hcii.cmu.edu>
>When I run that command, I get a new document with the HTML and CSS source.
I haven?t changed anything from the defaults. Open the Bundle Editor, locate
that command, and make sure the output is set to ?Create New Document?. I
suspect it got set to ?Show as HTML? somehow.
Lovely! That was it! It works great now.
Brandon
On Wed, Feb 23, 2011 at 7:51 PM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. How to hide the scrollbar of textmate (Elvis Zhou)
> 2. Re: How to get HTML code of bundle TextMate -> Create HTML
> from Document (Brandon M Fryslie)
> 3. Re: How to get HTML code of bundle TextMate -> Create HTML
> from Document (Rob McBroom)
> 4. Re: c++ library boost (Chris Patti)
> 5. Command-Enter quit working (Pete Lasko)
> 6. Re: Command-Enter quit working (Mark Jackson)
> 7. Re: Command-Enter quit working (Pete Lasko)
> 8. Re: Command-Enter quit working (Will)
> 9. Re: Command-Enter quit working (Mark Jackson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 23 Feb 2011 21:44:04 +0800
> From: Elvis Zhou <cassyfar(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] How to hide the scrollbar of textmate
> Message-ID: <30C9993F-4ADD-4DD3-9500-69AC2F48B95E(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> How could I hide the vertical and horizontal scroll bars in textmate?
> And is there any possible way to let the scroll bar never shows up even
> though my codes are more than one page?
>
> Tkanks in advence
>
> ------------------------------
>
> Message: 2
> Date: Wed, 23 Feb 2011 09:46:25 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: How to get HTML code of bundle TextMate -> Create
> HTML from Document
> Message-ID:
> <AANLkTink0TVuemCTVHZxBqmzcM04ytH2BBL-N9VXdPgK(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > I usually go into the menu at the top; File / "New From Template", choose
> > "HTML" scroll around some more, and choose from there.
> >
> > CSS is began from the same menu; File / Plain Text, then at the bottom of
> > the plain text doc one will see the words plain text and some little
> > triangles for clicking on that reveal a menu to choose, CSS is in there.
> >
> > So it seems a drill down procedure.The Preferences allow for doc of
> choice
> > to appear at start up.
>
>
> That is how to create a new HTML or CSS document.
>
> I want to get the results of the command TextMate -> "Create HTML From
> Document". This command is located in the "TextMate" bundle. This command
> takes the contents of the currently opened file and turns it into HTML,
> preserving the syntax highlighting by embedding CSS code into the document.
> On e-TextEditor for Windows, for example, the same bundle generates a page
> of markup. However on TextMate, it opens directly in a Web Preview window
> from which I am unable to extract the markup.
>
> Is there a) some way to prevent it from opening in web preview? Or b) some
> way to directly get the contents as source of a web preview window?
>
> Thanks
> Brandon
>
You can try the terminal command lsof [FILENAME]. lsof with no options
displays all opened files, lsof -t [FILENAME] displays 'terse' output of the
process ID, suitable for piping to kill.
Brandon
Hi all,
I'm new to writing TextMate bundles so I was wondering if someone
could give me some pointers here.
I'm trying to store information from the output a bundle command
against the current file. The idea is that this could then be
retrieved by another bundle command run latter.
This information doesn't need to be persistently stored, it's only
used during editing so if I can I'd prefer not to litter the file
system with these small files.
Ideally, I'd like to do something like:
$MY_VAR = "some value or other"
Any of how to do this or a flat answer of you can't at the current
time would be gratefully received.
Cheers,
Sean.
>
> I usually go into the menu at the top; File / "New From Template", choose
> "HTML" scroll around some more, and choose from there.
>
> CSS is began from the same menu; File / Plain Text, then at the bottom of
> the plain text doc one will see the words plain text and some little
> triangles for clicking on that reveal a menu to choose, CSS is in there.
>
> So it seems a drill down procedure.The Preferences allow for doc of choice
> to appear at start up.
That is how to create a new HTML or CSS document.
I want to get the results of the command TextMate -> "Create HTML From
Document". This command is located in the "TextMate" bundle. This command
takes the contents of the currently opened file and turns it into HTML,
preserving the syntax highlighting by embedding CSS code into the document.
On e-TextEditor for Windows, for example, the same bundle generates a page
of markup. However on TextMate, it opens directly in a Web Preview window
from which I am unable to extract the markup.
Is there a) some way to prevent it from opening in web preview? Or b) some
way to directly get the contents as source of a web preview window?
Thanks
Brandon
How to I get the keyboard shortcuts to work for Rails? I'm trying to
Insert ERb's like <%= %> and <% %> and the commands should be Ctrl + Z
and Ctrl +X -- it doesn't work. I have the document type set to Ruby
on Rails.
Any ideas on what I'm doing wrong?
Hello,
How can I include boost libraries with Textmate?
Thanks for the answer.
André
// simple_example_1.cpp
#include<iostream>
#include<boost/tokenizer.hpp>
#include<string>
int main(){
using namespace std;
using namespace boost;
string s = "This is, a test";
tokenizer<> tok(s);
for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){
cout << *beg << "\n";
}
}
BUG:
When using the Shell Script plugin's tempfile creation expansion (temp[tab]), a dollar sign gets left out:
temp[tab]
becomes
TMPFILE="(mktemp -t Convert_ClassOO_Metrics_To_Tabular)"
trap "rm -f '$TMPFILE'" 0 # EXIT
trap "rm -f '$TMPFILE'; exit 1" 2 # INT
trap "rm -f '$TMPFILE'; exit 1" 1 15 # HUP TERM
Note the missing dollar sign $ in the first line to make the parentheses executable.
FIX:
I added a backslash in the bundle before the dollar sign that's there and is getting dropped (or rather, interpreted as a variable probably):
${1:TMPFILE}="$(mktemp....
becomes
${1:TMPFILE}="\$(mktemp....
${1:TMPFILE}="\$(mktemp -t ${2:`echo "${TM_FILENAME%.*}" | sed -e 's/[^a-zA-Z]/_/g' -e 's/^$/untitled/'`})"
${3:${4/(.+)/trap "/}${4:rm -f '\$${1/.*\s//}'}${4/(.+)/" 0 # EXIT
/}${5/(.+)/trap "/}${5:rm -f '\$${1/.*\s//}'; exit 1}${5/(.+)/" 2 # INT
/}${6/(.+)/trap "/}${6:rm -f '\$${1/.*\s//}'; exit 1}${6/(.+)/" 1 15 # HUP TERM
/}}
Not sure how to work that change into the codebase.
-Rob
Hello,
TextMate is opened with my session when I start my Mac. I would like that
TextMate always automatically opens the same project when it starts. Is that
possible?
Thanks!
Florent
When I use this bundle, it pops up a window with the HTML code rendered, but
I cannot for the life of me figure out how to get the HTML so I can use it.
Can someone help me?
Somewhat related, is there a way I can apply my own custom CSS to the web
preview window?
Thanks
Brandon
Hi,
I've created a new language grammar -- with quite a bit of luck. Line
comments start with a $ sign in this language, and there are no block
comments. I've managed to get the regexp right for syntax highlighting of
the comments, however when I C+/ to toggle a line as comment, it still uses
C-style comments.
How do I convince textmate to use the correct line comment character?
Thanks in advance,
Ozgur
Hi everyone,
I'm trying to create simplest applescript with dialogbox but textmate
shows the error message
Execution Error: No user interaction allowed.
although everything is ok when launching by applescript editor.
How to fix it?
Thanks.
--
Kaster Might
I am using the ${1/foo/bar} syntax to make a snippet. More specifically I
am mirroring/transforming a previous placeholder to replace all spaces with
underscores like this: ${1/ /_/}.
However, is this only replaces the first occurrence. Could anyone enlighten
me to the correct way to do this? Also, is there some documentation to the
'options' parameter in the regex replacement syntax? I couldn't seem to
find any under regex or snippets on the TextMate site.
Thanks
Brandon
I have a question about syntax coloring with list in the MultiMarkdown
bundle. It would be easier to illustrate with an example...
list 1
* item 1a
* item 2a
list 2
* item 2a
* item 2b
Here items in list 1 would get colored correctly but not items in list
2. Any suggestions? Thanks!
ysw
Hi
Looking for some help. I am writing a bundle, and having a hard time with
$DIALOG nib.
Hoping to find some advice how to deal with it. I've outlined my problem
here
http://pastie.org/1560343
with some code example showing what I am going for.
Please let me know what other info I should provide,
Thanks
m
Hi,
I am new to Textmate and am thinking about migrating to Textmate from
Texshop to handle my LaTeX, Sweave, and R needs. One thing that I have
noticed is that if I run Command+R on a LaTeX file and have it set to
use Textmate to view my PDFs it will always say "Stop task before
closing? The job that the task is performing will not be completed." and
a spinning cursor like thing in the upper right corner. However, it
appears that it has finished the task and the PDF looks fine.
Why is this doing this and how can I prevent this message from coming up
again?
Also, it appears that Textmate is using Acrobat embedded in Textmate as
the PDF viewer? Is this true?
Thanks!
Chris
no answers to this??
> hi there - I'm taking a Ruby class and have been using TM to code in and I'm having an issue with TM prompting me every 5-10min or so that there's 'another application' modifying my Ruby file and asking me if I want to revert or keep.
>
> I've had this happen before when I've been simultaneously editing a file with both Coda or DW and TM, but in this case the file isn't open in any other app - except Ruby I suppose...
>
> anyway - it's annoying and I'm wondering if it's some kind of auto-save built into Ruby and whether I can switch if off or whatever.
>
> thanks,
> b
>
> PS - love using TM for Ruby (as with everything else) - but just curious, the default Language for a .rb file seems to be Ruby on Rails rather than just plain Ruby - any reason for that? doesn't seem to matter much since the scope selector works just fine - I'm just curious.
Hello all,
I just threw together a new language for the LaTeX bundle: LaTeX Documented Source (.dtx). It isn't terribly complicated, but some trickery is required to use the existing LaTeX language for both the implementation and the documentation (lines that start with a single %).
It still has a few issues. Most notably, many .dtx files do funny things with the catcode of $, and as such, TextMate will furiously try to match all $s, even when there isn't a matching pair. Since some .dtx files can exceed 30k lines, this can lock up the parser for quite some time. Also, it only sets the scope 'text.tex.latex.dtx' for the entire file and 'text.tex.latex.dtx.implementation' for the implementation code. It may be useful to flag the inverse of the implementation as 'text.tex.latex.dtx.documentation,' but unfortunately that is beyond my language grammar abilities.
I forked directly from the official latex.tmbundle on GitHub, but it could easily be integrated into the other branches.
https://github.com/mbauman/latex.tmbundle/commit/721a7dc6bdd7df4eedcec33e41…
I don't know how many people work with .dtx files, but I figured this may be generally useful to some.
Best regards,
Matt Bauman
hi there - I'm taking a Ruby class and have been using TM to code in and I'm having an issue with TM prompting me every 5-10min or so that there's 'another application' modifying my Ruby file and asking me if I want to revert or keep.
I've had this happen before when I've been simultaneously editing a file with both Coda or DW and TM, but in this case the file isn't open in any other app - except Ruby I suppose...
anyway - it's annoying and I'm wondering if it's some kind of auto-save built into Ruby and whether I can switch if off or whatever.
thanks,
b
PS - love using TM for Ruby (as with everything else) - but just curious, the default Language for a .rb file seems to be Ruby on Rails rather than just plain Ruby - any reason for that? doesn't seem to matter much since the scope selector works just fine - I'm just curious.
I use find in project frequently but I cant find how to set the text in the
search dialog without either typing it or copy and pasting.
In Eclipse for example if you select a word in the editor and then initiate
a find, the selected word will automatically be in the search dialog.
Im sure you must be able to do something like this but I cant figure out
how.
Thanks
Giorgio
--
View this message in context: http://old.nabble.com/find-in-project-help-tp30859083p30859083.html
Sent from the textmate users mailing list archive at Nabble.com.
Hey all;
I get this error message in xcode debug panel when I build and run just a sample xcode project:
2011-02-01 17:03:30.237 TextApp[14096:a0f] NSKeyBindingManager: Bad key binding atom for '^⌘E' = 'editInTextMate:'
Any ideas?
Adam Merrifield
seyDoggy Systems
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
Hi,
I have a basic command that when files of certain types are dragged to the editor window, the path is shown as a snippet in the form of file:///path/to/file.
I want to make the above snippet to be a "live" hyper link, e.g. by clicking it the file is opened by the corresponding application. Is it possible?
Thank you in advance.
Kostas
Hello,
I have been annoyed by the pod2html command in the Perl bundle. It leaves
unwanted files pod2htmd.tmp pod2htmi.tmp in the file directories.
Fixed it this way:
pod2html 2>/dev/null
rm pod2htmd.tmp pod2htmi.tmp
Could be useful for others (if you see bnasty side effect, please let me know).
--j
Been seeing this problem since the beginning and it's more an annoyance than anything bad but figured I might as well put it out there.
I often have two or more projects opened at the same time with the same folders in each project. This is mainly because I often need to work on multiple issues from the same project simultaneously.
When I check a file for syntax using Ctrl-Shift-V in language bundle HTML with embedded PHP, if an error is found oftentimes the checked file will open in one of the underlying projects (where the file wasn't opened before), the project is brought into focus and the syntax error is displayed in that project.
Since I need to keep track of which files belong to which issue, I would then have to close the file that was just opened in the wrong project.
Any solutions?
Cheers,
Ed Wong
Hello. I would like the cursor to follow me when I hit page up and down. I
don't want to remember to hit the ctrl key. I have followed these
instructions:
http://blog.macromates.com/2005/key-bindings-for-switchers/
But they don't seem to work for Textmate. Other apps (XCode, Textedit ...)
behave as expected with the Keybinding set (the cursor nicely follows as the
page scrolls), but with Textmate the cursor jumps around unpredictably,
sometimes in the wrong direction. Anybody know whats up?
My bindings:
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Left */
"@\UF702" = "moveToBeginningOfLine:";
"$@\UF702" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Right */
"@\UF703" = "moveToEndOfLine:";
"$@\UF703" = "moveToEndOfLineAndModifySelection:";
/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* page up/down */
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}
Hi All,
When I use (for example) TextMate to run an Xcode build, the HTML output window always shows the messages as they are added, eg it keeps scrolling down. I can scroll up and look at previous output, then back down and it resumes that behavior.
I am now tracking log output from another program within a TextMate HTML window, but in that case it fails to scroll. What is the trick to achieve that?
Thanks
Gerd
Hi,
I am trying to disable the annoying spinner in some HTML output. However "TextMate.isBusy=false" in some javascript appears to have no effect. "TextMate.system()" works fine, so the TextMate object is available.
Any ideas?
Thanks
Gerd
Hi all-
Stumped over the following regex for a block comment:
> begin = '(?<=0 : 0$)';
This actually works, but I need to generalize it to one or more whitespace characters between the "0" and ":", and then between the colon and final zero.
Tried things like:
> begin = '(?<=0\s+:\s+0$)';
but Oniguruma gets really irked at me.
Grateful for any thoughts or pointers...
Thanks, Charles
For the past few days TextMate has had this odd behavior where it plays the "Funk" sound every time TextMate loses focus. It's not just on a particular project, file, window… it's everything, the app as a whole. I tried looking in console but nothing popped up.
I haven't added any new bundles, plugins, snippets, etc… for a while and I haven't messed about in preferences for eons. Everything wrt TextMate ought to be status quo from a few days ago so I question whether it has anything to do with TextMate at all.
Is this familiar to anyone?
TextMate Version 1.5.10 (1623)
Mac OS X 10.6.6
Mac Pro 2 x 2 GHz Dual-Core Intel Xeon
Ram: 8 GB 667 MHz DDR2 FB-DIMM
Adam Merrifield
seyDoggy Systems
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
bugs(a)macromates.com returned a permanent failure. So I will report the weird behaviour I notived.
I have a long source file (300-400 lines). I put my caret at line 200 and scrolled (with a mouse) down to the bottom. I then pressed right-arrow to go to the symbol to the right of my caret expecting the window to scroll to show where my caret is. The window does scroll, but it scrolls to the top of the document instead of to the exact position of my caret. I will attach a movie:
http://dl.dropbox.com/u/323865/Textmate%20scroll%20bug.mov
As the window start scrolling automatically, it's because I push right-arrow, the next time I push right-arrow again and finally the window actually shows what I am editing.
Rasmus Abrahamsen
Hello,
First question : I use with some latex document, the command "Create Html from Document"
of the Bundle TexMate. I would like to extract only the code between <pre> and </pre>, directly
How I can to do that ?
Second question : When I fold the code between <pre> and </pre>, the result
is ten lines of code, how to have only the first line?
Best regards
Alain
Hello,
I'm looking for a trick that would help me replace tabs by spaces in
selected area. I have source code that looks approximately like this:
<tab><tab>short<tab><tab><tab><tab>a;
<tab><tab>unsigned long<tab>b;
<tab><tab>int<tab><tab><tab><tab><tab>c;
which is only aligned when some specific size of tab is chosen. I
would like to keep the first two tabs (to preserve nice alignment),
but replace the tabs between "short" and "a", so that the text would
be aligned under any tabulator width setting.
I cannot use just "Search & Replace" because the first tab has
variable width (depending on its starting position).
If there is no out-of-the-box solution, I know some ruby, so I could
write a program that would perform the task for me, but I'm not sure
how to pass the following information from TextMate to my script:
- at which column does my selection start (I would like to "alt"-select a "box")
- how wide is the current tab
But I hope that there exists an easier solution.
Thank you very much for any hint ...
Mojca
RE: replacing tabs with spaces in selected area
You can use regular expressions in search and replace to do what you want,
but there is also a built in command. Click 'Text' on the menu bar, then
under 'Convert' click Tabs to Spaces. It will only convert the tabs in the
current selection. Hold the option key while selecting to select a box
rather than the entire lines.
RE: How to change <form> tag coloring?
This is actually very easy (in theory), I'm surprised more people don't know
how TextMate works. I'll tell you the steps to add a scope
called meta.tag.block.form.html to your html language bundle which can be
styled individually. Note: this only adds a scope to the tag itself. The
'block' part of the language file must be modified in a similar way to style
the block.
Open the bundle editor, go to the html bundle, then go to the HTML language
file. Find the block within the patterns section that starts { name =
'meta.tag.block.any.html';. Select that entire block (from { to }, ) and
duplicate it. Of those two identical blocks, you will be editing the one
that appears closer to the top of the file. Change meta.tag.block.any.html
to meta.tag.block.form.html. Now change the line that starts 'begin' = ...
to begin = '(</?)((?i:form)\b)';
Done! Open an html file and press shift+control+p in some different tags
and you should see the change in scope from any.html to form.html. I added
a style to my theme for meta.tag.block.form.html and it only styles the form
tags. You will have to play with it to get it exactly how you want, but I
hope this gives you enough info to get started.
<3 TextMate
Brandon
I've searched the forums and read as much of the documentation as I could,
and I cannot find a straight-forward answer to my question. I'm trying to
color specific tags and elements associated with those tags.
Using <form></form> tags as an example: I'd like to color these tags and all
the elements within them a bright yellow.
Any help would be greatly appreciated.
--
View this message in context: http://old.nabble.com/How-to-change-%3Cform%3E-tag-coloring--tp30747855p307…
Sent from the textmate users mailing list archive at Nabble.com.
Hi folks,
I've got a latex article, me.tex, that includes a graphic mefig.eps.
If I compile via the command line:
pdflatex mefig.eps
the compilation process uses Ghostscript to create an intermediary
file mefig-eps-converted-to.pdf and generates me.pdf with no errors.
When I compile from TextMate (whether I use pdflatex or latexmk.pl
doesn't matter), I get an error:
------------
!!! Error: Cannot open Ghostscript for piped input
Latex Error: ./epstest.tex:14 Package pdftex.def Error: File
`breakevenb1-eps-converted-to.pdf' not found.
---------------
I am using the latest version of TextMate (with the default Latex
bundle) and TexLive 2010 (I actually uninstalled my TextMate and
re-installed from scratch to make sure it wasn't a config quirk on my
end). Any ideas here? Shouldn't TextMate simply be issuing the
command "pdflatex my.tex", which work from Terminal?
Thanks,
Jim
I have always been able to drag and drop a QuickTime movie into an
HTML page and the requisite object/embed/ActiveX tag structure is
automagically built. Now, on my new MacBook Pro Snow Leopard, in a
user account I built using the Apple Migration Assistant from a
Leopard MacBook Pro, this no longer works. I get a cryptic error
pasted into the current document instead of my code.
How is this supposed to work, so I can understand where to start
poking around? Does it rely on QuickTime 7 Pro being installed?
Thanks in advance,
Walter
@Alexey That is really awesome! I will definitely check it out and play
around with it.
Here is what I use in Visor to achieve a similar functionality. Depending
on your usage, it may be better to use DTerm but I figured these might help
someone out since they work for regular Terminal as well.
I map these to various keyboard shortcuts such as Command+Shift+C or
Control+Shift+C with Quicksilver.
Applescript to copy the containing folder of the current finder selection to
the clipboard:
*tell* *application* "Finder"
*if* selection *is* *not* {} *then* *set the clipboard to* POSIX path *of* (
*container* *of* (*first* *item* *of* (selection *as* *list*) *as* *alias*)
*as* *alias*)
*end* *tell*
*
*
Path of the Selection to the clipboard:
*tell* *application* "Finder"
*if* selection *is* *not* {} *then* *set the clipboard to* POSIX path *of* (
*first* *item* *of* (selection *as* *list*) *as* *alias*)
*end* *tell*
*
*
Tell Terminal to go to the current finder directory (
*tell* *application* "Finder"
*if* selection *is* *not* {} *then*
*set* path_ *to* POSIX path *of* (*container* *of* (*first* *item* *of* (
selection *as* *list*) *as* *alias*) *as* *alias*)
*tell* *application* "Visor"
*do script* with command "cd \"" & path_ & "\"" in *window* 1
*activate*
*end* *tell*
*end* *if*
*end* *tell*
*
*
I believe these can be modified relatively easily to use the current file in
any application if you need to do that a lot. I am definitely going to
check out DTerm and see how it integrates into my normal terminal workflow.
Thanks for the info!!
Brandon
pgEdit supports PostgreSQL specific syntax coloring (e.g. dollar quoting), SQL execution, context specific help, completion, and recognition of SQL language constructs (tables, functions, triggers, etc.). pgEdit uses psql for executing SQL and takes advantage of many psql features. See the "pgEdit Help" command for more details.
If you are interested in PostgreSQL, please give it a try and send me your feedback.
http://pgedit.com/public/beta/pgEdit_TextMate_2.0b1.zip
John DeSoi, Ph.D.
I use the program Visor to give me access to a terminal from any program. I
press 'Control' twice and it slides down from the top. It is about as fast
quicksilver to run a command from any window.
Here is the main site:
http://visor.binaryage.com/
Here are some instructions for improving it:
http://tech.xster.net/tips/the-perfect-visor-reborn/
However, I personally do not like making it an LSUIElement because long
story short I can't figure out how to change the transparency with a
keyboard shortcut. Instead, I use DragThing and exclude Visor from the dock
and application switcher.
I can't recommend this program enough. I can't live without it since I use
the terminal constantly and this gives me the ability to use bash aliases
and scripts as fast as I can access a quicksilver catalog item.
Also, DragThing. Stupid name, but it replaces your boring normal dock with
as many themed and tabbed docks as you have crap to shove on them. It is
also a more versatile and better application switcher than either Witch or
LiteSwitchX.
Brandon
My escape key seems to have quit working in TextMate, but only TextMate (out
of the programs I've test it with).
Here are the essential facts of the situation:
My escape key does not work for completions, and in addition it does not
work for exiting dialog boxes. When I press Control+Command+T (Select
Bundle Item) and change the setting to find by key equivalent, the key
entity DOES show up in the window. There are no bundles mapped to escape
alone, but Option+Escape for HTML completion also doesn't work, and appears
when I enter Option+Escape in the Select Bundle Item window.
The escape key DOES work in every other program, included for completions in
CSS Edit, and dialogs in Forklift, CSS Edit, Chrome, Firefox, System
Preferences, Terminal, and various other things I had open. Escape works
properly in Terminal to display a list of completions.
Escape also works in the programs Key Codes, Full Key Codes, and KeyDump*,
each of which print information about key presses.
*http://pqrs.org/macosx/keyremap4macbook/
I use KeyRemap4Macbook, but have not done anything with escape. The key
worked for a long time with KeyRemap installed, and uninstalling it doesn't
seem to affect the issue.
So in short, it's only TextMate having an issue, and it does seem to be
receiving the keypress (in the Select Bundle Window). It doesn't seem like
it is being intercepted upstream, and I never map anything to escape in any
other programs.
I'm stumped. Anyone else have an idea? Or an idea of why it would affect
TextMate only?
The thing I hate the most about the otherwise great app is
the possibility to run terminal (rails) commands from within Textmate.
Is that at all possible? It would save me loads of confusion switching
between windows.
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hi,
I am using textmate on Mac OS X (version 10.6.6).
How can I configurate textmate so that keyboard input possible is.
Thanks for the reaction,
André (newbie to textmate)
Hi all - I'm a textmate newbie and finding that I can't change font size
using cmd + / cdm -.
I've attached an image of the error message that I get when I try to enlarge
text. Am I missing a TM dependency, perhaps xcode?
Best -- M
> You didn't mention what sort of stuff you would be writing. But for simple note taking I like PlainText:
>
> http://www.hogbaysoftware.com/products/plaintext
>
> It syncs with Dropbox and creates plain text files that can be edited in TextMate.
Mainly note taking, although the files have gotten rather large .. need to toss the cruft!
The high order bit is that the editor work well with textmate. I think that means utf8 & LF and no hidden metadata. So I'll give PlainText a shot.
While looking at the iPad text editors, I saw Markdown mentioned. I hadn't really considered it before, but it looks like a nice way to structure text files with the least intrusion possible. I may give it a shot, and I noticed TextMate has a plugin.
-- Owen
I'm using the latest (minor) update - ver. 1.5.10 (1623) and I'm unable to view and edit a makefile unless I open it independently of my project/folder files. I'm not certain when this ability was broken as I haven't been coding too recently... I'm currently just moving between .c/.h files and a makefile at the moment.
Greetings
I have installed the two R bundles (Rapp and Rconsole) but I cannot
get the syntax highlighting to work. I made sure that the filetypes
field in the language grammar has 'R' and 'r' in addition to the
'Rcon' it already had. Still, highlighting does not work.
Can anyone offer any suggestions?
Thanks
Mike
I seem to have lost the super-useful select line shortcut (shift-cmd-L). I notice that the shortcut does not appear alongside the menu item for select line either. Any idea why this has happened, and more importantly, how to restore it?
Thanks,
cf
Hi,
I've installed Racket from the official page and I have the racket bundle.
After some mucking about with the path and setting TM_SCHEME_INTERPRETER the
run command stopped erroring in executor and *seems* to run.
However, its output is set to show as tooltip and prints out a bunch of
html, so I changed that to show as html to get the usual output window.
Unfortunately there's no output.
I ran racket < file.scm in terminal and that produced the correct output on
stdout, which as far as I know is what it should do for executor to work
with it.
Anyone know how to get this working?
Thanks
Quine
I generally do not use the .txt extension .. presuming it to be text. This is likely a Bad Habit due to README's, shell scripts, and notes etc but seems relatively harmless.
But recently I've started using things like Dropbox and other internet facilities that really get upset about this. (BTW: I'd love a good iPad text editor .. any good ideas?) So it seems I'll have to start adding the .txt extension, sigh.
One annoyance in textmate is that this makes the tabs larger and hang off the end.
So I guess there really are two questions:
- Specifically: Is there a way to have textmate not show the extensions?
- Generally: Am I right that I'm doomed to .txt usage?
-- Owen
I am pretty sure I just pinned this down to TM. If I work in TM,
save, then command-tab to a browser, there is significant lag from the
time it will switch to the browser, or, at times, even bring up the
application tab switcher.
If I do not save, the toggle is fast, so it seems to be something to
do with leaving TM, where it is not letting me leave as fast as other
apps do.
I have tried toggling back and forth between other apps, and the
behavior is speedy. Any idea what is going on, and how to solve it?
These are simple files, single files, that have a hundred lines or so
in them, nothing complicated at all.
--
Scott * If you contact me off list replace talklists@ with scott@ *
I updated OSX to 10.6.6 and now textmate won't start at all. I start it from
the dock, it just bounces and stops. Starting from command line, like 'mate
.' it just sits there and does nothing, no error output, nothing. Nothing in
the Console app either.
It was all working fine before I did the osx 10.6.6 update last weekend.
Have anyone else had this problem, and what did you do to fix it?
cheers,
e
I'm looking at the many iPad text editors and wonder which would work best with textmate. I would prefer also to use Dropbox, so compatibility with DB would be a plus. I currently use Textmate + Dropbox across a mini and a MBP and the sync feature is really nice.
Problems with iPad that I've seen discussed is that they may force CR/LF, or do not handle UTF-8 correctly (scrambling characters), or match Windows users better than Mac.
So I thought I'd see if any of of us textmate folk have found a good match.
-- Owen
Hi,
I'm trying to get TM to work with the viewsourcewith addon for Firefox
(found here https://addons.mozilla.org/en-US/firefox/addon/394/ ) . I
have mate installed at /usr/local/bin/mate . I'd like to be able to
jump from the Firefox error console to the correct line in my open TM
document.
The viewsourcewith addon asks for the path and parameter. I've given
my path as /usr/local/bin/mate and the parameter as $f . This indeed
opens TM, but it does not take me to the line referenced in the error
console. Suggestions would be appreciated. Thanx.
Hi,
I am trying to change the "Make" Bundle's "Run" command. I create projects
in folders and I want to execute an executable (in my case, I am writing
apps with the extension .prg for a Commodore 64 to be run inside an
emulator).
Currently, I am using a line like this:
open "$TM_PROJECT_DIRECTORY/myapp.prg"
The problem is I don't want the apps to all be called myapp.prg. What I
would like is something more like:
open "$TM_PROJECT_DIRECTORY".sub( /(.*)?\/(.*)$/, "\1/\2\2.prg" )
(I don't actually know Ruby but I used an online ruby regex explorer).
Translated, this means that I want to use the last component of
TM_PROJECT_DIRECTORY as the filename, appended to the directory and then
append .prg to the end of that.
I tried the code below:
-----------
#!/usr/bin/env ruby
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
TM_RUN = "open "+ENV['TM_PROJECT_DIRECTORY'].gsub( /(.*)?\/(.*)$/,
"\1/\2/\2.prg" )
flags = ""
Dir.chdir(File.dirname(ENV["TM_PROJECT_DIRECTORY"]))
TextMate::Executor.run(TM_RUN, flags, :verb => "Running") do |line, type|
end
-----------
This didn't work. 2 Things are wrong. 1) the regex replace didn't work - I
am guessing that the return from ENV[] isn't something you can call .sub on?
-- and 2) the Executor.run says it wants the path added to the path variable
(I know that by feeding it a hard-coded line to an existing .prg file).
Can someone maybe help me figure out how to make this go?
Thank you
Stefan
--
View this message in context: http://old.nabble.com/Executing-a-file-based-on-manipulating-TM_PROJECT_DIR…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
Having trouble running the "new" TextMate bundle with a LaTeX file that worked via the old (or current, stable) bundle and (now) works on the command line. Here's a bit of the log:
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.7) 6 AUG 2010 11:43
> entering extended mode
> file:line:error style messages enabled.
> **"/Users/cturner/Documents/BIZ/Personal/Resume, etc./Resume-2009/resume20090628.tex"
> (/Users/cturner/Documents/BIZ/Personal/Resume, etc./Resume-2009/resume20090628.tex
> LaTeX2e <2009/09/24>
>
> [clip...]
>
> Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
> )
> /usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.sty:18:
> ********************************************
> * XeTeX is required to compile this document.
> * Sorry!
> ********************************************.
> \RequireXeTeX ...********************************}
My document uses XeLaTex and has this as its first line:
> %!TEX TS-program = xelatex
So I imagine my problem is that XeLaTeX isn't getting run.
My default engine in Preferences is "xelatex" so, being a noobie, I'm not sure what else to do to tell the bundle my desires.
Any help greatly appreciated!
Best wishes,
Charles
I have the following snippet where the tab $1 is intended to match the
whole string (to be used in LaTeX)
${1:\NMsubject{\textbf{${2:Subject}}}}
However the tab $1 does not match the last two braces - I suspect this
is an issue with the LaTeX and TextMate use of braces.
The snippet below works as expected (but would be no use in LaTeX
${3:someText|someMoreText|${4:Subject}||}
Is there some way to get $1 above to match to the last brace ?
Phil
I'm a new user and I don't have a Unix background, so I am struggling with
Section 21.1. in the manual.
I am attempting to use TextMate as an external editor.
1. It works fine with my various Cocoa apps, with the shortcut showing up in
the Edit menu. No problems here.
2. I need to use TextMate with Tinderbox (a non Cocoa app). Users on the
Tinderbox forum have various ways of doing this, either using the "mate"
command in Terminal, or using a variety of ways of calling this command.
However, my problem is that I cannot get commands via terminal to import
text, or save it back. "mate -h" does bring up a menu of commands, so that
much is working. Quite likely, this is owing to my lack of experience with
the command line.
I have read and re-read section 21.1. but it assumes a familiarity with Unix
and CL operation which is new ground to me.
I would really appreciate a *simple*, assuming-nothing, explanation of what
I need to do to copy contents of a window from my non-Cocoa app (Tinderbox)
into TextMate, and then back again -- presumably using some variant of the
"mate" command via Terminal.
--
View this message in context: http://old.nabble.com/Difficulty-using-TextMate-as-external-editor-tp305546…
Sent from the textmate users mailing list archive at Nabble.com.
I am using TextMate 1623.
I have just gone back to learning PERL and I am now unable to ask for info (<STDIN>). I have scripts that worked previously, and now fail. All of the scripts work on the command line.
Any ideas?
T. Zakharko wrote:
>
> Dear all,
>
> I post this here because I am unsure of who is the current maintainer of
> the Sweave bundle. The help files list Alan Schussman as author, but as
> the bundle has last been updated in 2006 I have no idea if he is still
> responsible for it.
>
> To make the story short: it is sometimes desirable to run Sweave with a
> custom driver. I need it for literate programming documentation style
> where I want Sweave to skip the code parsing to allow for chunks
> containing incomplete R expressions (and I also developed a very simple
> driver that does just that). A probably more common usage would be
> invoking the pgfSweave driver instead of the vanilla one.
>
> An option like
>
> %!TEX SWeave= my_driver
>
> would be very nice. I can hack something like this together on my own, but
> this is a feature which should probably be added to the official
> distribution.
>
> Thank you,
>
> -- Taras
>
P.S. I have patched the Sweave bundle's 'Sweave,Typeset and View' command
with following:
# get the Sweave driver option
DRIVER=`grep -e '^%!TEX Sweave' "$TM_FILEPATH" | sed 's/.*=//g'`
SW=${TM_SWEAVE_WD:=${TM_DIRECTORY}}
if [ -n "$DRIVER" ]; then
echo -e "setwd('$SW')\nSweave('$TM_FILEPATH', driver=$DRIVER)" | R
--no-restore --no-save --quiet | pre
else
echo -e "setwd('$SW')\nSweave('$TM_FILEPATH')" | R --no-restore --no-save
--quiet | pre
fi
This replaces the previous R invocation and works reasonably well. Usage is:
%!TEX Sweave= my_driver
Maybe someone could patch it to the official repo...
--
View this message in context: http://old.nabble.com/Sweave-bundle-feature-request-tp30588762p30594043.html
Sent from the textmate users mailing list archive at Nabble.com.
I have noticed that especially after upgrading to 10.6, TextMate has become more and more crash prone -- especially after switching from another app back to TextMate. I use it mainly in larger LaTeX projects in conjunction with git and nowadays it would crash, two, three times a week. I often switch back and forth between Skim or Preview and Textmate. Hence, I mostly don't lose any data, because I've saved the file before switching apps, but nevertheless, it's quite disconcerting.
Back in the (good old ;-) 10.4 days, TextMate was absolutely rock solid and it was exceedingly rare for TextMate to crash. Are those known issues? Will there be more fixes down the road for 1.5 addresses stability problems? What are the root causes?
Hi,
I try to run a feature with cmd+R and it gives me the following message:
:29:in `require': no such file to load -- spec (LoadError) from :29:in
`require' from /Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:23:in
`' from :29:in `require' from :29:in `require' from
/Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate/feature_helper.rb:1:in
`' from :29:in `require' from :29:in `require' from
/tmp/cucumber-19009.rb:2:in `'
The RSpec specs work fine it's just my features that don't run. I hate
having to switch to console to do this. Any suggestions?
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hi there,
I have Python related issue within TextMate. I am trying to start Python
script directly from TextMate, but it fails.
Here comes the output from Terminal:
michalo:/Users/michalo/test> python simple.py
One
Two
michalo:/Users/michalo/test> cat simple.py
#!/usr/bin/python
import xml.etree.ElementTree as ET
def main():
element = ET.XML("<root><child>One</child><child>Two</child></root>")
for subelement in element:
print subelement.text
if __name__ == "__main__":
# Someone is launching this directly
main()
michalo:/Users/michalo/test> python simple.py
One
Two
michalo:/Users/michalo/test> python --version
Python 2.6.1
However, if I use Python bundle to start this script directly from the
TextMate (Bundles -> Python -> Run script) I get following error:
ImportError: 'No module named etree.ElementTree'
module body in xml.py at line 3
import xml.etree.ElementTree as ET
copy output
Program exited with code #1 after 0.19 seconds.
If I start it from TextMate Bundles -> Python -> Run script (Terminal)), I
am getting following error:
Traceback (most recent call last):
File "/Users/michalo/Documents/work_files/public/notes/python/xml.py",
line 3, in <module>
import xml.etree.ElementTree as ET
File "/Users/michalo/Documents/work_files/public/notes/python/xml.py",
line 3, in <module>
import xml.etree.ElementTree as ET
ImportError: No module named etree.ElementTree
michalo:/Users/michalo/Documents/work_files/public/notes/python>
Do you know what can be the source of the issue?
That's what I get from the Terminal windows (when I try to get Python
version):
michalo:/Users/michalo/test> which python
/usr/bin/python
michalo:/Users/michalo/test> python --version
Python 2.6.1
michalo:/Users/michalo/test>
And you can find attached screen shoot from text mate. I have created simple
text file:
which python
python --version
And executed it with: Bundles -> Shell Scripts -> Run script
Does anyone have an idea what's wrong here?
Cheers
Michal
A recent attempt to update bundles returned
"sh: git: command not found"
But in terminal, I see
bash-$ git --version
git version 1.7.3.1
which is something new. What's happening?
I'm running TM Version 1.5.10 (1623)
Model Identifier: MacBook5,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
with OS X 10.6.5
Something odd has happened to Find in the latest build. When I selected a word and hit Cmd-E (Use Selection for Find) it appends a carriage return to the word. I can see this when I open the Find dialog.
Any idea what is happening?
Ed
Greetings,
I recently set up a new system with RVM and ruby 1.9.2 (default) as well as
1.8.7 and Rubinius. The system ruby is currently 1.8.7.
I followed the instructions here:
http://rvm.beginrescueend.com/integration/textmate/ to set up RVM and
textmate to work and play nice together. These steps work and don't.
When I use the run command textmate execute the file using the correct ruby,
for example the "puts RUBY_DESCRIPTION" returns the expected ruby 1.9.2.
However, when I "Execute line/ selection as ruby" I still get ruby 1.8.7
(the system ruby).
Looking at the bundles the "Execute line/ selection as ruby" command starts
with "#!/usr/bin/env ruby"
How should I modify the bundles such that it run the selection or line via
the TM_RUBY environment variable rather than the system ruby?
Thanks!
Shane
http://scr.im/shaneknysh
Hey Everyone,
How can I ignore .dSYM folders? I've been fiddling with this for like an
hour now and can't get the regular expression right in preferences. It's
probably the most obvious thing in the world but it's eluding me.
This is my current folder ignore pattern
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
I've tried adding |\.dSYM like this:
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle)|\.dSYM)$
And a couple other variations, but with no luck
Thanks for any help!
I'm having similar issues with GetBundles, not git related (or so it appears).
Minimalistic log message:
01/02/2011 13:56:32 TextMate[GetBundles]
Installing “Haskell”
01/02/2011 13:56:32 TextMate[GetBundles]
Could not install “Haskell” by using “https://github.com/textmate/haskell.tmbundle/tarball/master”
01/02/2011 13:56:57 TextMate[GetBundles]
Installing “Closure Compiler”
01/02/2011 13:56:57 TextMate[GetBundles]
Could not install “Closure Compiler” by using “https://github.com/macek/closure-compiler-tmbundle/tarball/master”
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn(a)gmail.com
http://joshuakehn.com
Hello
i would like to know if it's possible to install the latest version of ruby and python
and to avoid problem with textmate?
What is the better method to do this ?
Best regards
Alain Matthes
This is my first post to this list so I just want to say thank you Allan,
for your fantastic ideas, for that is what truly makes TextMate not only the
greatest, but orders of magnitude greater than the closest contender. I'm
positive the code is delightful as well, but it was your fantastic vision
that saw what could be achieved if you made it easy and accessible to not
just write a script, not only write a script that can manipulate one's text
to finest granularity, you didn't only give us the tools to define and parse
our languages as we see fit, but you fought to package all of it up and
spread it around in a transparent, open source, community driven way, so we
can each build off each other and do more than any of us could have alone.
Not only that, but you honestly make sitting around configuring shortcuts
something I look forward to. Currently I'm plugging an RTF -> HTML
converter into a shell script that will render to web preview so I won't
have to leave TM for anything but AppleScripts. No other program is nearly
flexible enough that I would even know where to begin. And for that, Kudos.
OK, onto the second part. I'm guessing usually people ask questions, and I
actually do have one I'll ask at the end. But here is the answer to
something I looked for, for quite a few hours and could find almost nothing.
Definitely not anything close to the solution (people were brute forcing it
with bash scripts, barf). I'm sure it's common knowledge for you haxxors
out there at this point, but the reason I'm posting this is so hopefully it
will get put up somewhere or indexed and save some people some time.
So at first, I wanted all plain-text file with any extension to open with
TextMate. No problem. Then I wanted all files with NO extension to open in
TextMate. That took a few minutes but I was about to find some instructions
that sorta worked and get it fixed from there. However I also want all
files without an extension to open in Ciaran's TM in QL plugin. It's super
easy, and now I'm like "Duh!" Here are the steps:
0. Get plugin and install it if you haven't already*. Or use a different
generator. Other generators will work, but they aren't nearly as cool.
1. [Optional] If you have a file you specifically want to know is gonna
open, go to terminal and type mdls <path/filename>. Read the value for this
key: kMDItemContentType. That is the UTI type. Remember it.
2. Type in 'mate
/Library/QuickLook/TMQuicklook.qlgenerator/Contents/Info.plist' to a
terminal.
3. Find the key "LSItemContentTypes" and start duplicating lines to add
more UTI types. I added public.source-code, p.xml, p.plain-text, p.data,
and com.apple.property-list, and I'll just continue adding more when I find
types that don't open. But p.plain-text and p.data take care of
unextension'd files.
4. Run "qlmanage -r" and "qlmanage -r cache" to both reload the generators
and clear the thumbnail cache.
* http://ciaranwal.sh/2007/11/15/quicklook-and-textmate
That's it! You can use that process to make each filetype/UTI open in
SOMETHING (run qlmanage -d 4 -p <file> and it prints the paths of all its
generators!) so you aren't starting at a gigantic icon, sitting there,
mocking you with his complete lack of utility.
OK, I do have a couple questions though (*questions in bold*): *what is the
status on true multikey bindings?* I've been poking around for a while, and
I know how to make them for the built in NSResponder action methods (delete
a line, move around, etc) with the DefaultKeyBinding.dict. I want to be
able to map an arbitrary TextMate (or other program) action to these things
however. I tried poking around in some nibs and got some method names from
menu items, but couldn't get it working with KeyBindingsEditor. Ideally I'd
be able to map it to any script, application, or action.
This is similar to what ThisService does, actually (maps any script: ruby,
osa, etc to OS X Services menu which can bind to a hotkey. Takes input,
spits out text). Another goal is to use this 'services' ability to write a
little 'Edit in TextMate' script that can take your text and a keycombo, run
a TextMate command on it and spit it back into the textbox all in the
background. My impression is that they nerfed Input Managers with Snow
Leopard, so I'm tentatively planning on using AppleScript to move the text
around, and if that is too slow I'll figure out how to write a SIMBL plugin.
*What's the opinion on AppleScript for that? Can it be done reasonably
fast in the background? *
*
*
2 last questions: first off, *what tools should I be using to write a regex
for use in the language definition?* While awesome and useful, I find
(especially large) regex's incredibly ugly and unintuitive. I would like
to have a better syntax (my tentative idea is to use a ' ' (space) for
escaping to reduce clutter), a 'metalanguage' where I can glance at a
regex-equivalent and grasp its operations and matches quickly, and a
visualizer to help even more. I am getting started on all of this, but I'd
like to know if maybe I'm reinventing the wheel and just didn't find the
right tool yet. The problem isn't that I can't write regexes, but that they
are so complicated it is a barrier to new TextMate features. If we had
something everyone could put together like legos, I think it would really
help jump start development. As it is, I can barely adjust the line endings
for the languages I have.
My final question is: There is bundle/command menu at ctrl+cmd+t, in which
a user can search their current scope by typing a command name, or search
all scopes by typing in uppercase. One can also search by keyboard shortcut
in the current scope. However* I'm unable to find a method by which to show
all commands of a certain binding in every scope. Is there such a command?
* I plan to write an application to keep track of system wide keyboard
shortcuts and this would be very useful.
Thanks again, you made coding not just fun but exciting. And always
remember, the closer you get to perfection, the easier it is for others to
complain. I'm sure you've been there. If I'm on windows, I don't mind just
clicking the buttons and doing my thing (for a few minutes). The experience
is so crappy you'd have to start over to make it good. It's only when it is
sooo sooo close to perfect, like TextMate, that I can sit and ponder and
think and pore over what exactly isn't quite perfect and could be fixed.
And luckily I can at least fix some of them when I'm using TextMate.
Cheers, mate!
Brandon
Hi Lewy, I was having this same problem; eventually I tried updating the GetBundles bundle and that fixed the problem. Have you given that a shot yet? You have to do it manually (go to the GetBundles.tmbundles directory and run 'svn up'). I also have TM_GIT set to /usr/local/git/bin/git in TextMate's Advanced Preferences.
-Daniel
Hi,
I have no idea where this question should be directed but I'll try here
first.
I have a problem with running cucumber features from inside Textmate. I get
the following error:
:29:in `require': no such file to load --
/Users/mhenrixon/Projects/blog/.bundle/environment (LoadError) from :29:in
`require' from /Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:10:in
`' from :29:in `require' from :29:in `require' from
/Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate/feature_helper.rb:1:in
`' from :29:in `require' from :29:in `require' from
/tmp/cucumber-32008.rb:2:in `'
TM_RUBY = /Users/mhenrixon/.rvm/bin/textmate_ruby
PATH
= /Users/mhenrixon/.rvm/gems/ruby-1.9.2-p0/bin:/Users/mhenrixon/.rvm/gems/ruby-1.9.2-p0@global
/bin:/Users/mhenrixon/.rvm/rubies/ruby-1.9.2-p0/bin:/Users/mhenrixon/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin
At some point it just stopped working, I have had it running so obviously I
changed something somewhere down the line but I have no idea where to start
looking.
Can someone tell me what to do to make it start working again? Most of the
time I use autotest but... it's nice to be able to run a feature quickly as
well.
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hi all,
I have been using the R bundle in textmate for a while and so far a never
encountered any problem. Recently, I just update my machine for the new snow
leopard 10.6.3 but I can no longer use R and textmate properly: while syntax
highlighting is still working, textmate simply doesn't send any script to
the R console. I got a message that says: "Please install Rdaemon first",
which doesn't make much sense to me, since, according to the Bundle editor,
Rdaemon is alredy installed and enabled. Please, help!
Best,
Antonio.
Much of the time, the Find button is disabled until I click in the Replace
text field.
Specs:
TextMate 1.5.10
Mac OS X 10.6.5
MacBook Pro 5,1
Cheers,
Andrew Pennebaker
Thanks for the replies!
Am 28.12.2010 um 13:00 schrieb textmate-request(a)lists.macromates.com:
> I don't think this is TextMate's fault. Let me guess: You're using the ProjectPlus plug-in. Does the issue below sound like your problem?
Yes, you'd be right. I'll keep an eye on TextMate. So far, I've deactivated labels for git.
> They usually aren't accurate anyway, in my experience.
Yes, I've noticed that, too. Especially when I use manually created projects rather than just taking whole directories.
Hi all,
Don't scream, I am new to textmate and the Mac.
Latest version of TextMate. ^< does not perform as advertised but
(Shift)^< does insert opening and closing tags. Has there been a change
in the program. I do not see any other suggestion in the documentation.
I have installed, removed and reinstalled the program twice without
any change in behavior.
I am a Mac and Linux newbie!
Thanks,
Bob