Hello,
My name is Grace Lee and I am an undergraduate studying Computer Science at
UC Berkeley. I use textmate everyday for programming but recently I wiped
out my operating system to fix a disk fragmentation issue and lost the
license for textmate. I called Apple to request a license and they told me
to contact you guys directly. They also told me that you guys are very nice
and will likely grant me another license.
Could you please send me a textmate license? The macbook I purchased
(Leopard OSX) came with Textmate and I'm very fond of your software to the
point I cannot code without it.
Thanks,
Grace Lee
Is it just me or is rvm no longer controlling the version of ruby that
textmate uses after upgrading to lion?
My TM_RUBY shell variable is set to
/Users/Tim/.rvm/bin/textmate_ruby
which was previously working...
Anyone have any ideas how to fix it, or is it just my setup having a
problem.
Thanks,
Tim
I recommend using GetBundles to update your PHP bundle as well. The default
PHP bundle is great IMO. Command+F1 (tooltip function doc) and Command+Esc
(completion popup) are very useful when you need to peek at the prototype
and exact spelling of built in functions.
Brandon
> Which bundles should I use for a nice environment for website
> development (HTML, CSS and probably some PHP).
>
@Phil
Sorry Phil, it is called 'PySmell' not PyRopes.
Here is the url: http://code.google.com/p/pysmell/
Once you get it working it works very well from what I remember.
Brandon
There's a lot of bundles out there and from my previous experience
with setting up a Python environment, it's quite a few config options
and both complementing and different bundles out there.
So this time around I'd just like to ask:
Which bundles should I use for a nice environment for website
development (HTML, CSS and probably some PHP).
Is the basic CSS and HTML bundles just fine, or should I check out some others?
How about rendering/previewing changes? Like in python and ruby
development, I can run the program in a TM window, but with HTML it
seems I have to load/refresh the page in an external browser. Or does
TM provide a html renderer inline in it's own window?
--
Phil :)
I have a folding problem in a perl document. A string contains the
begin comment marker from C "/*" ... what I actually have is:
push @files, glob "$curr_dir/*";
This causes a fold marker to appear and screws up all the folding
following it because there is no closing comment. To get round it, on
the following line I've used a perl comment and in that comment I've
included */.... so:
# */
This does the trick but I do have a fold where one is not needed, and
it looks bad.
It seems that the perl syntax within TM has inherited some C. I know
perl is made with C and that there are similarities, but this seems a
step to far!
I've found the folding markers in the language definition, and /* and
*/ are defined there, any perl experts out there able to confirm these
aren't valid? I don't want to break anything here by removing them
either.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
1. Re: Fwd: High CPU Usage in snow leopard (Brandon M Fryslie)
I had exactly the same problem. And finally I've found a workaround.
In my case, I also use sshfs, and I've been looking at the unix "top" application to see which process was eating my computer, until I realised that the problem was caused in the combination of sshfs mounted filesystem and textmate (most times, meanwhile I was looking for something in a big project with textmate).
The process that was eating all cpu was mdworker / mds (spotlight daemon)
So I tried to disable spotlight completely and the problem didnt happen again. When I turned on spotlight... I was able to work for a whlie... and then the beachball appeared again, so what I've done is to add the folder where I mount the sshfs filesystem to Privacy Tab, to prevent Spotlight from indexing the content of the sshfs mounted filesystem.
And no more issues. In my case I'm using virtualbox with a headless ubuntu server 8.04
Hope this helps
Miquel
On 15/07/2011, at 14:00, textmate-request(a)lists.macromates.com wrote:
>
> 1. Re: Fwd: High CPU Usage in snow leopard (Brandon M Fryslie)
There is a plugin called ReMate which should fix the problem. If you are
editing files over a network share, this is bad news with TextMate and will
probably eventually crash and lose your work. Be careful.
http://ciaranwal.sh/remate/
> When i open a folder on textmate, in this case, kohana stack. I open e
> file writing some code. Then save it, goto chromium to check. Now when
> return to textmate, textmate freezes and takes 100% CPU, after some
> time, 5 to 20second, everything comes to normal. This happenes every
> time textmate lost focus then got focus again.
> step to reproduce,
> 1. Open textmate and open a file.
> 2. Goto another app while keeping textmate open, In a word,make
> textmate lose focus.
> 3. Return to textmate, In a word, make textmate got focus.
> => Cpu usage goto 100% and textmate hangs.
> I'm suspecting that when getting focus, textmate scans the files for
> changes outside textmate, is that it ? if so, is there any workaround
> ?
>
> Any way around this?
Thanks
Make sure your macro is 'move backward one word' (option+arrow) and not
'move to beginning of line' (command+arrow). If the macro looks fine, there
might be some sort of interaction between the snippet tab stops and the
macro system but unfortunately I have only played around with making my own
macros and rarely use them for actual work.
Protip: the macro is stored in a plist file somewhere, and you can edit it
by hand to make it do exactly what you want.
Brandon
>
> I think Brandon is being a little melodramatic with with 'probably
> eventually crash?'.
It's only melodramatic until it happens and you DO lose some work. It has
happened to me. However, I was using MacFusion which mounts the network
share like a local FS, causing TextMate to crash pretty much right
away...Now I use ForkLift which is the most fantastically awesome remote
file management tool I've ever had the pleasure of using. Not only do I
recommend using it, I recommend *paying* for it. Yep, that good. :)
Brandon
Hmmm,
That does not seem to work. Do I create a preference file in my custom bundle
because that did't work. I found the preference file that you mentioned in
various bundles, in Source and added the ( '<', '>' ) but again it doesn't
autocomplete
What am I missing?
Thanks
--------------
Sure. In the bundle editor, look for a Preference, probably called "Smart
Typing Pairs" or something similar. It might look like this: {
smartTypingPairs = ( ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), (
'“', '”' ), ( "'", "'" ), ); } Basically, it's just a series of pairs. You can
add ( "<", ">"), to the list and that should do it. On Jul 13, 2011, at 10:19
AM, John Relosa wrote: That works great thanks! Is there a way to
autocomplete the < symbol? I can do it with the { so when I press "{" TM
autocompletes it with the end } so it automatically becomes {}. How can I add
that functionality to the "<" symbol so it automatically becomes <>. Thank you.
___________________________________________
Hi,
When i open a folder on textmate, in this case, kohana stack. I open e
file writing some code. Then save it, goto chromium to check. Now when
return to textmate, textmate freezes and takes 100% CPU, after some
time, 5 to 20second, everything comes to normal. This happenes every
time textmate lost focus then got focus again.
step to reproduce,
1. Open textmate and open a file.
2. Goto another app while keeping textmate open, In a word,make
textmate lose focus.
3. Return to textmate, In a word, make textmate got focus.
=> Cpu usage goto 100% and textmate hangs.
I'm suspecting that when getting focus, textmate scans the files for
changes outside textmate, is that it ? if so, is there any workaround
?
Sarim Khan
Hello,
Thanks for your reply. This works for stand alone typed variables but on
snippets where I have let's say a "while loop" with
a certain condition as a place holder:
while (condition) ... end while
after I type my shortcut and press the tab, the snippet completes and takes the
caret into the (condition) variable where If I type the name that I want and
press my shortcut for the macro to add the "$" symbol then TM adds it infront of
"while" so
it becomes:
$while (condition) ... end while
instead of:
while ($condition) ... end while
Any way around this?
Thanks
You can do this by recording a macro. Type a word, then under Bundles on the
toolbar, go to Macros and click Start Recording. Press the key combination for
'move to beginning of word' (which is option+left arrow for me), and then press
'$'. Then click 'Stop Recording'. With any luck you should have a macro that
does 'move to beginning of word' and then 'insert $'. You can do that for all
the characters you need, and obviously much more complicated scenarios. Brandon
> Hello, > I was wondering if that is possible. The symbol for variable in the >
language I > am working on is the "$" sign. > Would it be possible to add this
after the word has been typed and have it > added > in the beginning of the
word? The same would go for the array symbol %, > strings array "!" etc.. > So I
would type "counter" and then decide if I want this to be a variable > or an >
array so depending if I type $ or % after that word it would end up being >
$counter or %counter > Thanks in advance for any input. > Best, > John
That works great thanks!
Is there a way to autocomplete the < symbol? I can do it with the { so when I
press "{" TM autocompletes it with the end } so it automatically becomes {}. How
can I add that functionality to the "<" symbol so it automatically becomes <>.
Thank you.
___________________________________________
You could easily customize the folding patterns. It would be up to you to
decide what your convention would be; just add those angle brackets in to the
pattern and you should be on your way.
You can also easily add more folding patterns. If I'm understanding your
request right, you could simply match on "function" and "end function", etc, you
just need to map them all out. So, combined, something like this:
foldingStartMarker = '\{<[^\/]+>\}|^(loop|function|if|on init)';
foldingStopMarker = '\{<\/.+>\}|^(end (loop|function|if|on))'; If you want to
add more folding matches following the "X/end X" pattern, just add a pipe and
the "X" to the parts in both expressions that look like this:
(loop|function|if|on init) Hope that helps, +dru On Jul 13, 2011, at 8:23 AM,
John Relosa wrote: Hello, thanks, this works ok but now every time I have any
{comment}, TM shows a down fold arrow only (since there is no {/comment}
obviously. Is there a way to have the {block}...code...{/block} folding system
differentiate from regular {comments} It could be something like: {<block>}
{comment on code} code {comment on loop} {<loop>} loop code end {</loop} more
code {</block>} Only the {<...>} ...... {</...>} would have folding markers and
not the regular {comment}. Secondly regarding the language, there is no
standard folding set but it would be nice to set up keywords that would start
and end folds in user defined paired words like function.... end function,
if...end if, on init...end on, etc... Is that possible? Thanks in advance.
You can do this by recording a macro. Type a word, then under Bundles on
the toolbar, go to Macros and click Start Recording. Press the key
combination for 'move to beginning of word' (which is option+left arrow for
me), and then press '$'. Then click 'Stop Recording'. With any luck you
should have a macro that does 'move to beginning of word' and then 'insert
$'. You can do that for all the characters you need, and obviously much
more complicated scenarios.
Brandon
> Hello,
> I was wondering if that is possible. The symbol for variable in the
> language I
> am working on is the "$" sign.
> Would it be possible to add this after the word has been typed and have it
> added
> in the beginning of the word? The same would go for the array symbol %,
> strings array "!" etc..
> So I would type "counter" and then decide if I want this to be a variable
> or an
> array so depending if I type $ or % after that word it would end up being
> $counter or %counter
> Thanks in advance for any input.
> Best,
> John
Hello,
I was wondering if that is possible. The symbol for variable in the language I
am working on is the "$" sign.
Would it be possible to add this after the word has been typed and have it added
in the beginning of the word? The same would go for the array symbol %,
strings array "!" etc..
So I would type "counter" and then decide if I want this to be a variable or an
array so depending if I type $ or % after that word it would end up being
$counter or %counter
Thanks in advance for any input.
Best,
John
Hello,
thanks, this works ok but now every time I have any {comment}, TM shows a down
fold arrow only (since there is no {/comment} obviously.
Is there a way to have the {block}...code...{/block} folding system
differentiate from regular {comments}
It could be something like:
{<block>}
{comment on code}
code
{comment on loop}
{<loop>}
loop
code
end
{</loop}
more code
{</block>}
Only the {<...>} ...... {</...>} would have folding markers and not the regular
{comment}.
Secondly regarding the language, there is no standard folding set but it would
be nice to set up keywords that would start and end folds in user defined paired
words like
function.... end function, if...end if, on init...end on, etc... Is that
possible?
Thanks in advance.
------------------------------
Message: 4
Date: Tue, 12 Jul 2011 13:01:25 -0700
From: Dru Kepple <dru(a)summitprojects.com>
To: TextMate users <textmate(a)lists.macromates.com>
Subject: [TxMt] Re: Custom Folding
Message-ID: <882B4362-5E89-413C-AA0A-BA1FD64670DB(a)summitprojects.com>
Content-Type: text/plain; charset="us-ascii"
A basic folding pattern could be set up like this:
foldingStartMarker = '\{([^\/]+)\}';
foldingStopMarker = '\{\/.+\}';
This won't be smart enough to match the text in between the curly braces, but as
long as you use the slash to mark an end comment, it should be pretty workable.
TextMate will handle nesting as you'd probably expect it to, so this:
{block}
code
{loop}
loop
code
end
{/loop}
more code
{/block}
Should fold as you'd want it to.
Do you have standard folding set up for the language? I don't know what
language you're using, but folding is usually set up for things like functions
and loops, so that's helpful, too. But I mention it because if you have to add
the above markers into an existing language grammar that already has markers set
up, you'll need to do them like this:
foldingStartMarker = 'otherMarker|\{([^\/]+)\}';
Note the vertical pipe in between the new addition and the existing marker;
that's the regex "or".
Also, worth noting that TextMate only matches folds if the start and stop
markers are at the same indent level, not merely if the marker is matched. You
might get some interesting folding results with the additions combined with
goofy indentation.
+dru
On Jul 12, 2011, at 11:12 AM, John Relosa wrote:
Hello,
Excuse my newbie question but I am trying to do custom folding in the language
that I am working on and can't figure out how.
Comments in this language start and end with { comment..... } Anything else is
compilable.
Is there a way to specify something like
{Start of code block}
code
.
.
.
.
{/End of code block}
Thanks
John
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com<mailto:textmate@lists.macromates.com>
http://lists.macromates.com/listinfo/textmate
-
I'm using TM mostly to edit web sites so lots of html files. Prior to TM I used XCode3's Organizer which I liked a lot but is no longer available in XCode 4. So I've switched to TM lately.
I keep finding garbage at the end of my files.
Stuff like
</script>
</body>
</html>
t('Got back auth_token: ' + json.auth_token); });
})
</script>
</body>
</html>
but TM doesn't show the stuff beyond the first </html> tag. Basically, it seems TM doesn't shrink file sizes correctly when writing them. Closing the file and re-opening it will reveal the mess at the end (as does my web browser :-( ) but I'm getting bitten by this bug a LOT. I'm using version Version 1.5.10 (1631) on Snow Leopard 10.6.8 (although it has been around for a few different versions of SL). No extra bundles or plugins beyond the standard install.
I'm kind of amazed that this kind of bug is hanging around in such a mature product. I can't be the first guy to find this?
-Todd Blanchard
Hello,
Excuse my newbie question but I am trying to do custom folding in the language
that I am working on and can't figure out how.
Comments in this language start and end with { comment..... } Anything else is
compilable.
Is there a way to specify something like
{Start of code block}
code
.
.
.
.
{/End of code block}
Thanks
John
Has anyone seen/made a command that would gather all open windows into a new project? This would be valuable for me, but can’t see the hooks so to do.
cheers,
tim
Hi,
I just noticed that when trying to insert a citation in latex via ALT+ESC in the latex bundle, this warning occurs.
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:177: warning: Insecure world writable dir /usr/local in PATH, mode 040777
What does this mean? Certainly I didn't set any permissions manually. I'm a little confused, the Finder says /usr/bin is 755.
Thanks for your help!
Hi all,
I'm trying to figure out the magic behind $ (the dollar sign) in LaTeX mode,
with no luck.
In LaTeX mode when, say, 2+2=4 is highlighted and the $ is pressed, $2+2=4$
is what you get.
Who (what command or code) does this task?
In general: How to discover the command performed by a shortcut? Is there a
way?
Many thanks in advance.
--
ßlue
--
View this message in context: http://old.nabble.com/How-to-discover-the-command-performed-by-a-shortcut--…
Sent from the textmate users mailing list archive at Nabble.com.
>
> Where may I post a bug or ask for support? I have an issue with keymap
> that I cannot solve but I hostly cannot find a way to get vendor support.
You've come to the right place.
I'm running a Ruby script from TextMate and within that script call a Perl script (gpsPhoto.pl) and would like to capture the error messages and act on them. The messages show up in the TM Running window.
An example of an error that appears in the TM Running window:
Use of uninitialized value $text in pattern match (m//) at /someFolderOnMyMac/gpsPhoto.pl line 3120.
Thanks for any ideas.
Greg
Has anyone worked out any solutions within textmate for remote pair programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to develop with would be lost in those ide's.
Adam Merrifield
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
>
> Of course you can make TM scope aware and such, but AFAIK the completion
> mechanism can't be modified. Your bundle can be very refined but you will
> always have to use ESC and press again and again until you find the option
> you need...
The built in completion (ESC by default) might not be able to be modified
(it actually can a little), but almost every language has one or several
completion commands in the bundle. Check out PyRopes, and also the PHP
bundle has a couple different great completion commands.
A question about support.
Where may I post a bug or ask for support?
I have an issue with keymap that I cannot solve but I hostly cannot find a way to get vendor support.
Any suggestion?
Thanks
Andrea Campolonghi
acampolonghi(a)gmail.com
@Gerd
Programmable event driven actions & context menu plugins are actually two of
the most useful realistic suggestions I have heard for TM2. Has anyone
played with SIMBL / APE? What are the chances of us hooking something like
this in ourselves? Are there already Cocoa events that we could hook on to
for that stuff, or does the entire event framework need to be put in?
I've only written a few Cocoa programs so I'm not an expert on that stuff,
but I've been wanting to play around with SIMBL so this may give me the
opportunity. I'm thinking that the context menu thing should definitely be
doable to some extent.
Brandon
On Fri, Jul 1, 2011 at 11:54 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. keymaps (Andrea Campolonghi)
> 2. Re: Capturing error messages (Greg)
> 3. Re: Any news on Textmate 2? (Brandon M Fryslie)
> 4. Re: Any news on Textmate 2? (pier25)
> 5. Remote pair programming (Adam Merrifield)
> 6. Re: Any news on Textmate 2? (Gerd Knops)
> 7. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 8. Re: Remote pair programming (Gerd Knops)
> 9. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 10. Re: Any news on Textmate 2? (Will)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 1 Jul 2011 15:38:45 +0200
> From: Andrea Campolonghi <acampolonghi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] keymaps
> Message-ID: <58A56F19-F6B7-4D28-A51C-4B5C79094E47(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am using mate on an italian keyboard.
> While the menu tell me that I can do shift left wiht command + [ when I try
> nothing happens.
> I have to do alt + command + [ to get a shift left but this last keymap is
> supposed to do code formatting.
>
> Thanks
>
> Andrea Campolonghi
> acampolonghi(a)gmail.com
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 1 Jul 2011 10:17:34 -0700
> From: Greg <web(a)web.knobby.ws>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Capturing error messages
> Message-ID: <430DB169-BEFC-450C-94C2-6FE9296693B0(a)web.knobby.ws>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Jun 30, 2011, at 10:42 PM, Martin K?hl wrote:
>
> > On Thu, Jun 30, 2011 at 21:58, Greg <web(a)web.knobby.ws> wrote:
> >> I'm running a Ruby script from TextMate and within that script call a
> >> Perl script (gpsPhoto.pl) and would like to capture the error messages
> >> and act on them. The messages show up in the TM Running window.
> >
> > There's nothing TextMate-specific about this, you can capture those
> > messages any way you would otherwise in Ruby. Which way that is depends
> > on how you call the other command, e.g. with backticks you would append
> > `2>&1` to the command line.
> >
> > If you're unsure, [1] has a survey of ways to run subprocesses in Ruby.
> >
> > HTH,
> > Martin
> >
> > [1] http://tech.natemurray.com/2007/03/ruby-shell-commands.html
>
> Thank you. I think this will point me in the right direction.
> Greg
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 1 Jul 2011 10:44:32 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Of course you can make TM scope aware and such, but AFAIK the completion
> > mechanism can't be modified. Your bundle can be very refined but you will
> > always have to use ESC and press again and again until you find the
> option
> > you need...
>
>
> The built in completion (ESC by default) might not be able to be modified
> (it actually can a little), but almost every language has one or several
> completion commands in the bundle. Check out PyRopes, and also the PHP
> bundle has a couple different great completion commands.
>
I'm really excited about it.
The features I'd love to see:
- auto text completion (like in xcode or dreamweaver)
- auto complete based on the project and not only in the file
--
View this message in context: http://old.nabble.com/Any-news-on-textmate-2--tp31959429p31959429.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I wonder if anyone has tested TM with Lion (prerelease).
What are the versions of Ruby and Python with Lion ?
Actually is it possible to work with LaTeX, TM, Python 3 and Ruby > 1.9 ?
Alain
What about using "find in project" ?
shift + cmd + F
or
edit>find>find in project
moom wrote:
>
> Hello.
> How can I find and replace multiple lines of code in the project.
>
> Like this:
>
> <ul>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> </ul>
>
>
> TextMate supports searching multiple lines of code in the project?
> Normal searching can do it, but finding that in the project can not.
>
> Do You have any advice please?
>
--
View this message in context: http://old.nabble.com/How-can-I-Find---Replace-multiple-lines-of-code-in-th…
Sent from the textmate users mailing list archive at Nabble.com.
Without opening the whole TextMate 2 can of worms again, I was curious how Lion's App Sandbox would effect TextMate and the whole plugin/bundle atmosphere we all currently enjoy. Would our current MO preclude future versions of TextMate from ever being sandboxed and therefor ever being on the MAS?
Adam Merrifield
I have two snippets in differente bundles (CSS and AS3) with the same tab
trigger.
Why is the AS3 snippet showing up in the CSS bundle? I mean when I press tab
a list appears with both snippets.
Is there a way to avoid this apart from using different tab triggers?
--
View this message in context: http://old.nabble.com/snippets-with-same-tab-trigger-on-different-bundles-t…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to create a new file template, and it's not working for
some reason. I can run the script in a regular shell and it works
perfectly, but not within TM.
The script is:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_CLASS_NAME=`echo "$TM_NEW_FILE_BASENAME" | perl -pe 'm/
^(unitTest|test)/ && s/(unitTest|test)([[:alnum:]_]*)/$2/'` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
with extension set to "php"
The tempate_in.txt file is:
<?php
/**
* ${TM_NEW_FILE_BASENAME}
* simpletest unit test template: http://www.simpletest.org/
*
* Created by ${TM_FULLNAME} on ${TM_DATE}.
* Copyright (c) ${TM_YEAR} ${TM_ORGANIZATION_NAME}. All rights
reserved.
*
* @author ${TM_FULLNAME}
* @version ${TM_DATE}
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.${TM_CLASS_NAME}.php';
class Test${TM_CLASS_NAME} extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'Test${TM_CLASS_NAME} start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
When I run it in a normal shell with the command:
rm unitTestDebug.php ; TM_NEW_FILE=$PWD/unitTestDebug.php
TM_NEW_FILE_BASENAME=unitTestDebug TM_ORGANIZATION_NAME='Miishka'
TM_FULLNAME='Tamara Temple' sh -vx new.sh
I get a file in the current directory as unitTestDebug.php containing:
<?php
/**
* unitTestDebug
* simpletest unit test template: http://www.simpletest.org/
*
* Created by Tamara Temple on 2011-06-23.
* Copyright (c) 2011 Miishka. All rights reserved.
*
* @author Tamara Temple
* @version 2011-06-23
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.Debug.php';
class TestDebug extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'TestDebug start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
which is exactly what I would expect. If I call up the template in TM
drawer's new file creation dialog, I get nothing.
so I'm stumped.
Any help?
Hello,
When I use the categories menu item:
Bundles->Blogging->headers->Category
i get an error message.
Fetching of the blog posts is working!
I get the exception as listed below: (Hope this works on the list?)
Kind regards
Dick Barends
(Mac OS 10.6.7 ; TextMate by macromates.com)
I’ve installed Fletcher Penney’s Markdown/MultiMarkdown bundle in ~/
Library/Application Support/MultiMarkdown. But when I try the Preview
command in TextMate, I get the error
/bin/bash: line 11: multimarkdown: command not found
The multimarkdown command is installed in /usr/local/bin which
TextMate has in its PATH variable. The command line also knows
multimarkdown is there.
What am I missing?
--
View this message in context: http://old.nabble.com/Multimarkdown-command-not-found-by-TM-Preview-tp31907…
Sent from the textmate users mailing list archive at Nabble.com.
Good morning,
I'm using TextMate with and Mac OSX Snow Leopard.
In the Ruby Bundle, ^B Left one character works just fine...
However, ^F Right one character doesn't...rather than moving right one character the following message is displayed: "NOTE: Gems latest_load_path is depreciated...".
I checked 'Select Bundle Item' list but could not find ^F entry...
I'd appreciate help.
Thank you
I am something of a newbie to Textmate. When I try to compile with the Latex
Bundle, I get the following message:
---------------------------------------------------------------------------------------------------------------------------------------------------
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
Please add the directory containing “kpsewhich” to PATH in TextMate's Shell
Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this requires a
relaunch: Set PATH and Relaunch.
---------------------------------------------------------------------------------------------------------------------------------------------------
I saw that there were users on this list who had encountered similar
difficulties, but I tried some of the suggested solutions, and they didn't
seem to work.
When I launch the alternative path, it creates a new path which is exactly
the same as the previous path. I would be grateful for any help with this. I
can't seem to figure out how to get this to work, despite numerous attempts.
Thanks in advance for considering helping me out with this.
Best,
Miguel
Dear Sirs,
Amy update on the below request.
Regards,
Janardhan Shivarudrappa
_____
From: Bits Software [mailto:sales@bitsonline.co.in]
Sent: Wednesday, June 15, 2011 12:13 AM
To: 'textmate(a)lists.macromates.com.'
Subject: License clarification
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
>
> (1) Add a feature that gives the option to redirect Bundle error messages
> to
> either a tooltip, or a new document .
> (2) Add a feature that allows you to click on a Bundle error message, and
> see it automatically jump to the offending line in the original document.
> (i.e. error message at line 700). This could be done by providing an error
> parser regex (perhaps bundle specific), so if the error regex matches, it
> grabs the line number from the error output, and jumps to that specific
> line
> number in the original document, making it easier to edit the document!
These features are already in TextMate. You can edit the bundle to redirect
error messages to a file (if it is a shell command use 2</dev/null, etc).
Unfortunately it isn't as easy as it could be to redirect stderr to a
different place than stdout (like the output dropdown in the bundle editor)
so this may not be feasible for you.
For number 2, the PHP bundle does it when you press validate and it detects
an error. You can take a look at that bundle to see how they do it. The
command is Validate (ctrl+shift+v) and it goes to the first line with an
error.
Brandon
Hello!
Sometimes, some bundles that I run, generate a lot of error messages (i.e.
repetitive error messages about a bad CSS format that I'd like to ignore
temporarily for now). The tooltip is bigger than the screen.
I'd like to edit the Bundle for "Html Tidy" to redirect all error messages
into a separate document, instead of a tooltip. How do I edit it? I'm not
familiar enough with Ruby to make that 1-line edit necessary (I think one of
you Ruby pro's can spend 30 seconds teaching a Ruby newbie like me! I
appreciate it.)
Thanks!
Mark Rejhon
--
View this message in context: http://old.nabble.com/Bundles-%28i.e.-HTML-tidy%29%3A-Redirecting-error-mes…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Folks,
I found some free time today and couldn't think of anything better to do[1]
than trying to extend the life support of Edit in TextMate.
* The result is available on GitHub[2].
* The bundle uses SIMBL[3], so install that first.
* Install to `$HOME/Library/Application Support/SIMBL/Plugins/`.
* If you installed the old input manager, remove it.
It has seen an /incredible/ lack of testing, but I used it a handful of times
and it didn't set my computer on fire.
So far I've seen work with TextMate, TextEdit and Xcode, and /not/ work with
Safari.
Feedback, bug reports and patches welcome, and apologies in advance if I don't
get around to responding quickly at the moment.
Cheers,
Martin
[1] Well apart from a bath actually, but after that.
[2] https://github.com/mkhl/edit-in-textmate/
[3] http://culater.net/software/SIMBL/SIMBL.php