[Gambas-user] Comment Blocks

Denis Crowther denisc at exemail.com.au
Sun Apr 21 00:39:04 CEST 2019


excellent, didn't know that.

Would be kinda cool if the tooltip for these buttons mentioned the hot keys.


Regards
Denis

On 21/4/19 8:34 am, Jussi Lahtinen wrote:
> Even better: Ctrl + k and Ctrl + u.
> 
> Jussi
> 
> On Sat, Apr 20, 2019 at 8:21 PM T Lee Davidson <t.lee.davidson at gmail.com 
> <mailto:t.lee.davidson at gmail.com>> wrote:
> 
>     Though not via bona fide comment blocks, we do have the ability to
>     block out sections of code. Just highlight the block and then
>     click the "Comment" button.
> 
> 
>     ___
>     Lee
> 
> 
>     On 4/20/19 12:15 PM, Cedron Dawg wrote:
>      > Kind of slow around here, so here is something to ponder.
>      >
>      > I'm wondering what others think about the ability to have comment
>     blocks.  In C, I use them as intended, but they are also darn handy
>     to block out sections of code while debugging.  The same would be
>     true in Gambas.
>      >
>      > I would suggest using the much underutilized reverse apostrophe
>     (aka grave accent or backquote), living lonely under the tilde on
>     most keyboards, in combination with the traditional apostrophe to
>     make the demarcation quite clear.
>      >
>      > '`  Anything here is comment...(including multiple lines)..... `'
>      >
>      > Kind of makes them look like stylish double quotes.
>      >
>      > I haven't tried these yet:
>     http://gambaswiki.org/wiki/doc/helpcomments
>      >
>      > But they could be done as '`'''  ....     `' and '`''  ....   
>       `' respectively.
>      >
>      > Thoughts?
>      >
>      > ----[ Gambas mailing-list is hosted by
>     https://www.hostsharing.net ]----
>      >
> 
>     ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 
> 
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 


More information about the User mailing list