Add live template for config section
See original GitHub issueThe pre-defined live templates are a great feature! A template which shows examples for the various config attributes of AsciiDoc could be helpfull since it is hard to remember them all. Maybe we could cluster them:
ad-config-i18n
:caution-caption: Caution
:important-caption: Important
:note-caption: Note
:tip-caption: Tip
:warning-caption: Warning
:appendix-caption: Appendix
:example-caption: Example
:figure-caption: Figure
:table-caption: Table
:toc-title: Table of Contents
ad-config-toc
:toc-title: Table of Contents
:toc-placement: auto
:toclevels: 4
:sectnums:
:sectnumlevels: 2
:sectanchors:
:sectids:
:sectlinks:
ad-config-pdf
:pdf-page-size: A4
:pdf-stylesdir: ../pdfTheme
ad-config-render
:icons: font
:imagesdir: images
::doctype: book
I guess the change has to be applied to https://github.com/asciidoctor/asciidoctor-intellij-plugin/blob/master/src/main/resources/liveTemplates/AsciiDocLiveTemplates.xml
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Live templates | IntelliJ IDEA Documentation - JetBrains
To configure live templates, open the Editor | Live Templates page of the IDE settings Ctrl+Alt+S . On the Live Templates page, you...
Read more >Adding Live Templates to a Plugin / IntelliJ Platform SDK ...
Run the plugin in a Development Instance and verify there is a new entry under Settings/Preferenes | Live Templates | Markdown | {...
Read more >Switching templates in version 7.0 - Squarespace Help Center
You can install, preview, and switch templates at any time, as many times as you'd like. Only one template will be live to...
Read more >Live Template not working in Kotlin - Stack Overflow
Yet not added log template in Kotlin Live templates section in Android Studio. ... The config folder for your Android Studio can be...
Read more >javidalpe/laravel-blade-phpstorm-live-template - GitHub
PhpStorm Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I suppose ad-config-i18n and ad-config-toc would be the two most useful. I am not sure about the other two.
I suggest adding line comments explaining each option to the user. The user can later remove the comments if they don’t need them any more (there is Ctrl+Q to look up the docs for each attribute but not everyone knows about this).
You probably want to add
partnumsif you’re addingsectnums.