Closed dimaslanjaka closed 4 years ago
/needsMoreInfo
I have installed vscode system (not user) on my windows 10. Sometime TS/JS Server not completely Initialized. At bottom left corner still showing "Initializing TS/JS intelisense" more than 30 minutes. I dont know why, but i have laptop with RAM 8 GB 1TB HDD.
my typehint of typescript (*.d.ts) not working if TS Server not completely Initialized. :(
I also doing restart pc, restart vscode without plugin. But, it's not fixed. Please help
This is my settings of .vscode workspace https://github.com/dimaslanjaka/universal-framework/tree/master/.vscode
and also, if TS Server not complete initialized. Some extension formatter (like: prettier) not working, and showing notification Formatting in progress but not complete more than 5 minutes (i cancel it, and saved not formatted)
look
Its fixed with editing tsconfig.json
/*
* VSCode Typehinting Module
*/
{
"compilerOptions": {
"module": "CommonJS",
"skipLibCheck": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "tmp/ts",
"outDir": "tmp/js",
"allowJs": true
},
"include": [
"./libs/src/**/*",
"./libs/js/**/*",
"./views/**/*",
"./src/MVC/themes/**/*",
"./assets/node/**/*"
],
"exclude": [
"node_modules",
"**/node_modules/*",
"./src",
"./vendor",
"./tmp",
"./assets/js",
"**.min.js",
"**/*.min.js",
"./src/MVC/themes/assets/js",
"./libs/compiler/**/*",
"./libs/src/compiler/framework.js",
"./libs/compiler/framework.js",
"**/framework.js"
]
}
Steps to Reproduce:
Screenshot:
Still not complete (initializing loop)
My package.json