如何在JShell中提供javadoc文档? [英] How to make javadoc documentation available in JShell?

查看:183
本文介绍了如何在JShell中提供javadoc文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用JShell来测试一个库,我通过类路径为它提供类,源和javadoc,如下所示:

I am using JShell to test a library for which I made classes, sources, and javadoc available through the class path like so:

jshell --class-path library-javadoc.jar:library-sources.jar:library-jar-with-dependencies.jar

但是,当我收到记录的Java标识符之后的双标签时:

Still, when double tab after a documented Java identifier I receive:

<no documentation found>

JShell如何期待文档?

How does JShell expect the documentation?

推荐答案

似乎是一个未解决的问题: https: //bugs.openjdk.java.net/browse/JDK-8186876

Seems to be a unresolved issue: https://bugs.openjdk.java.net/browse/JDK-8186876

这篇关于如何在JShell中提供javadoc文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆