title: Is there a way to open a workspace from an extension in VS Code?
body: <p>I'm developing an extension that programmatically create a <code>*.code-workspace</code> file and I'd like to open it in the current window. Is there a way? Alternatively, it can open up a new window.</p>