Tom Smykowski
Sep 23, 2021

--

Hello Adam, thank you for the question. I indeed forgot to include doc function. The article is now updated with that function, fyi, here it is as well:

export async function doc(content: string, language?: string) {

return await vscode.workspace.openTextDocument({

language,

content,

});

}

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

🚀 Senior/Lead Frontend Engineer | Angular · Vue.js · React | Design Systems, UI/UX | Looking for a new project! 📩 contact@tomasz-smykowski.com

No responses yet