Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include file not found in nested include is highlighted in first line of the master document #550

Closed
marius-turtle opened this issue Sep 14, 2020 · 2 comments

Comments

@marius-turtle
Copy link

Experiencing an IDE-error cf. picture, in the manual documentation itself, saying

include file not found: doctoolchain/build/docs/contributors/manual/04_further_reading.adoc 
(doctoolchain/src/docs/manual/feedback.adoc, line 6)
(uri:classloader:/gems/asciidoctor-2.0.10/lib/asciidoctor/reader.rb:preprocess_include_directive)

image

AsciiDoc Plugin Version: 0.31.27

IDE Name and Version: IntelliJ 2020.2.1

@ahus1 ahus1 changed the title include file not found > feedback.adoc include file not found in nested include Sep 14, 2020
@ahus1 ahus1 changed the title include file not found in nested include include file not found in nested include is highlighted in first line of the master document Sep 14, 2020
@ahus1
Copy link
Contributor

ahus1 commented Sep 14, 2020

When rendering the preview, a nested include is mission.

The plugin currently maps all errors that occur outside of the current document to the first line of the document.

What would be the behavior you expect?

@ahus1
Copy link
Contributor

ahus1 commented Sep 26, 2020

The next upcoming release highlight errors in the parent files on the correct line, event for nested includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants