-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
click to expect the hover display information to be dynamically updated without refreshing the hover. #203767
Comments
Hi, thank you for writing this issue. Could you please include a bigger screenshot, and even preferably a video screen recording of the issue? I am not quite sure I understand where the issue is arising. |
When the hover content is updated, hover again and flashing occurs. Papers-1706620492516.mp4 |
Thank you very much for your reply😁 |
I see thank you for the update |
It seems to be the same issue as #195394. After the official version is released, I will verify it. |
This API will have to be adopted by the extension authors for the bug to be fixed. |
Ok I'll try it in my own extension |
Yes when it comes out, the API has not come out yet. You can track the state of that work on the issue you linked. |
🫡,谢啦! |
Verbosity Hover 能够实现我的需求,但在 automatic completion 中就失效了,其实,editor.action.showHover 就能满足,但在 hover Widget 中,这个命令并不会重新渲染 hover 能否让hover中命令文本:editor.action.showHover,能触发重新渲染hover |
Hi @OceanBelongsToMe apologies I do not speak Mandarin. Can you please explain your comment in English? |
Verbosity Hover can meet my needs, but it fails in Completion Hover. In fact, editor.action.showHover can satisfy it, but in hover Widget, this command will not re-render hover Widget. Can the command text in hover: editor.action.showHover trigger re-rendering of hover? |
Hi @OceanBelongsToMe I believe the current command already re-renders the hover when it is invoked. In the example you gave in the screen recording above, how do you update the hover contents (what is the code you use to update the hover contents?)? A potential feature request would be to update the contents of the hover without hiding the hover before and creating a new one. |
For example, the following markdown text is displayed through hover. Clicking the command "editor.action.showHover" will send a hover request to lsp, but after receiving the new hover, it will not be rendered.
|
I have added a custom command in the hover: ' However, the built-in event 'editor.action.showHover' does not re-render the hover after obtaining the new hover content. I can only choose to use the 'cursor move' command to trigger the re-rendering of the hover, but as you can see, this type of rendering first hides and then reappears. |
As shown in the picture, click to expect the hover display information to be dynamically updated without refreshing the hover.
The text was updated successfully, but these errors were encountered: