asciidoctor / asciidoctor-intellij-plugin

AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)
https://intellij-asciidoc-plugin.ahus1.de/
Apache License 2.0
355 stars 145 forks source link

code folding ifeval, ifdef, ifndef tags. #482

Open pbrentlinger opened 4 years ago

pbrentlinger commented 4 years ago

Enhancement request: code folding for ifeval, ifdef, ifndef tags.

// examples:

ifeval::[{localvar} == true] thing to appear when local var is true endif::[]

ifdef::env-github[] This content is for GitHub only. endif::[]

ifndef::env-github[] This content is not shown on GitHub. endif::[]

AsciiDoc Plugin Version: 0.30.69

PyCharm 2020.1 (Professional Edition) Build #PY-201.6668.115, built on April 7, 2020 Licensed to Patrick Brentlinger You have a perpetual fallback license for this version Subscription is active until April 12, 2021 Runtime version: 11.0.6+8-b765.25 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.4 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8 Non-Bundled Plugins: com.paperetto.dash, net.seesharpsoft.intellij.plugins.csv, org.asciidoctor.intellij.asciidoc, NodeJS, com.jetbrains.edu

ahus1 commented 4 years ago

Thanks for suggesting this. It seems to be a reasonable enhancement.