-
Notifications
You must be signed in to change notification settings - Fork 167
Implement inlay hints #259
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
Implement inlay hints #259
Conversation
I have fixed the crash in test-utils on master so if you merge latest version, it should work better. That said, I would like to ask you to add some tests for the feature, if possible. |
@rchl What kind of test do you expect? What should it test? That we call tsserver with the correct arguments? |
Make a new InlayHints request on a certain document and verify that the expected inline hints are returned. Something simple similar to typescript-language-server/src/tsp-client.spec.ts Lines 53 to 66 in 413527d
|
@rchl I've pushed a test |
61af30d
to
f5cbc8c
Compare
@rchl I've pushed some changes |
@rchl Once more, I think I addressed all comments :) |
Let me know if you are fine with my minor changes. |
@rchl Looks good to me |
Thanks! |
@rchl can we get this released on npm? Or would we need more PRs to be merged for that? |
Done. |
Fixes #258
Support inlay hints feature from Typescript 4.4