Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 75 - Control Space (Auto Completion)  (Read 3059 times)
Reuben B.
Four Js
Posts: 1047


« on: June 17, 2021, 04:42:49 am »

I first became aware of this issue when I was on site at a customer in Asia.   The developers were typing in Genero Studio and weren’t using Auto Completion.  Auto Completion for those who aren’t aware is where the editor can offer a list of syntactically correct code that you can select as opposed to typing out in its entirety. 

The way it should work is you can press Control+Space (or select Edit>Completion->Auto Complete), a list of options are presented, and you can select an entry and carry on.  This improves developer productivity, particularly when dealing with long variable names.  Used correctly, you get it right first time and aren’t spending time trying to figure out why your code does not compile or run as expected because you have misspelled an identifier.

When investigating the reason these developers were not using Auto Completion, it was because the Control+Space accelerator was being mapped at the Operating System level to change the keyboard input used from English to Chinese and vice versa.  It turned out that this was a common issue impacting other code editors as well.  Fortunately you can configure Genero Studio to use alternative accelerators other than Control+Space for Auto Completion.

Read more at https://4js.com/ask-reuben/ig-75/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines