Skip to content

Smart send warning message feedback #22558

Open

Description

@mjbvz

Testing #22536

Image

  • What is the code provided? I think it's the current file but it's not clear
  • What is smart send?
  • Should there be a button that tries running the code without using smart send?

Overall I find the warning difficult to understand. I think it would be clearer if it stated the following in in this order:

  • What happened at a high level (we couldn't run the selected code)
  • Why it happened (we couldn't parse the current file to determine what code to run)
  • How to fix the problem (either make a manual selection or disable smart send)

Activity

  1. movy commented on Jun 7, 2024

    @movy

    Since this issue is #1 on google, I have exact same questions:

    • what is Smart send?
    • how to turn it off?

    Looks like it invokes randomly, but has no traces in command palette or keyboard shortcuts.. and has a sneaky name also, like is my code sent somewhere based on some involuntarily invoked condition? So many questions without answers.

  2. anthonykim1 commented on Jun 7, 2024

    @anthonykim1

    Smart send is triggered via key binding shift+enter
    You may find little description of it in the settings itself where you could also turn off the setting.
    If you turn off the setting for smart send, every instance of shift+enter will send things to terminal exactly as you specify/highlight or just a single line if you shift enter on a blank line.
    Screenshot 2024-06-07 at 3 50 00 PM

    Feel free to turn off this setting in by easily clicking on your settings icon and then searching for 'smart send'

    Screenshot 2024-06-07 at 3 47 58 PM

  3. John-Polo commented on Jun 11, 2024

    @John-Polo

    tldr; I have tried on several occasions to find the documentation that matches the explanation provide by anthonykim1. Finally, I know how to activate/deactivate it.

    I like the Smart Send. I have accidentally turned it off before. I could find nothing that explained how to change it's status. I just got the message referenced by OP, recognized it, and searched for it, and ended up here. This is the first time I have found anything approaching documentation that explains how to change it. I have looked all over stackoverflow for answers and tried different macros and other JSON settings and couldn't figure out how to turn it back on. Maybe because I couldn't remember the exact name of the feature after turning it off by accident, but the VS Code documentation could do a better job at addressing this feature.

  4. github-actions commented on Jul 13, 2024

    @github-actions

    Hey Anthony Kim (@anthonykim1), this issue might need further attention.

    Matt Bierner (@mjbvz), you can help us out by closing this issue if the problem no longer exists, or adding more information.

  5. anthonykim1 commented on Jul 25, 2024

    @anthonykim1

    John Polo (@John-Polo) Thanks for feedback here. I would bring this up to the team so we can provide better documentation on smart send.

    Coming back to this sort of message/warning for sending commands to REPL (both terminal and native REPL), wondering what people think about the way Julia extension is handling things. When you shift+enter on a julia file, it sort of blinks and shows little hint on what is being sent to the REPL as well as the colorization depending on the success/failure output.
    Screenshot 2024-07-25 at 12 03 49 PM

  6. added
    feature-requestRequest for new features or functionality
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Jul 25, 2024
  7. github-actions commented on Aug 25, 2024

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

  8. anthonykim1 commented on Aug 26, 2024

    @anthonykim1

    Reopening this since this is fair/valid.

  9. added
    needs proposalNeed to make some design decisions
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Dec 5, 2024
  10. AttaData750 commented on Feb 24, 2026

    @AttaData750

    A smart send warning pop up arose during coding and I changed the settings in a way I did not understand and did not want, which took some time to resolve, as it changed the VScode setting more than I wanted. I would have preferred to have received the pop up inviting change, when the current settings were functioning correctly. Such changes to VScode settings should, I think, be more guarded,
    Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions