-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
What is best way to send emoji to sendInput action? #8809
Comments
The correct way to input an emoji depends on what you are doing. The first one works fine for sending the rocket emoji 🚀 with What are you trying to do, and what's happening? Is this the same report as #8808? |
For this issue here, I would like to edit settings.json mostly within vscode which supports emoji well. So as to my use case, I just want to print emoji by pressing a shortcut key. I thought Is it possible to get rid of the convertion step? For #8808 , I want copy 🚀 and paste it into terminal. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Hi, @zadjii-msft , could you please shed some light on my issue about
Is there an easy way to use emoji in settings.json as input for |
Not really - at the end of the day, the console is going to mangle the emoji in the input line. So you should be able to just have emoji directly in the file. However, that won't work today, because of the previously mentioned bugs. The console (and Terminal) can handle emoji output perfectly well, but emoji input doesn't work nearly as well. |
Got it. Thanks for the clarification. |
Description of the new feature/enhancement
Open vscode to edit the settings.json file.
Locate "actions" property in json file and add this one:
What I need to do to print emoji would be
Is it the best way to set emoji as argument of sendInput action? Or is there any better way to do that?
The text was updated successfully, but these errors were encountered: