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

194
Visualizações
How to remove files from auto-import/intellisense in VSCode

I don't ever want to import anything from storybook files, but they constantly pollute my intelli-sense.

Here is my jsconfig.json:

{
  "compilerOptions": {
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true,
    "module": "commonjs",
    "target": "es6",
    "jsx": "react",
    "baseUrl": "src",
    "paths": {
      "*": ["*", "src/*"]
    }
  },
  "include": ["src/**/*.js"],
  "exclude": ["dist", "node_modules", "**/node_modules/*", "src/**/*.stories", "src/**/*.stories.*"]
}

enter image description here

I have tried adding "src/**/*.stories" to the "exclude" option in jsconfig.json.

I've also tried various alternatives. One annoying thing is that this appeared to work with my Button example, but then I tried Spinner and files still aren't being filtered?

Is it anything to do with the fact that I'm including them before excluding?

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