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
feat: support inlay hints #452
Conversation
Looks good. |
Ok, done. But there are some issues: |
@oxk4r01 This PR is implement in 0.27.13, how do you update to 0.28? |
VSCode downloaded automatically v0.28. I had to disable auto updating for the extension. |
@oxk4r01 This feature is not available in the automatically updated version, because vscode does not allow release experimental features, please wait for this feature to leave experimental on vscode. |
Then maybe it changed the version due to the sync settings config. I have v0.28 in another computer. I don't know. |
5cf2df9
to
063e66e
Compare
25798c7
to
87e1627
Compare
9f58be3
to
560b89b
Compare
Would you like to give this a new try? 😃 |
Can't implement yet, still have to wait to out of proposed in vscode. |
LSP Issue: microsoft/language-server-protocol#956
Document: https://code.visualstudio.com/updates/v1_60#_inlay-hints-for-javascript-and-typescript
This feature still in VSCode Proposed API, LSP don't support yet, currently implement by VSCode client API, and only able to test in VSCode Insider.
Setup:
code-insiders . --enable-proposed-api johnsoncodehk.volar
.npm run pack
command)inlayHints
in VSCode settings and enable features your needs.Reference: https://code.visualstudio.com/api/advanced-topics/using-proposed-api#sharing-extensions-using-the-proposed-api