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

451
Vistas
VS Code is replacing text

Whenever I try to type console.log, the moment I press the full stop, VS Code replaces that text with crossOriginIsolated. The only way for me to actually type console.log is to type .log then type console in front of it. I like having the suggestions but when I press full stop it just replaces whatever text I'm trying to type.

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

Place this in your 'settings.json' file :

"editor.acceptSuggestionOnCommitCharacter": false,

To open the 'settings.json' file:

  1. cmd + , or ctrl + ,
  2. List item
  3. scroll down until you see 'Files: Associations'
  4. Click on 'edit in settings.json' paste the code above and save.

Besides that, you can type log and press Enter. It will autocomplete console.log

about 4 years ago · Juan Pablo Isaza Denunciar

0

This happens when you make a very specific typo while attempting to write console.log. Specifically, if you type consold or consolt. The D and T keys are both near the E key, so it's a plausible mistake to make.

The reason this occurs is that, when you type a non-existent symbol in vscode, it will attempt to auto-correct it by matching your with a real symbol that has all of those letters in that same order. This is a helpful rule often, especially for correcting missing-letter typos. For instance, "cosole" would autocorrect to "console" using this rule. There is exactly one valid JS symbol which has the letters c-o-n-s-o-l-d in that order and it's crossOriginIsolated:

enter image description here

There is unfortunately no way to disable just this one autocorrect suggestion by itself, but if you really feel you can't tolerate it, there is a more targeted solution than disabling autocorrect entirely. You can suppress this behavior by disabling autocorrect for variables only:

enter image description here

In my opinion, losing variable autocorrect is too great a price to pay to correct this behavior, so personally I've decided to just live with it.

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