Closed lvjr closed 8 months ago
We use viewcolumn.beside https://github.com/Enter-tainer/typst-preview/blob/main/addons/vscode/src/extension.ts#L449
VSCode api provide other types but they don't look interesting. I think maybe it vscode's limitation? Is there any extension that opens a new window can correctly position itself? I can take a look at its code find out how to do this.
When I use latex-workshop extension to typeset latex documents, the position of the preview is correct in two-row layout.
ty, i will look into that
Describe the bug
It seems typst-preview doesn't check current layout and always opens preview on the right side of the window.
To Reproduce Steps to reproduce the behavior (Library test):
Expected behavior The preview should appear on the bottom of the window. But it always appears on the right.
Package/Software version:
VSCode version(Help -> About):
typst-preview extension version:
v0.10.10