[Gambas-user] Code snippet questions

EA7DFH ea7dfh at ...2382...
Sun Jan 2 01:00:17 CET 2011


El 02/01/11 00:13, richard terry escribió:
> Hi List
> 
> Could someone explain to me how code snippets work/are used.
> 
> I note you can access them and add new snippets and a trigger word.
> 
> How does one then get back the code in the IDE
> 
> Also Benoit, it would be really nice to have  menu option on the IDE menu 
> which when you swipe a section of code and select 'Add code snippet', the 
> popup dialog for code snippet adding appears with your code in it and the 
> cursor on the shortcut line.
> 
> Regards
> 
> Richard

A while back I did asked the same, so Benoît kindly answered:

El 25/09/10 02:04, Benoît Minisini escribió:
>> >> Hi all
>> >>
>> >> What's is the way to insert a code snippet triggered from an string in
>> >> Gambas3?
>> >>
>> >> I'm referring to the third tab in the Preferences dialog of the IDE. I
>> >> am unable to get the (template) snippet into the code editor...
>> >>
>> >> Using latest Gambas3 SVN.
>> >>
>> >> Thanks
> > 
> > You type the first letters of the snippet (one, two or three characters, 
> > depending on the snippet), and then you press TAB.
> > 
> > They work almost like in gedit.
> > 
> > Regards,
> > 


-- 
Jesus, EA7DFH




More information about the User mailing list