Skip to content

[BUG] how to manage multi-file/multi-folder projects #123

@DaitiDay

Description

@DaitiDay

Before you start

Describe the bug
Currently I am working on a file and have to display some figures. These figures are in a different subdirectory of the main project directory with respect to the file I'm editing.
When I open the preview I get nothing.
Checking LspLog only shows that the compilation was successful.
Moving the images in the same folder as the file fixes the problem, so I guess is a path issue.
Looking at the tinymist github page I found a proposed solution by changing the root_dir variable, but that did not fix the issue. Looking at typst-preview config.
I saw it automatically checks for a typst.toml file, so I created one in the root project folder, but still no preview. Checking the tinymist config with the file open shows that the workspace variable is set to the correct path (root project directory).
Any idea what may cause this/how can I solve this problem?

Expected behavior
Live preview working for multi-files/multi-folders projects

Desktop (please complete the following information):

  • Ubuntu via WSL2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions