-
Notifications
You must be signed in to change notification settings - Fork 97
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
Autocompletion for references #648
Comments
Are you talking specifically about Antora xref or AsciiDoc xref? |
Agreed! This would be a nice feature :))) |
The IDs that can be referenced are these ones? https://docs.asciidoctor.org/asciidoc/latest/attributes/id/ @Mogztter Do we already have an utility parsing .adoc files to retrieve all IDs of a document? I think that we can split this task with:
|
I guess you can
|
Yes I think we should restrict to |
part of asciidoctor#648 - it was broken during enforcing code style, the regular expression was not correctly converted asciidoctor@cd477c7 - added a test - The previous was not very nice in the sense that it is not inserting the file path but only the label, but maybe it is enough if there is the right include? Signed-off-by: Aurélien Pupier <[email protected]>
longhand notation I.e. with [#myId] and [id=myId] part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
After I discovered that some part was already implemented and based on first feedback on my 2 initial pull requests, Here is a new proposal to the split of tasks:
|
longhand notation I.e. with [#myId] and [id=myId] part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
it will allow to compliant with VS Code web part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
one test provided when at same level todo: - test with file at different level - implement the feature :-) part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
longhand notation I.e. with [#myId] and [id=myId] part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
it will allow to compliant with VS Code web part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
one test provided when at same level todo: - test with file at different level - implement the feature :-) part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
it will allow to compliant with VS Code web part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
it will allow to compliant with VS Code web part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
it will allow to compliant with VS Code web part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
part of asciidoctor#648 Signed-off-by: Aurélien Pupier <[email protected]>
Similar to autocompletion for image and include files (#377), I would like to use autocompletion for internal and external references.
Details:
Background:
We import requirements from a requirement management tool and reference them in the text. Autocomplete would reduce errors and provide better efficiency.
The text was updated successfully, but these errors were encountered: