vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
813 stars 129 forks source link

Hard to copy text from preview #806

Open GlenKPeterson opened 4 years ago

GlenKPeterson commented 4 years ago

Thank you for your plugin. I like it so much that I've converted most of my system admin notes (formerly in bash files) to Markdown which is much easier to read, contains links, etc.

The downside of keeping little bits of text in Markdown to copy to the shell is that I've had to train myself to do all my copying/highlighting in the left-hand side (the markdown side). I'd rather do that in the right-hand Preview side. But when I highlight text in the Preview side, it does not become the Primary Selection (on Linux/Unix/X-Windows), so I cannot instantly paste it with the middle mouse button. It also does not provide a "copy" menu when I right-click. It does honor CTRL-C, which is good, but I'd make fewer mistakes and other people would find it easier to use if it supported the other two common ways of copying text from the Preview window.

Primary selection is especially useful since I don't have to remember that the terminal window requires Ctrl-SHIFT-V to paste. Windows/OS-X users may not care about this, but I do it all the time. Immediately after typing this enhancement request, I tried it again by accident.

Markdown 2.1.0 IntelliJ IDEA 2019.3.1 (Ultimate Edition) Build #IU-193.5662.53, built on December 18, 2019 Licensed to me Runtime version: 11.0.5+10-b520.17 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-72-generic GC: ParNew, ConcurrentMarkSweep Memory: 1898M Cores: 4 Registry: Non-Bundled Plugins: FindBugs-IDEA, HexView, VisualVMLauncher, com.intellij.apacheConfig, com.intellij.ideolog, com.jetbrains.jbre.bintray.downloader, com.jetbrains.php, com.jetbrains.plugins.ini4idea, org.asciidoctor.intellij.asciidoc, org.avaje.ebean11.enhancer, ru.artyushov

vsch commented 4 years ago

@GlenKPeterson, I have not tried it in Linux but JavaFX preview browser does show Copy on right click but the CTRL-C action does not work in preview.

Can you please post a screenshot of your preview so I can see what browser is used.