<p dir="auto">just like sublime does</p>
<p dir="auto">Currently VS Code prevents opening a folder more than once which makes it impossible to work on a project in multiple windows (e.g. on multiple displays).</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bpasero/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bpasero">@bpasero</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dbaeumer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dbaeumer">@dbaeumer</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/egamma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/egamma">@egamma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandrudima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandrudima">@alexandrudima</a> please raise any obstacles and issues you might foresee with this request.</p>
<p dir="auto">Issues found so far:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> we use the workspace path as identifier to communicate back from debug target to debug host</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> we need to verify cross platform that there is no code causing issues when running over the same root folder (e.g. file watchers)</li>
</ul>
<hr>
<p dir="auto"><strong>Please note:</strong> Initially I've created this feature request for a specific use case: enable debugging of multiple processes.<br>
In the meantime, debugging of multiple processes has become possible without the need for opening a folder more than once (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182017682" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/13426" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/13426/hovercard" href="https://github.com/microsoft/vscode/issues/13426">#13426</a>). But instead of closing this item (as no longer necessary), I've repurposed it by removing the specific debug use case.<br>
For transparency you can find the original comment below:</p>
<blockquote>
<p dir="auto">Currently it is not possible to debug more than one process from a single VS Code project (= window)<br>
because VS Code prevents opening a folder more than once.</p>
<p dir="auto">The workaround is to open VS code on a subfolder within the original folder, which means to restructure the project (which is not desirable).</p>
<p dir="auto">This feature request asks for lifting the constraint and allowing to open a project folder multiple times.</p>
</blockquote>