Skip to content

viewColumn assignment won't open in rightmost position #106973

@alyssajotice

Description

@alyssajotice
  • VSCode Version: 1.49.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open two files in separate editors in VS Code
  2. In extension development code, utilize the VS Code API to designate extension behavior to open a new editor (of type webViewPanel) in the specified viewColumn.
  3. Specify the viewColumn = 1+ (current number of editors open)

Expected: The new editor will open in a new, right-most column.

Actual: The new editor opens as a tab inside a new column, in between the two open editors.

Does this issue occur when all extensions are disabled?: Yes/No

I am currently trying to use the VS Code API for extension development. The behavior I am trying to achieve is to open a new webViewPanel editor on the rightmost column on the screen. I have tried assigning the viewColumn of the new editor to all available options shown in the API, but the editor opens in between the currently opened editors.

https://code.visualstudio.com/api/references/vscode-api#ViewColumn

Metadata

Metadata

Assignees

Labels

help wantedIssues identified as good community contribution opportunitieswebviewWebview issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions