Skip to content

Conversation

@Abbyyan
Copy link

@Abbyyan Abbyyan commented May 29, 2020

No description provided.

@MaskRay
Copy link
Owner

MaskRay commented Jun 11, 2020

The expected behavior is to index the symlink. What particular problems do you want to address?

@Abbyyan
Copy link
Author

Abbyyan commented Jun 18, 2020

I have a directory whose structure is just like follows.
image
When i use vscode to open ~/workspace/test1/test2.cpp, its uri will be /home/username/workspace/test1/test2.cpp. But when i use ccls now, ccls will response file not indexed and all the lsp function can't worked.

But now it seems the fix method has some problems. For example, when the uri in the request is a soft link /home/username/workspace/test1/test2.cpp, the uri in the response will be /home/username/workspace/test2/test2.cpp. The diagnostic will only appear on the file /home/username/workspace/test2/test2.cpp. Could you give me some suggestions about how to deal with softlink path files with ccls, please? Thanks a lot.

@MaskRay
Copy link
Owner

MaskRay commented Jul 4, 2020

See #102 and #314 for some discussions.

See #661

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

Successfully merging this pull request may close these issues.

2 participants