-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Can we have actions to copy an expression's full value? #1474
Comments
Relates a bit to #1062
I'm a bit confused about this - there's currently no trimming happening for the The most what a "Copy value" could do would be to avoid having to skip the name part. E.g. in:
If the cursor is on |
Thanks for reply!
I think it might be tsserver-specific - basically, without
Not sure if I understand you here - with the current "Copy as expression" (I'm talking about the one on pic2) only the name part is copied (e.g.
I haven't had such a use-case, I just copy strings mostly, but I guess a user could go to repl to get a better format then ![]() ![]() |
That's good information, thanks. I wasn't aware that some adapters do that. |
Problem Statement
I saw there is an action in the hover widget "Copy as expression", which copies the field's path (I'm talking about vtsls, but I guess it works the same everywhere), but it would be great to be able to copy the expression's value itself (especially when it's a very long string, which gets truncated with an ellipsis somewhere in the middle - both in repl and hover).
Possible Solutions
With repl I currently use sth like this
and with hover widget actions I guess it would be similar - just add an action that copies the expression with clipboard context
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: