-
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]: Warn user about missing feature #399
Comments
I’m not sure about this. What is the user supposed to do in response to the warning? Well there isn’t anything they can do. The result is that there are no completions available. Which is true whatever the reason for that. I mean feel free to try it, but I’m not sure spamming the user with warning they can’t actually fix is such a great solution. |
What do you think about creating a separate command to display summary of supported and unsupported features for given debug adapter? See the output from |
Funny I was actually thinking about exactly that recently for a different reason. I have an idea for this to create a VimspectorDebugInfo command (like YcmDebugInfo) that does some diagnostics, which would include printing the server capabilities. |
From a beginner's (in this topic) point of view it could save time needed to ensure that some disability comes from a missing feature and it is neither Vimspector nor nvim/vim bug. |
I didn't notified by GitHub about #406 before it was merged. Thanks. Info about
|
Missing means ‘false’ |
There is no |
Exactly. If the entry is not there, it means the adapter doesn't support it. |
Less advanced users (and me in case of possibly other capabilities) can be still confused as to why, for example, completion does not work (without browsing the code of Vimspector and the adapter). It would be good to list all the capabilities supported by Vimspector. |
it's a bunch of work that is quite low value imo, but I've added it to the backlog anyway |
I found (by inspecting the code of both sides) that vscode-php-debug does not support variable completion yet. The documentation of this adapter does not mention explicitly about it. On the other side Vimspector silently returns an empty result in such case.
Please warn user about missing feature (echomsg with echohl for example).
vimspector/python3/vimspector/debug_session.py
Lines 631 to 632 in 4e04a86
The text was updated successfully, but these errors were encountered: