[TxMt] Re: code comment toggling: block vs line comment hotkeys

Elia Schito elia at schito.me
Thu Oct 4 20:02:31 UTC 2012


I had a similar
problem<http://comments.gmane.org/gmane.editors.textmate.general/35431>
maybe
it can help

Elia

—
☁ @elia <http://twitter.com/elia> (twitter) ✎ elia at schito.me (gtalk)
☎ (+39) 348/9051393  perlelia at gmail.com (FaceTime)



On Sun, Sep 30, 2012 at 6:19 PM, Andrew Pennebaker <
andrew.pennebaker at gmail.com> wrote:

> Is this for a particular language?
>>
>
> Sorry, forgot to mention I was using NASM specifically. I added an x86
> assembly tmbundle<https://github.com/lunixbochs/x86-assembly-textmate-bundle>,
> and it works okay, but it turns out NASM doesn't have C-style block
> comments (/* ... */), so when I press Command+/, TextMate ends up
> commenting my code with syntax that NASM doesn't recognize.
>
> One way to fix this is to tell TextMate to always prefer using line
> comments when I press Command+/ instead of block comments, and I'd like
> TextMate to express this preference for every language I use, not just NASM.
>
> I see Source -> Settings -> Comments, but I'm not exactly sure how to edit
> it to do this. Could I have a little more guidance?
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20121004/c708d851/attachment.html>


More information about the textmate mailing list