the lsp alias path complete assets not work #944
Unanswered
1096015776
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It's likely a configuration issue and not a problem with this server. I can't help you without seeing the exact code or having access to the project. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,I use this lsp in nvim,I found in jsconfig.json, add path @ to src,it can work,But some assets file not show in complete,example like:png,jpg,svg.
there is my jsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/": [
"src/"
]
},
"plugins": [
{
"name": "typescript-styled-plugin"
}
],
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"strict": true
},
"include": [
"src//*.ts",
"src//.d.ts",
"src/**/.tsx",
"src//*.vue",
"src//.js",
"src/**/.jsx",
"src//*.jpg",
"src//.png"
],
"exclude": [
"node_modules",
"**/node_modules/"
]
}
Beta Was this translation helpful? Give feedback.
All reactions