Eclipse 插件或用于编码脚注的其他插件

发布于 2024-09-09 00:22:25 字数 248 浏览 4 评论 0原文

我喜欢曼宁行动系列。吸引人的地方之一是书中的代码列表总是有一个脚注,其中有参考编号的详细解释。请参阅下面的示例:

脚注示例

所以我想知道是否有 Eclipse 插件或在线博客服务允许在源代码中添加脚注?

I love the Manning In Action Series. One of appealing area is that the code listing inside the book always has a footnote where there is a detailed explanation by a reference number. See below the example:

Footnote Example

So I'm wondering if there is an Eclipse plugin or online blogging service that allows footnote taking in the source code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

高跟鞋的旋律 2024-09-16 00:22:25

我认为最接近的是 eclipse“NotePad”插件。它不会直接创建脚注,而是仅获取纯文本注释并将其放入元数据中。您可以在以下位置找到它: http://eclipsenotepad.sourceforge.net/

不过,更好的是使用 Eclipse 的内置索引,并

/* @TODO 1) take note of this notey note */

在重要行附近留下注释。

“但是瞌睡”,你可能会说,“这太疯狂了!我那里没有任何待办事项!”

虽然这是事实,但 Eclipse 会自动索引某些注释标记,例如 @TODO@FIXME,并将它们放入“任务”窗口中。 (“窗口”>“显示视图”>“任务”,如果您的任务当前处于隐藏状态。然后,您可以双击其中任何一个任务来跳转到该行。您还可以在任何资源中使用您想要的任何标签从“编辑”菜单中任意添加任务以及在您的项目中的位置。

I think the closest you'll get is the the eclipse "NotePad" plugin. It doesn't create footnotes directly, but rather just takes plaintext notes and puts them in the metadata. You'll find it at: http://eclipsenotepad.sourceforge.net/

Better, though, is to use eclipse's built-in indexing, and leave yourself

/* @TODO 1) take note of this notey note */

comments near important lines.

"But sleepynate", you may say, "that's madness! I don't have anything TODO there!"

While this is true, eclipse automatically indexes certain comment tags, like @TODO and @FIXME, and puts them in your "Tasks" window. (Window > Show View > Tasks if yours is currently hidden. You can then double-click any one of them to jump to that line. You can also arbitrarily add tasks from the Edit menu with whatever label you want, in any resource and location within your project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文