Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Cyanite84917y@DjWawa
I don't have any installed, but I paste constantly into Telegram and it's alway just text. -
also those white lines in between are really annoying after looking at it for a few seconds
-
I use VS code as a task manager/note pad and just copy paste things from there. Sometimes it is indeed a bit of pain, but hey with great power comes great responsibility 😂
-
byte32817y@DjWawa when coping to another IDE/editor the other IDE will overwrite the highlighting and background color with its own setting keeping the indentation as it is
Tried from VSC -> Atom, VSC -> Notepad++ -
The reason this happens is because all your code is being pasted as formatted <SPAN> tags (remember, formatted emails are HTML). If your mail client supports HTML editing, try pasting the code into a <DIV> element with the same background colour.
-
@Cyanite If the client doesn't support plain text pasting, just paste it into Notepad and copy again from there.
-
HAlex27757y@DjWawa I think it's awesome
One day I had to copy some code from IntelliJ to Google Docs, it was all highlighted and colored, so I made a table with the same background and it was just awesome!😂 -
px0622427yWhy would you ever send code inline with an email lol? You can use pastebin, gist and a million other sources to share code. Or even send it as a file.
-
Cyanite84917y@px06
I wanted to make sure it was seen. Call me untrusting, but people can easily ignore a link or a file.
Related Rants
I sent and email of some code to someone, and when I coppied from VScode into the Email Cliant it saved the Background Color + Syntax Highlighting 😆
rant
syntax highlighting
windows "mail"
vscode