tinymist icon indicating copy to clipboard operation
tinymist copied to clipboard

Outline is not working even though other are working fine

Open akshaybabloo opened this issue 1 year ago • 1 comments

Describe the bug

When I click on the outline tab under Tinymist I get this line - There is no data provider registered that can provide view data. - I have a configuration in settings.json

{
    "tinymist.exportPdf": "never",
    "tinymist.fontPaths": [
        "fonts"
    ],
    "tinymist.typstExtraArgs": [
        "main.typ"
    ],
}

Everything else seems to be working except the outline tab. There are no errors in the logs about this.

Package/Software version:

VSCode version(Help -> About):

Version: 1.97.0
Commit: 33fc5a94a3f99ebe7087e8fe79fbe1d37a251016
Date: 2025-02-04T22:41:26.688Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-52-generic

tinymist extension version: v0.12.15. Get it by tinymist --version in terminal.

tinymist 
Build Timestamp:     2025-01-09T14:33:06.617213534Z
Build Git Describe:  v0.12.18
Commit SHA:          c2aa453af444a98de34b9bc8533dd937bac87bc9
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-unknown-linux-gnu
Typst Version:       0.12.0
Typst Source:        git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist-v0.12.0#58426a90a7ef721738a01be09793d33e55eb75a9

Logs:

tinymist server log(Output Panel -> tinymist):

No Logs

tinymist client log(Help -> Toggle Developer Tools -> Console):

No Logs

Additional context

None.

akshaybabloo avatar Feb 09 '25 00:02 akshaybabloo

The document outline preview is tightly coupled with the document previewing feature (tinymist preview). It means you can only have outline when you start to preview it. It is somehow like a feature and not a bug, and we could improve it in future.

Myriad-Dreamin avatar Feb 22 '25 12:02 Myriad-Dreamin

Is this also the reason why only a part of the functions is displayed in the outline?

q-wertz avatar Jun 12 '25 06:06 q-wertz

Is this also the reason why only a part of the functions is displayed in the outline?

This may be another issue.

Myriad-Dreamin avatar Jun 30 '25 03:06 Myriad-Dreamin