[TxMt] Re: Failing commands

Allan Odgaard mailinglist at textmate.org
Mon Jan 9 15:17:02 UTC 2017


On 29 Dec 2016, at 15:11, Koen Punt wrote:

> There are quite some commands that when invoked result in an error. 
> The error
> itself is correct in a way, but most of the time not very helpful, and 
> I think
> they can be avoided by adding some preconditions to these commands.
> […]
> I think all  these kinds of errors have to be solved at bundle level, 
> but like
> to hear some opinions before I start opening pull requests.

You are correct in that the bundle items themselves should catch these 
errors, if they do not want TextMate to show the command as having 
failed.

And I also agree that a few failures are not really “command” 
failures and ought to be handled, so would welcome pull requests for 
this.


More information about the textmate mailing list