completing Script function in Autofill Mode ? what key next ?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

completing Script function in Autofill Mode ? what key next ?

Post by teriibi » Sat Feb 17, 2018 12:59 pm

Hi,
With Comunity Plus 9,
the auto complete mode appears when typing some existing reserved words.
...still...I dont know how to use it fully.
i.e :
As soon as i start writing the first letters of an existing LC functions, and some suggested words appears below it: - what keys do one press to have LC complete the input with the rest of the function name ??
:? :o

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: completing Script function in Autofill Mode ? what key next ?

Post by bogs » Sat Feb 17, 2018 1:49 pm

Here you go, all about autocomplete.

If video is more your thing, here is the best I found about it.
Image

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: completing Script function in Autofill Mode ? what key next ?

Post by LiveCode_Panos » Sat Feb 17, 2018 2:34 pm

Hi all,

In LC 9 DP-11 you have to press the "tab" key to apply the completion. Before 9.0 DP-11, you had to use the "right arrow" key.

Best,
Panos
--

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: completing Script function in Autofill Mode ? what key next ?

Post by bogs » Sat Feb 17, 2018 2:38 pm

Thank you Panos, that certainly makes sense, as it is the way a lot of languages I used previously did it, tab being a more natural reach than the arrow keys.

Curious to know if the right arrow also still works though? If not, is the use of tab going to be made backwards compatible to 8.x?
Image

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

SOLVED Re: completing Script function in Autofill Mode ? what key next ?

Post by teriibi » Sat Feb 17, 2018 4:05 pm

Rahhhhhhh :) , thanks guys, i was trying all sorts of Enters without success
actualy never used "Tab" before in the few sripts I wrote elsewhere.
..will remember that ! :mrgreen:

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: completing Script function in Autofill Mode ? what key next ?

Post by bogs » Sat Feb 17, 2018 4:53 pm

Oh my bad, this is the first 'scripting' language I ever used that I wasn't just using a plain text editor to write code in.

When I said -
the way a lot of languages I used previously did it,
I was referring to languages like Delphi, Ms Visual Studio, etc. I have noticed though that many coding text editors now use that same feature as well, like Geany.
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”