Forum Discussion
my-kl
May 12, 2021Brass Contributor
Why does Teams always strip indentation when pasting text?
It's fairly common to want to post code in teams (without using the special formatting for code snippets). The markdown like syntax for code works pretty well when typing code and it preserves ind...
- May 14, 2021
my-kl
So I got to the heart of the matter. I used the Clipboard Inspector to inspect the contents of clipboard when copying the same text from two different apps. Both have two entries. One of the entries is text/html and one is text/plain. The text/plain as you might guess is identical. The html is quite different. I then copied the html and rendered.
This is what I see from TextEditThis is what I see from Visual Studio Code
So this would appear to be an issue with my environment in Visual Studio Code (or even a defect in Code, I"m not sure)
dkaszews-intel
Mar 23, 2022Copper Contributor
Still a problem on 1.5.00.5967. Anything pasted gets its leading whitespace trimmed, even when pasting into code block (!), making it unusable for pasting any code. Code snippets are not viable workaround, as they cannot be quickly accessed with mouse and are automatically collapsed.
- krzysztowApr 25, 2022Copper Contributor
dkaszews-intel fully agree it's like a broken feature atm, not usable...