简体   繁体   English

无法从IntelliJ Idea打开网页

[英]Unable to open a Webpage from IntelliJ Idea

I have inserted some Url in a Javadoc comments in the IntelliJ Idea like this 我已经在IntelliJ Idea中的Javadoc注释中插入了一些Url

 /**
 * @see <a href="http://stackoverflow.com/q/10173996/932307</a>
 * @see <a href="http://stackoverflow.com/a/9118564/932307"</a>
 */

and I downloaded the Hyperlink plugin. 我下载了Hyperlink插件。 The idea is to open the webpage in default browser when Ctrl+click on the link. 想法是在Ctrl +单击链接时在默认浏览器中打开网页。

When I press Ctrl and hover the mouse over the url the mouse pointer changes but when I click on the link a message comes "cannot find deceleration to go to" and url is not opened in the default browser. 当我按下Ctrl并将鼠标悬停在url上时,鼠标指针会发生变化,但是当我点击链接时,会出现一条消息“无法找到减速度”,并且默认浏览​​器中未打开url。

How can I make this work? 我怎样才能做到这一点?

[Edit1] [EDIT1]

I changed the tag to 我将标签更改为

/**
 * @see <a href="http://stackoverflow.com/q/10173996/932307">http://stackoverflow.com/q/10173996/932307</a>
 * @see <a href="http://stackoverflow.com/a/9118564/932307">http://stackoverflow.com/a/9118564/932307</a>
 */

on clicking it still gives "cannot find deceleration to go to" 点击它仍然给出“找不到减速去”

Hyperlink plug-in may be not compatible with the latest IDEA version, contact the plug-in vendor for help. Hyperlink插件可能与最新的IDEA版本不兼容,请联系插件供应商以获取帮助。

Please note that IntelliJ IDEA doesn't support it out of the box yet, vote for the following feature request: 请注意,IntelliJ IDEA尚不支持开箱即用,请投票支持以下功能请求:

Please note that your opening a tags are missing the '>' at the end, and that there is not text to display between start and end tag. 请注意,您打开标签时最后没有“>”,并且在开始和结束标记之间没有要显示的文本。

Having corrected that, the links work fine in the generated html. 更正后,链接在生成的html中正常工作。 In intelliJ itself they don't seem to work. 在智能本身,它们似乎不起作用。 Yet it does work for references to Objects and methods. 但它确实适用于对象和方法的引用。

here : 这里 :

/**
 * <a href="http://stackoverflow.com/q/10173996/932307">http://stackoverflow.com/q/10173996/932307</a>
 * @see java.lang.String#compareTo(Object) 
 */

ctrl click works fine for clicking the packages, class or method. 单击ctrl单击可以单击包,类或方法。 The stackoverflow link does not work from source code though. 但是,stackoverflow链接在源代码中不起作用。

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

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