Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Copy Code Snippet

%3CLINGO-SUB%20id%3D%22lingo-sub-386755%22%20slang%3D%22en-US%22%3ECopy%20Code%20Snippet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-386755%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anyone%20know%20of%20an%20easy%20way%20to%20copy%20code%20snippets%3F%20Every%20time%20I%20attempt%20to%20CTRL%20%2B%20A%20it%20selects%20the%20entire%20chat%20history.%20I%20would%20like%20an%20easy%20way%20to%20copy%20code%20snippets%20that%20are%20sent%20to%20me%20by%20my%20colleagues.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-386755%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChat%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-386997%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20Code%20Snippet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-386997%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BYeah%20I%20know%20you%20can%20do%20that.%20It%20just%20doesn't%20work%20very%20well%20for%20large%20code%20snippets.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-386995%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20Code%20Snippet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-386995%22%20slang%3D%22en-US%22%3E%3CP%3EApart%20from%20selecting%20it%20with%20the%20mouse%2C%20no.%20Teams%20can%20certainly%20use%20some%20basic%20text-editor%20improvements...%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Does anyone know of an easy way to copy code snippets? Every time I attempt to CTRL + A it selects the entire chat history. I would like an easy way to copy code snippets that are sent to me by my colleagues.

3 Replies

Apart from selecting it with the mouse, no. Teams can certainly use some basic text-editor improvements...

@Vasil Michev Yeah I know you can do that. It just doesn't work very well for large code snippets. 

You can copy the code snippet from the teams browser tab (https://teams.microsoft.com/)