Skip to content
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

Document directly under projectRoot is not working #11

Open
LukaszMendakiewicz opened this issue May 21, 2019 · 0 comments
Open

Document directly under projectRoot is not working #11

LukaszMendakiewicz opened this issue May 21, 2019 · 0 comments

Comments

@LukaszMendakiewicz
Copy link

  1. Create lsif file with the following content:
{"id":0,"type":"vertex","label":"metaData","version":"0.3.1","projectRoot":"file:///d:/LSIF_test"}
{"id":1,"type":"vertex","label":"project","kind":"cpp"}
{"id":2,"type":"vertex","label":"document","uri":"file:///d:/LSIF_test/file.txt","languageId":"cpp"}
{"id":3,"type":"edge","label":"contains","outV":1,"inV":2}

(Note projectRoot is file:///d:/LSIF_test and document is a direct child: file:///d:/LSIF_test/file.txt)

  1. Open the lsif file.

Expected: file.txt is listed in Explorer.
Actual: Expander in Explorer is spinning for minutes before crashing.

  1. Modify the lsif file to change the document URI to include a subfolder, e.g. file:///d:/LSIF_test/x/file.txt (note /x/ added).
  2. Observe the lsif file now opens successfully and lists file.txt (under x node).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant