-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug: normalize path after combining #21100
Conversation
Is this fix in the released version? Face the issue: build is OK but vscode says error. |
@web-dave It's possible that vscode is using a different TypeScript version than your build. Could you check that both are using |
@Andy-MS I'm running 2.7.1 in my workspace and with vscode. But I don't get code completion running as expected (it would work with |
@baflo I was able to get completions in tsconfig.json: {
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@app/*": ["./app/*"]
}
}
} src/a.ts: src/app/b.ts: Does this work for you? If so, could you try and get a simplified version of your situation that doesn't have the completions? |
Hey @Andy-MS , I played a bit with your config. And I kind of get positive results. But not continuously. Say I have your structure, but additionally a folder src/c with files src/c/c.ts and src/c/index.ts, then I can resolve b.ts but not files in src/c (only when I manually add the With the |
@baflo Thanks, looks like that was a bug that didn't show up in tests due to our test host differing from the real one. |
Fixes #19113 (the one remaining bug as far as I can tell)
(Continuation of #21072)