Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

234
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda