[SVN] Re: Build Bundle Conventions

Simon Gregory simon at helvector.org
Mon Nov 16 18:56:12 UTC 2009


On 14 Nov 2009, at 05:25, Allan Odgaard wrote:

> On 13 Nov 2009, at 18:08, Alex Ross wrote:
> 
>> On Nov 13, 2009, at 8:11 AM, Simon Gregory wrote:
>> 
>>> I've just spotted that Alex committed this:
>>> 
>>> http://github.com/lasersox/make.tmbundle/commit/99a8de16104d9309e39c2f13353b167fd9aba6b3#diff-0
>>> 
>>> which is functionally different to the way I implemented task  
>>> selection in the Ant bundle. My choice was to run the default  
>>> target with ⌘B (if one was set otherwise present a list), and have  
>>> ⇧⌘B present a list of targets to the user for selection.
>>> 
>>> So the question is: Should we use the same convention across all  
>>> the build bundles? And if so what would you prefer?
>> 
>> Well, allan asked for ⌥⌘B.  I think ⌥ makes more sense than  
>> ⇧, as it conveys I want an *option*. But we don't really have any  
>> conventions for this stuff… I see ⇧⌘R used for “Run focused  
>> unit test” in the ruby bundle, this could just as easily be ⌥⌘R.
> 
> ⇧⌘B is Select Enclosing Braces — so bundle items should not block  
> that key.
> 
> ⌥⌘B is Gutter → Toggle Bookmarks — it’s not ideal to have  
> bundle items block standard keys, but this key in particular is likely  
> not used a lot, if ever :)
> 
> Definitely would be nice if we had a standard for this.

All sounds reasonable to me - so I'll modify the Ant bundle to use ⌥⌘B

Cheers,
Simon


More information about the textmate-dev mailing list