On 26.02.2010, at 13:00, 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: Help setting up run. (Alex Ross)
> 2. Re: Cocoa development with Textmate no Xcode (Kevin LaCoste)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 25 Feb 2010 19:42:46 -0800
> From: Alex Ross <z-textmate(a)lasersox.net>
> Subject: [TxMt] Re: Help setting up run.
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <BB46E466-9115-4645-8DB0-033C0AC1AA76(a)lasersox.net>
> Content-Type: text/plain; charset=utf-8
>
> Hey Ted,
>
> There is a Make bundle distributed with TextMate. I think this is
> the ideal way to run a makefile. The ?Build? command is bound on ?
> B. You can build a specific target with ??B.
>
> ?Alex
>
> On Feb 24, 2010, at 9:22 AM, Eduardo Gutarra wrote:
>
>> Hi everyone,
>>
>> I want to set a command to run a makefile to build
>> a CUDA, and run it from the Debug/ folder. However
>> I hate hardcoding the name of the executable, is it possible
>> to use a variable that depends on the file I'm standing on
>> or the name of the director from which make is being executed
>>
>> Also, I would like to make an alternate command with which I
>> can tell make what target to execute.
>>
>> . "$TM_SUPPORT_PATH/lib/webpreview.sh"
>> html_header "Running make"
>>
>> make ${TM_MAKE_FLAGS} 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -
>> eTextMate.parse_errors
>>
>> Debug/Sum 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -eTextMate.parse_errors
>>
>> echo "Done."
>> html_footer
>>
>> Any help appreciated,
>> Ted
>>
>>
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 26 Feb 2010 13:49:38 +0900
> From: Kevin LaCoste <kevin.lacoste(a)gmail.com>
> Subject: [TxMt] Re: Cocoa development with Textmate no Xcode
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID:
> <de8bb3e71002252049n29dba47bxa2f812594049970a(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Thu, Feb 25, 2010 at 2:58 AM, Gerd Knops <gerti-
> textmate(a)bitart.com>wrote:
>
> My absolute favorite feature is that all my log output shows up in
>> Textmate's build panel with a clickable link, leading me directly
>> to that
>> place in code. All you need to do is make sure log output has a
>> certain
>> prefix (eg you need a custom NSLog replacement).
>>
>
> That sounds like an interesting tip for a blog post (hint, nudge,
> wink)!
>
> I would second the opinion that it's probably smarter to keep Xcode
> for your
> project management tasks while you are learning. If you're working
> through
> tutorials or a book things will be much easier to follow along with,
> not to
> mention all of Apple's sample code.
>
> I'm sure my setup is pretty simple but it basically amounts to me
> dropping
> the project folder on TextMate and using it for all
> editing/searching/navigating then switching to Xcode for build/run/
> debug
> type stuff. Getting familiar with the triggers for Cocoa and the
> general
> navigation aids is probably the most important thing to do. Command-
> T and
> command-shift-T are huge.
>
> I too would be very interested to hear how others are using TextMate
> to
> eliminate trips to Xcode though.
>
> Kevin LaCoste
>
Hi everyone,
I want to set a command to run a makefile to build
a CUDA, and run it from the Debug/ folder. However
I hate hardcoding the name of the executable, is it possible
to use a variable that depends on the file I'm standing on
or the name of the director from which make is being executed
Also, I would like to make an alternate command with which I
can tell make what target to execute.
. "$TM_SUPPORT_PATH/lib/webpreview.sh"
html_header "Running make"
make ${TM_MAKE_FLAGS} 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -
eTextMate.parse_errors
Debug/Sum 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -eTextMate.parse_errors
echo "Done."
html_footer
Any help appreciated,
Ted
Hi,
TextMate always opens / reactivates the last file and in 80% of the cases that is pretty annoying for me.
How can configure Textmate so that just a blank new untitled document is shown on every startup of TextMate?
The options in the preferences don't have this effect ...
thanks for any help!
Is there a hidden feature or bundle I can use to draw a horizontal guide
line at an arbitrary column, say, 80 to meet the PEP8 standard?
Thanks.
--
Wells Oliver
wells(a)submute.net
Hello
I used to have a textmate command that was running a zend studio binairies
in command line to check php syntax ; it was a lot better than the simple
php syntax check bundled with the php Bundle, as it told me when a var was
not declared, and asked for coding standard respect.
I can't find it anywhere, if someone could help me....
thanks a lot
have a nice day
--
View this message in context: http://old.nabble.com/php-syntax-check-tp27639670p27639670.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi, I used macports to install ruby 1.9 (because my rubygems fell off the
map when I installed fxruby >.<)
$which ruby1.9
/opt/local/bin/ruby1.9
$which gem1.9
/opt/local/bin/gem1.9
But I'm pretty sure my Ruby bundle is still using 1.8, Is there a relatively
pain-free way to switch it over?
Hello,
I'm trying to use the sql.bundle with TextMate 1.5.9 (1510) and Postgres
8.4.2 (kyngchaos binary).
After the configuration when I click on excecute line as query, I see this
error message:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b
undle:
dlopen(/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/key
chain.bundle, 9): no suitable image found. Did find: (LoadError)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b
undle: no matching architecture in universal wrapper -
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/keychain.b
undle from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo
rt/bin/db_browser_lib.rb:5 from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo
rt/bin/db_browser.rb:8:in `require' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Suppo
rt/bin/db_browser.rb:8
I've already tried to set up TM_PSQL shell variable, but that did not help.
Thanks for your help.
Peter
On Feb 9, 2010, at 7:43 PM, Boysenberry Payne wrote:
>> Was wondering if there was an easy way to get () and [] to indent the same way {} happen in my perl documents?
On Friday, February 12, 2010, at 04:35AM, "Boysenberry Payne" <boysie(a)boysenberrys.com> wrote:
> Does anyone know where I'd even need to look to try and get the right kind of indentations set up for my perl scripts?
One idea would be to create a command bound to Return that tests for the brackets you want, then reindents accordingly. No idea if that's the best way or even a good way, but it's something to try.
Off the top of my head, there could be a Preferences item that might affect what characters trigger the indendation, or something along those lines anyway. Anyone with more experience developing bundles care to weigh in?
--
Adam Sharp
The following two valid PHP snippets trip up the PHP grammar in TextMate.
Mostly because of unusually nested quotes and braces:
Snippet #1:
<?php
$str = array("Foo", "Bar");
echo "Name: {$str[($str[1]) ? 1 : 0]}"; // Should echo "Name: Bar"
?>
The text "($str[1" appears highlighted as a syntax error
Snippet #2
<?php
$insert = mysql_query("INSERT INTO `catalogue` SET
`model`='{$_POST["page_row{$count}_model"]}',
`type`='{$_POST["page_row{$count}_type"]}',
`updated`=UNIX_TIMESTAMP()
;");
?>
Everything in the document after this snippet is treated as a string.
Hopefully these are simple grammar file fixes :)
Cheers,
Brian
--
View this message in context: http://old.nabble.com/PHP-Grammar---Syntax-Highlight-Bug-tp27280995p2728099…
Sent from the textmate users mailing list archive at Nabble.com.