Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dsifford
Copy link
Contributor

This PR simply adds in a project_root_callback for tsserver to make tsserver work as intended in projects that have nested tsconfig.json files.

I tested these changes in a repo I was having issues with and these changes resolved my problem.

Let me know if you need anything further.

Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. The root is never sent to tsserver, but the string can be used for running separate instances. Add a test for this. Look at tests that use AssertLSPProject.

@dsifford
Copy link
Contributor Author

@w0rp Look those over when you get time and let me know if I did that correctly.

Thanks

@w0rp w0rp merged commit aca1edb into dense-analysis:master Feb 11, 2019
@w0rp
Copy link
Member

w0rp commented Feb 11, 2019

Cheers! 🍻

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