Hi All,
With Alex Ross' kind permission I created a clone on github and modified it:
git://github.com/gknops/scratch.tmbundle.git
The changes make it work much better with my workflow (YMMV):
- Shortcut changed to easier to use Shift-Cmd-C
- Instead of the temporary buffer document it now shows the scratch manager
- The file names in the scratch manager are clickable and bring you to where the scratch came from
I kept the original UUIDs (as they were in the svn review repo), not sure if that is a good or bad thing. Someone enlighten me please.
Gerd
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
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