quarto-dev / quarto-dev/quarto

Request textDocument/documentSymbol failed

Open
#642 1 comment 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jan 20, 2025.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

The following document will trigger parsing issue in the IDE (it renders correctly) which breaks completely the extension.

1.  Whatever

    ::: {layout="[0.60,-0.02,0.38]"}
    ![]({{< placeholder >}})

    ![]({{< placeholder >}})
    :::

{{< include empty-document.qmd >}}
[Error - 10:03:59 AM] Request textDocument/documentLink failed.
  Message: Request textDocument/documentLink failed with message: e.attrPush is not a function
  Code: -32603 
[Error - 10:03:59 AM] Request textDocument/foldingRange failed.
  Message: Request textDocument/foldingRange failed with message: e.attrPush is not a function
  Code: -32603 
[Error - 10:03:59 AM] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: e.attrPush is not a function
  Code: -32603 
[Error - 10:03:59 AM] Request textDocument/foldingRange failed.
  Message: Request textDocument/foldingRange failed with message: e.attrPush is not a function
  Code: -32603 

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.