简体   繁体   English

无法在 Intellij IDEA 中查看 pdf

[英]cannot view pdf in Intellij IDEA

I am having trouble viewing pdf file (.pdf) in IntelliJ IDEA (ULTIMATE 2019.3) from a markdown file (.md) having ![alt text] clause in it, even after PDFViewer (26th Feb 2013) plugin installed.即使安装了 PDFViewer(2013 年 2 月 26 日)插件,我也无法从包含 ![alt text] 子句的降价文件 (.md) 查看 IntelliJ IDEA (ULTIMATE 2019.3) 中的 pdf 文件 (.pdf)。 png is working in there. png 在那里工作。

viewing pdf by selecting it from Finder on macOS Mojave is always fine but fine from IDEA only if the plugin is disabled.通过在 macOS Mojave 上的 Finder 中选择它来查看 pdf 总是没问题,但只有在禁用插件时才可以从 IDEA 中查看。

It seems that the plugin takes extension of '.png' as a default, as viewing png in IDEA is always fine regardless of having '.png' as an extension in the md ![alt text] clause.似乎该插件将 '.png' 的扩展名作为默认值,因为在 IDEA 中查看 png 总是没问题的,无论在 md ![alt text] 子句中将 '.png' 作为扩展名。

any help would be appreciated.任何帮助,将不胜感激。 Art艺术

If you want to open .pdf files from the external application and not by IDE, check that you have *.pdf extension pattern added for Settings (Preferences on macOS) |如果您想从外部应用程序而不是通过 IDE 打开 .pdf 文件,请检查您是否为设置(macOS 上的首选项)添加了*.pdf扩展名模式 | Editor |编辑 | File Types -> Files Opened In Associated Applications :文件类型 ->在相关应用程序中打开的文件 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM