-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support mode where only the root of a project tree is dumped and not it referenced projects #37
Comments
Actually the dump is OK since the
The dump also correctly contains two moniker definitions for the provider#add method. These are for the src/provide.ts in shared
and these for out/provide.d.ts referenced from client
So I think what is missing is that we provide a mode for the lsif-tsc tool to only dump the active / root project and not its dependent projects. |
@BertanAygun See my comments above. |
I agree having such a switch would be great in LSIF tools since knowing if a file actually belongs to a project or not may be something LSIF tool caller does not about since it would be language specific information. Ideally, LSIF output involving multiple projects would actually be distinct trees only joined by moniker vertices. Although I understand that there are some cases where files are shared such as 2 projects importing the same code file by path reference instead of project reference. |
OK. I updated the title accordingly. |
The vertex in question:
The text was updated successfully, but these errors were encountered: