Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

235
Views
ACE Editor - enableLiveAutoCompletion - Disable Auto Select

I have enableLiveAutoCompletion set to True which works great, except that our users do not want the first word to be automatically selected. For example, if the last word in a line of code is "x" and the user hits enter the first auto complete suggestion for the word x is auto filled.

autocomplete

Is there any way to disable the automatic selection of the first word suggestion on enter and force the user to use arrow keys? Or perhaps is there a way I add a blank keyword to the keyword list that is always matched by the completer function?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This looks like a bug in language_tools.js#L166 not resetting the value set from autocomplete.js#L496

the following hack seems to work around it

if (editor.completer) delete editor.completer.autoSelect
var Autocomplete = ace.require("ace/autocomplete").Autocomplete;
Autocomplete.prototype.__defineSetter__("autoSelect", function() { })
Autocomplete.prototype.__defineGetter__("autoSelect", function() { })
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!