为什么内容/代码辅助不能在 jsp 编辑器中的 eclipse helios 中的 html 标签内工作?

发布于 2024-10-10 18:36:06 字数 293 浏览 0 评论 0原文

我花了一段时间才找出问题出现的地方,但我已将范围缩小到:

如果我的 jsp 中有一个 html 标记,如下所示: ">

如果 jsp 表达式 Defs.NAME 位于 html 标记内(即在 <> 之间),则内容辅助将不起作用

如果我这样做: <%=Defs.NAME%> 那么内容辅助就可以正常工作。它只需位于 html 括号之外即可。

当我说它不起作用时,我的意思是该框没有提出任何建议。而“工作正常”意味着它得到了范围内的所有建议。

在木卫三上工作得很好。

It took me a while to isolate where the problem comes up but I've narrowed it down to this:

If I have an html tag in my jsp like so:
">

The content assist won't work for the jsp expression Defs.NAME if it's inside an html tag (ie between <>)

If I do this:
<%=Defs.NAME%>
then the content assist works fine. It just has to be outside the html brackets.

When I say it doesn't work, I mean the box comes up with no suggestions. Whereas 'works fine' means it gets all the suggestions in scope.

Worked fine in ganymede.

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

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

发布评论

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

评论(1

淡淡的优雅 2024-10-17 18:36:06

事实证明,这是 helios 中的一个错误,已在 sr2 中修复。

https://bugs.eclipse.org/bugs/show_bug.cgi?id=333784

Turns out this is a bug in helios that's fixed in sr2.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=333784

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