title: What is the command to open a file in specified ViewColumn in VS Codium?
body: <p>How can I open a specific file in a specified split view with an built-in command in VS codium? Is that possible without writing an extension?</p>
  <p>I have a project, and I periodically I want to open a pair of files in specific way in split view. Let's mention them as <code>problem1.py</code> and <code>problem1.txt</code>. I want to programmatically open problem1.py in the left side, and the problem1.txt in the right side.</p>
  <p>I found an a documentation for the command <a href="https://code.visualstudio.com/api/references/commands#:%7E:text=opens%20the%20provided%20resource%20in%20the%20editor" rel="nofollow noreferrer"><code>vscode.open</code></a>:</p>
  <blockquote>
  <p>vscode.open - Opens the provided resource in the editor. Can be a text or binary file, or an http(s) URL. If you need more control over the options for opening a text file, use vscode.window.showTextDocument instead.</p>
  <ul>
  <li>uri - Uri of a text document</li>
  <li>columnOrOptions - (optional) Either the column in which to open or editor options, see vscode.TextDocumentShowOptions</li>
  <li>label - (optional)</li>
  <li>(returns) - no result</li>
  </ul>
  </blockquote>
  <p>In <code>keybindings.json</code> I created following statements:</p>
  <pre class="lang-json prettyprint-override"><code>    {
          &quot;key&quot;: &quot;numpad4&quot;,
          &quot;command&quot;: &quot;vscode.open&quot;,
          &quot;args&quot;: &quot;/home/user/myproject/README.md&quot;
      },
      {
          &quot;key&quot;: &quot;numpad6&quot;,
          &quot;command&quot;: &quot;vscode.open&quot;,
          &quot;args&quot;: [&quot;/home/user/myproject/README.md&quot;, &quot;1&quot;]
      },
  </code></pre>
  <p>Now when I press <code>numpad4</code>, it works perfectly, the readme file opens. But when I press <code>numpad6</code>, I get a notification:</p>
  <blockquote>
  <p>Unable to open '': An unknown error occurred. Please consult the log for more details.</p>
  </blockquote>
  <p>Am I passing parameters in a wrong way? Why it does not detect a filename? And I do not see whare to view a log.</p>
  <hr />
  <p>Additional info:</p>
  <p>VS codium version: 1.66.2.</p>
  <p>I saw a cli option <code>-r, --reuse-window</code>, but it has not control of in which view I want to open a file.</p>
  <p>I saw a <a href="https://stackoverflow.com/questions/56902750/how-to-open-file-into-vs-code-split-window-programatically/56903963#56903963">similar question</a>, but there the author wants to do it from extension, while I would prefer to not write an extension for this problem. Also, as documentation says, I think I do not need vscode.window.showTextDocument, as vscode.open should be enough for my task.</p>
  <p>Here is an enum list for available ViewColumn values: <a href="https://code.visualstudio.com/api/references/vscode-api#ViewColumn" rel="nofollow noreferrer">https://code.visualstudio.com/api/references/vscode-api#ViewColumn</a></p>