[TxMt] Re: Bundle snippets scope selector -- excluding scope?

Harald Lapp harald.lapp at gmail.com
Wed Dec 4 21:45:50 UTC 2013


mmm i am little bit unhappy with the solution to change the snippets'
tab trigger to "source.php - comment.block.documentation.phpdoc.php",
because other tab triggers of scopes source.php inherits from, are of
course still active.

i wonder if there is no way to tell a "sub-scope" to not inherit
things like tab-triggers? apparently there is not, because i just
noticed, that it's the same with for example javascript in html. as
somebody wo is used to align assignments like:

var blubber = '';
var base    = '';

if have a real problem, because pressing 'tab' behind 'base' will expand to:

var <base href="" target="">

i don't want to annoy anybody with these things, but shouldn't there
be a possibility to "reset" all tab-triggers in a sub-scope?

thanks!

harald

2013/11/28 Harald Lapp <harald.lapp at gmail.com>:
> 2013/11/28 Allan Odgaard <mailinglist at textmate.org>:
>> On 28 Nov 2013, at 4:56, Ken Snyder wrote:
>>
>>> Nice. Very happy. Now is there a way to suggest this change to the author
>>> of the PHP bundle? […]
>>
>>
>> The preferred way is to click the arrow to the right of PHP in Preferences →
>> Bundles, this will take you to the bundle’s GitHub page.
>>
>> Then fork the bundle, clone it to ~/Library/Application
>> Support/TextMate/Bundles, make the change(s), git commit and push to your
>> fork on GitHub.
>>
>> Then submit a pull request (via GitHub).
>>
>
> ok, i am working on it :)



-- 
http://www.pixelio.de/
Deine kostenlose Bilddatenbank für lizenzfreie Fotos


More information about the textmate mailing list