GithubHelp home page GithubHelp logo

Comments (6)

joaompinto avatar joaompinto commented on May 25, 2024 1

Thanks for reporting. Working on it right now.

from asciidoctor-vscode.

joaompinto avatar joaompinto commented on May 25, 2024

Can you please provide me an example .adoc ?
Thanks

from asciidoctor-vscode.

AKhranovskiy avatar AKhranovskiy commented on May 25, 2024
Sample adoc with crash
=======================
:toc:
:numbered:

== Header
== Header
=== Header

Open preview, click on item in TOC.
Result: crash.

from asciidoctor-vscode.

nkrauth avatar nkrauth commented on May 25, 2024

I'm still facing the issue with version 0.3.2 of the plugin. VScode Version is 1.10.2.

It happens every time when clicking on a link but also randomly when working on documents.

from asciidoctor-vscode.

nkrauth avatar nkrauth commented on May 25, 2024

Another scenario that results in the error popup: "Unable to open '/Preview: 'filename.adoc'': Cannot read property 'document' of undefined.":

  1. open the sample document provided above in VScode and display the adoc-Preview
  2. open a copy of the same document in the same instance of VScode and display the adoc-Preview
  3. switch back to the tab of the first document

from asciidoctor-vscode.

joaompinto avatar joaompinto commented on May 25, 2024

The links in the TOC is now fixed on 0.3.3, I have open issue #13 for the multiple tabs crash, this is a different issue. The TOC-alike crash would also happen on any kind of link to local document sections.

from asciidoctor-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.