-
Notifications
You must be signed in to change notification settings - Fork 175
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
[Feature Request]: UI: show the status of listening #400
Comments
Doesn't it clear the stack trace, locals and watch windows when it disconnects? |
All windows are clear but after reconnecting with |
I guess the best I could come up with is some sort of function that could be incorporated into a statusline. Perhaps some community members could contribute something to the various |
From the point of view of my needs, the autocommands seem basic and the query and its result - additional and nice to have. WDYT about the following scenario:
autocmd User VimspectorAdapterStartedListening <buffer> ++nested
\ let t:vimspector_listening_status = vimspector#some_ns#queryStatus()
" or simpler, without querying
\ let t:vimspector_listening_status = v:true
\ call refresh#you#presentation#layer() " e.g. statusline and similarly for stopping. It can avoid executing unneeded queries to Vimspector. If Vimspector were provide such tab-level boolean variable (UI seems to be associated with tab) then the above assigning would be unneeded. |
Often I have to run something again (and prepare the case before) because I forgot that I previously stopped execution by
<Plug>VimspectorStop
and disabled listening as a result.It would be nice to see on UI if the adapter is still listening without running
<Plug>VimspectorContinue
to ensure that.I don't know how much adapter-specific is it. I have no proposition how it would be presented.
The text was updated successfully, but these errors were encountered: