We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
const c = project.getSourceFiles().map((a) => a.getReferencedSourceFiles());
Will only return relative file references. For example https://github.com/microsoft/vscode/blob/main/src/tsconfig.base.json#L16, and files imported using this custom path will not show in results.
The file I am testing is https://github.com/microsoft/vscode/blob/main/src/vs/editor/editor.main.ts, which will have no results.
Describe the solution you'd like
Return all references.
Describe alternatives you've considered
I don't know of a good alternative.
Side note: I am trying to navigate from one source file to another based on import paths. If someone has a good solution here, I am all ears.
The text was updated successfully, but these errors were encountered:
For anybody hitting this issue: you can patch
ts-morph/deno/common/ts_morph_common.js
Line 1160 in 556dbdc
to be something like
return fileOrDirPath.replace('/node_modules/vs/', '/vs/');
Sorry, something went wrong.
I'm also interested in this
I am interested on this feature too
No branches or pull requests
Is your feature request related to a problem? Please describe.
Will only return relative file references. For example https://github.com/microsoft/vscode/blob/main/src/tsconfig.base.json#L16, and files imported using this custom path will not show in results.
The file I am testing is https://github.com/microsoft/vscode/blob/main/src/vs/editor/editor.main.ts, which will have no results.
Describe the solution you'd like
Return all references.
Describe alternatives you've considered
I don't know of a good alternative.
Side note: I am trying to navigate from one source file to another based on import paths. If someone has a good solution here, I am all ears.
The text was updated successfully, but these errors were encountered: