[Gambas-user] how to use code snippets

Demosthenes Koptsis demosthenesk at ...626...
Thu Mar 29 13:08:05 CEST 2012


On 03/29/2012 01:18 PM, richard terry wrote:
> On Thursday 29 March 2012 20:58:10 Demosthenes Koptsis wrote:
>> On 03/29/2012 12:54 PM, richard terry wrote:
>>> I've never used this, wondered if someone could give me a quite tip how
>>> to activate the short cut to insert the snippet, assuming this is what is
>>> meant to happen
>>>
>>> richard
>>>
>>> -------------------------------------------------------------------------
>>> ----- This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> it is very easy.
>>
>> you write a part of the code in ide and then press enter.
>>
>> for example in a SUB write
>>
>> Do + press Enter
>>
>> Gambas3 will autocomplete
>>
>> DO
>>
>> LOOP
> mm.......
>
> What I meant was if one goes to menu options tools/preferences/code snippets
> and inserts ones own snippets - how can one recall them with the shortcut
> string one has used?
>
> richard
>
>> :)
>>
>> ---------------------------------------------------------------------------
>> --- This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


Sorry a mistake...


for example, write your trigger string and your snippet and press TAB

di+TAB = Dim iVar As Integer

is that you want ?




More information about the User mailing list