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

267
Vistas
Why is my JavaScript file formatted oddly in IDEA?

I have a .js file. When I open it in Notepad++ the first two lines look fine like this:

(function(ns, $, undefined){
if(!ns.lang) { ns.lang = {}; }

When I open the file in Intellij it looks like this:

( f u n c t i o n ( n s ,   $ ,   u n d e f i n e d ) { 
 i f ( ! n s . l a n g )   {   n s . l a n g   =   { } ;   } 

It's not visible here. StackOverflow inserts space between nevery character but here is how it looks like in Intellij and in Chrome's inspect(images below). Weird character gets inserted between every code character.

What could be causing this? Notepad++ and Intellij is in UTF-8

enter image description here

enter image description here

about 4 years ago · Juan Pablo Isaza
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