Closed snowe2010 closed 1 year ago
Thanks for letting me know and sorry that I missed this. As a workaround, please download the x86 file. In the notification area of IntelliJ, there should be a prompt where you can pick the manually downloaded file.
I'm about to prepare an update there this manual step is no longer necessary. Thanks!
There is now a pre-release 0.38.15 which includes this fix. I'd be happy if you could give it a try. Thanks!
The pre-release of the plugin is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.
Seems to work if I use the image button to insert the image, but not if I copy/paste an image into the doc. Not sure if that worked before though 🤔
Can I use the system's pandoc if I've already installed it via Homebrew?
@snowe2010 - Pandoc is only used when using "Paste Formatted Text" in the toolbar, or when converting AsciiDoc content to DOCX.
Pasting of images with the "Past Image..." icon is a different functionality. I'll have another look that the shortcut of pasting a simple image doesn't trigger Pandoc.
So before I release this to the public: Does the download of Pandoc now work?
@pOH7 - no, the plugin will always download its own version, so that it is compatible with the CLI options and the functionality. So if you download the preview version listed in the previous comment, does it work for you?
@pOH7 / @snowe2010 - there is now pre-release 0.38.16 which fixes the functionality to paste an image with a keyboard shortcut. Please let me know if it works for you. If it works for you, I'll roll it out to the public. Thanks!
The pre-release of the plugin is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.
@ahus1 Since pre-release versions 0.38.15 and 0.38.16, I have noticed that when I copy text from outside IntelliJ IDEA and paste it into the program, the paste action does not work and it causes the program take several seconds to response to every click. This makes IntelliJ IDEA unusable, and I have had to downgrade the plugin to version 0.38.12. As version 0.38.13 asks to download pandoc from a 404 address, which is another problem.
@pOH7 - at least the download problem should be gone in 0.38.15 and 0.38.16. Once you upgrade the AsciiDoc plugin version, a restart of the IDE is required to make the changes effective.
About the pasting: There are multiple ways to paste contents and one configuration that might impact it:
I hope this will allow me to reproduce the problem.
@ahus1 Thank you for your suggestions. After some testing, I found out that the problem with pasting was due to the "Enable conversion of clipboard text via Pandoc" option being enabled. Once I disabled this option, the issue was resolved.
To answer your other questions, I was copying content from both a browser and a Word processor and trying to paste it using various methods (keyboard shortcut, menu entry, and toolbar icon "Paste formatted text"). None of these methods worked until I used the "Paste as Plain Text" option.
Thank you for your help in resolving this issue.
The option is a preview option and I tried it myself for some time. Besides calling Pandoc on paste, I pastes AsciiDoc content when I wanted plain text more often than I actually want AsciIDoc content.
Let's see, maybe the option in the settings will eventually vanish.
Closing it, as I'm releasing 0.38.16 to the public today. Thank you for everyone providing input.
Hey sorry for the delayed response! I was on a beach 😀 . Sounds like you made some awesome improvements! I'll check them out! Thank you so much for the awesome feature!
Observed vs. expected behavior
Trying to paste an image into an adoc file.
Tried disconnecting from my wifi, connecting to cellular connection.
Looking at the Pandoc releases it seems that they changed the naming convention due to adding support for arm. https://github.com/jgm/pandoc/releases/
Steps to reproduce
Paste an image in?
Environment
Plugin Version: 0.38.13
IntelliJ Details: