4 ms·
Same for me, copying out of a variety of editors/IDEs and it doesn't retain the font/syntax highlighting at all.
by jInflux 10y ago
Same for me, copying out of a variety of editors/IDEs and it doesn't retain the font/syntax highlighting at all.
- kahseng 10y agoDoes your IDE/editor support copying out as rich text? The ones I tried did and it worked. Maybe there's a setting for copying out with styles. If not, this isn't a use case I've primarily worked on yet, but I can try to support it later.
- wjoe 10y agoI can't see any such option in Atom, Sublime, or Eclipse to copy as rich text. To be fair I didn't really expect it to work with automagically copying the syntax highlighting from my IDE, but it made it sound like it could. It's definitely a useful project, and surprising that nothing else like it exists, but may be worth making it clearer that it's designed for rich text, and may or may not work with formatting when pasting for various programs.
- kahseng 10y agoFair, I think I extrapolated too eagerly. Will think of a solution, including dropping the code use case. Terminal and web based output works at least.
- deleted 10y ago[deleted]
- kahseng 10y agoHere are some extensions needed for this. Atom: https://atom.io/packages/copy-with-syntax https://atom.io/packages/copy-with-syntax VS Code: https://marketplace.visualstudio.com/items?itemName=atian25.copy-syntax https://marketplace.visualstudio.com/items?itemName=atian25.... Sublime Text: https://github.com/n1k0/SublimeHighlight https://github.com/n1k0/SublimeHighlight