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

195
Vistas
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 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