-
Notifications
You must be signed in to change notification settings - Fork 24
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
copy-formatted-for-elm-repl: copy selected code into clipboard formatted for pasting into repl #167
Comments
It seems like copying with newlines escaped could be useful for a text editor in general. Maybe it could be made into its own package? (I didn't see an existing package like this during a quick search). |
@stepheneb, the feature shouldn't be hard to implement, but it would be a special copy command (e.g. |
That would be fine!
Also if you want to outline where changes should be made I'm also happy to
try and implement the feature and generate a pull request.
…On Tue, May 21, 2019 at 4:24 AM halohalospecial ***@***.***> wrote:
@stepheneb <https://github.com/stepheneb>, the feature shouldn't be hard
to implement, but it would be a special copy command (e.g. Elmjutsu: Copy
For Repl). Are you okay with that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#167?email_source=notifications&email_token=AAABYFFV4RUQACUXHOJ6BGDPWOWSJA5CNFSM4HL6ATHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV3EWYQ#issuecomment-494291810>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAABYFB4O5DC33O4JV3YJKLPWOWSJANCNFSM4HL6ATHA>
.
--
Be curious and kind whenever possible, https://learnmaketeachshare.org/
|
@stepheneb, you can add the command in Somewhere here:
|
I'd like to be able to copy selected multiline Elm code into the clipboard and be able to paste it into the elm repl formatted to be able to be successfully evaluated.
I'm curious whether this is possible ... and how hard it would be -- or maybe it already exists??
For example this code copied and pasted into the elm repl generates an error:
Adding
\
at the end of each line except for the last allows the repl to evaluate it successfully:The text was updated successfully, but these errors were encountered: