Closed tmythicator closed 3 years ago
Steps to reproduce
Cannot provide with sample file/project because of sensitive information
You can try to narrow down a reproducer without sensitive information?
I would do my best, but it may take quite a time
I got the problem fixed. The issue was that on specific folders of the project (e.g. the folder, where all jasmine tests are located) there was no hint for LSP client, which webpack configuration to use.
So for example, if you have the tsconfig.json
stored in ~/myProject/webpack/tsconfig.json
and there are some folder, like
~/myProject/app-test/jasmine/test/app/ui
where all the testing files are located, you need to manually add another tsconfig.json
file like that:
{
"extends" : "../../../../../../webpack/tsconfig.json",
"include" : [
"**/*"
],
"exclude" : [
"node_modules"
]
}
It looks like VSCode guesses the tsconfig.json
without this extra file. It would be nice, if VSCode would guess that good as well. Should we make a feature request for it?
It looks like VSCode guesses the
tsconfig.json
without this extra file. It would be nice, if VSCode would guess that good as well. Should we make a feature request for it?
make sense.
Marking as closed since it seems like there is nothing we can do on lsp-mode side(reopen if you disagree).
Thank you for the bug report
lsp-mode
related packages.where
lsp-start-plain.el
can be downloaded here. Alternatively, it will be great if you can reproduce the issue using lsp-docker which provides the minimal configurations forlsp-mode
and ships with most of the language servers.Bug description
I am currently working on a large codebase, where on most modules/directories the LSP-client starts without problem and offers functionalities. So I am using multiple workspaces.
But there is one workspace that throws an error almost immediately after successful initialization. After that it prompts for the workspace restart, but this doesn't improve the situation.
Steps to reproduce
Cannot provide with sample file/project because of sensitive information
Expected behavior
Should work without problems
Which Language Server did you use?
lsp-typescript
OS
MacOS
Error callstack
Anything else?
VSCode handles it without problems