Open drago1520 opened 22 hours ago
Hello,
I am always getting [error] Error: Wrong [error] Error: Wrong languageId Error when trying to use the extention. I get intellisense only in the css file and ONLY for classes.
[error] Error: Wrong languageId
{ "files": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" } ], "compilerOptions": { "baseUrl": ".", "paths": { "@/*": ["./src/*"] } }, }
`{ "compilerOptions": { "baseUrl": ".", "paths": { "@/": ["./src/"] }, "target": "ES2020", "useDefineForClassFields": true, "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true,
/* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", /* Linting */ "strict": false, "noFallthroughCasesInSwitch": true, "allowJs": true, /* Allow JavaScript files to be a part of your program. */
}, "include": ["src/*/"], } `
`{ "compilerOptions": { "target": "ES2022", "lib": ["ES2023"], "module": "ESNext", "skipLibCheck": true,
/* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, /* Linting */ "strict": false,
}, "include": ["vite.config.ts"], } `
I tried it and didn't find a problem. Can you provide provide a minimal code example repo?
Hello,
Problem
I am always getting [error] Error: Wrong
[error] Error: Wrong languageId
Error when trying to use the extention. I get intellisense only in the css file and ONLY for classes.Configuration
tsconfig.js
{ "files": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" } ], "compilerOptions": { "baseUrl": ".", "paths": { "@/*": ["./src/*"] } }, }
tsconfig.app.json
`{ "compilerOptions": { "baseUrl": ".", "paths": { "@/": ["./src/"] }, "target": "ES2020", "useDefineForClassFields": true, "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true,
}, "include": ["src/*/"], } `
tsconfig.node.json
`{ "compilerOptions": { "target": "ES2022", "lib": ["ES2023"], "module": "ESNext", "skipLibCheck": true,
}, "include": ["vite.config.ts"], } `