Created
November 13, 2020 20:46
-
-
Save EmilyRosina/eef3aa0d66568754a98382121fefa154 to your computer and use it in GitHub Desktop.
VSCode config to get CTRL + click and Class intellisense working everywhere
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// This file is required for VSCode to understand webpack aliases | |
"module": "es6", | |
"moduleResolution": "node", | |
"compilerOptions": { | |
"resolveJsonModule": true, | |
"jsx": "preserve", | |
"module": "commonjs", | |
"target": "es5", | |
"sourceMap": true, | |
"allowSyntheticDefaultImports": true, | |
"baseUrl": ".", | |
// Relative to "baseUrl" | |
"paths": { | |
"@/*": ["./src/*"], | |
"mocks/*": ["./tests/unit/specs/__mocks__/*"], | |
"test-e2e/*": ["./tests/e2e/specs/*"], | |
"test-unit/*": ["./tests/unit/specs/*"] | |
} | |
}, | |
"exclude": [ | |
".git", | |
".app-cache", | |
".npm", | |
".npm-tmp", | |
"dist", | |
"dist*", | |
"node_modules", | |
"subfolder/dist", | |
"subfolder/node_modules", | |
"**/dist/*", | |
"**/node_modules/*" | |
] | |
} |
Hello Emily thank for the jsconfig, It's working fin, but I don't know about you but images file name are not auto suggested
Like : "assets/images/" is correctly suggested while I type but I don't have suggestions for the image file names inside.
@codiku-dev Hi, did you solve it? I think you probably need to add those extensions into a .d.ts
file for those images.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Links that helped me reach this working point 🎉