Can I hide typescript autogenerated .js and .map.js files in atom? Can I hide typescript autogenerated .js and .map.js files in atom? typescript typescript

Can I hide typescript autogenerated .js and .map.js files in atom?


Atom respects .gitignore and will grey out any files matching your .gitignore which you place in the root of your project. This should be sufficient to ignore generated files:

*.js*.jsx

In addition, your tsconfig.json can output all your files into another path. For example:

{  "version": "1.6.2",  "compilerOptions": {    "outDir": "build"    "sourceMap": true  },  "filesGlob": [    "./src/**/*.ts",    "./src/**/*.tsx"  ]}

This will inform tsc and atom-typescript to output all the TypeScript files located in src into build.


Even better, the tree-view component in atom also has a setting to not show gitignored files at all:enter image description here

It's the "Hide VCS Ignored Files" setting