Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

266
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda