Ce serait tout alors. vscode propose les formats suivants :
TIMESTAMP,TARGETS,SAVE_TARGETS,MULTIPLE,STRING,UTF8_STRING,TEXT,chromium/x-web-custom-data,text/html,text/plain,text/plain;charset=utf-8
et le text/plain est (par exemple) :
'use std::collections::HashSet;\nuse std::collections::HashMap;\nuse std::io::BufRead;\nuse std::fmt;\n'
tandis que le text/html est :
b'<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: \'Droid Sans Mono\', \'monospace\', monospace;font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div ><span style="color: #569cd6;">use</span><span style="color: #d4d4d4;"> std</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">collections</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">HashSet;</span></div><div ><span style="color: #569cd6;">use</span><span style="color: #d4d4d4;"> std</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">collections</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">HashMap;</span></div><div ><span style="color: #569cd6;">use</span><span style="color: #d4d4d4;"> std</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">io</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">BufRead;</span></div><div ><span style="color: #569cd6;">use</span><span style="color: #d4d4d4;"> std</span><span style="color: #d4d4d4;">::</span><span style="color: #d4d4d4;">fmt;</span></div><br></div>'