I'm new to PureBasic and liking it a lot.
Question: when I'm typing in some code, and the auto-complete suggests one or more commands, how do I get the command I want to actually be used? If I down arrow to the command I want, and hit the ENTER key, I'm expecting the command to complete, but instead I get a new line and the command is NOT completed. I've been double clicking the command I want, and that does work, but it seems very awkward to have to take my hand off the keyboard and click the command twice. Is there a better way to do this?
TIA,
Rich
Question about auto-complete
Re: Question about auto-complete
Press the Tab key instead of Enter.
Re: Question about auto-complete
TAB key 
And welcome to PureBasic
And welcome to PureBasic
Re: Question about auto-complete
You can change it to use the Return key in Preferences > General > Shortcuts > 'Insert the selected AutoComplete word'
-
Rich Dersheimer
- New User

- Posts: 7
- Joined: Mon Oct 14, 2019 4:40 pm
Re: Question about auto-complete
Thanks guys for the quick response! I will use the TAB key for sure.
Re: Question about auto-complete
I have change to 'Enter' 
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Question about auto-complete
And by pressing Tab twice, the completion adds the matching keyword
(Procedure
EndProcedure, Enumeration
EndEnumeration etc)
Very usefull
If not, change:
Preferences > File > AutoComplete > [X] Add matching 'End' keyword...
(Procedure
Very usefull
If not, change:
Preferences > File > AutoComplete > [X] Add matching 'End' keyword...
Re: Question about auto-complete
I also prefer the [Enter] key.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Question about auto-complete
Nice! I wasn't aware of that. Thank you.Marc56us wrote:And by pressing Tab twice, the completion adds the matching keyword


