intellij-pdf-viewer icon indicating copy to clipboard operation
intellij-pdf-viewer copied to clipboard

Code with me support

Open justanhduc opened this issue 2 years ago • 6 comments

Hi @FirstTimeInForever. Thanks a lot for this amazing plugin. Currently, I wanna use Pycharm to replace Overleaf when collaborating on paper. But the problem is PDF viewer currently does not work in Intellij Code with me editor yet, so I cannot see the PDF in the client side. Do you have any timeline to support this functionality?

justanhduc avatar May 26 '22 08:05 justanhduc

I can confirm the issue. Installing the pdf viewer in the client did not help.

image

PHPirates avatar May 04 '23 17:05 PHPirates

@PHPirates very strange issue.

When the Code with me client open the pdf, it cannot show. Then install the plugin (latest build), the pdf can be open. After, it cannot be open again.

The url is cwm:// link, it's supported in virtual file system.

liudongmiao avatar Sep 26 '24 04:09 liudongmiao

I can still reproduce the issue as well, but not sure how to fix it. Markdown preview works fine so it may not be a jcef issue.

PHPirates avatar Sep 28 '24 11:09 PHPirates

@PHPirates please report to idea client (code with me).

  1. if code with me host install the pdf plugin, and client don't install Then, opened pdf files can be refreshed after a fresh install pdf plugin on client, the virtual file is cwm://xxx

  2. if code with me host don't install the pdf plugin, client cannot open pdf files

  3. if code with me host and client both installed the pdf plugin, client cannot open And the accept method is never called by idea client

liudongmiao avatar Sep 29 '24 11:09 liudongmiao

upstream bug: https://youtrack.jetbrains.com/issue/CWM-1199

liudongmiao avatar Sep 29 '24 16:09 liudongmiao

similar: https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/994

liudongmiao avatar Sep 29 '24 16:09 liudongmiao

@PHPirates After decompiled markdown plugin in code with me client, now we can support code with me too.

liudongmiao avatar Sep 30 '24 04:09 liudongmiao

However, IMO, this shouldn't be labed as bug, enhancement should be a better label.

liudongmiao avatar Sep 30 '24 04:09 liudongmiao