ad-tag-include shows up in non-asciidoc files' auto complete
See original GitHub issueObserved vs. expected behavior
ad-tag-include shows up on auto complete everywhere, instead of only in asciidoc files.
Steps to reproduce
Type a in any open editor that is not an asciidoc file(a rust file in this image)

Environment
Plugin Version: 0.32.7 IntelliJ Details: CLion 2020.3.1 Build #CL-203.6682.181, built on December 30, 2020 Runtime version: 11.0.9.1+11-b1145.63 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 5.9.14-arch1-1 GC: ParNew, ConcurrentMarkSweep Memory: 1987M Cores: 4 Registry: run.processes.with.pty=TRUE, debugger.watches.in.variables=false, ide.tree.collapse.recursively=false, ide.balloon.shadow.size=0 Non-Bundled Plugins: GLSL, IdeaVIM, Key Promoter X, SmarterEditor, String Manipulation, com.alayouni.ansiHighlight, com.chrisrm.idea.MaterialThemeUI, com.fernandojimenez.obsidian.theme, com.intellij.copyright, com.intellij.ideolog, com.intellij.plugins.visualstudiokeymap, com.intellij.plugins.vscodekeymap, com.mallowigi, com.nasmlanguage, com.samdark.intellij-visual-studio-code-dark-plus, idea.goyacc, io.allandequeiroz.random.image.background, nb-mind-map-idea, net.seesharpsoft.intellij.plugins.file-preview, net.vektah.codeglance, org.editorconfig.editorconfigjetbrains, org.jetbrains.plugins.hocon, com.codestream.jetbrains-codestream, uk.co.ben-gibson.remote.repository.mapper, zielu.gittoolbox, com.almightyalpaca.intellij.plugins.discord, mobi.hsz.idea.gitignore, com.jetbrains.codeWithMe, name.kropp.intellij.makefile, Docker, org.toml.lang, tv.codely.codelytv-theme, org.exbin.deltahex.intellij, org.asciidoctor.intellij.asciidoc, org.rust.lang, com.github.ArtsiomCh.NestedBracketsColorer, com.mdrobnak.intellij-lalrpop, ru.adelf.idea.dotenv Current Desktop: GNOME
Possible fix?
Change this line to
<option name="AsciiDoc" value="true" />
Or at least add an option to disable it?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)

Top Related StackOverflow Question
Finally found how to disable it(
Settings > Editor > Live templates). While it’s without a doubt useful, my question now is should it really be opt-out of rather than opt-in?Updated description of live template. Update docs in dc7842cc6a6498f621c6290d719dd3490a6c0b7a for Live Templates; also added entry to FAQ.