Aptana Studio 3 - 内容辅助

发布于 2024-12-01 17:51:00 字数 347 浏览 5 评论 0原文

在过去的几天里,这个问题不断出现,它真的开始让我烦恼,因为我花在纠正它上的时间比实际编码的时间还要多。

当我使用 JavaScript (jQuery) 时,定期输入 $ 表示: $('#something').html 当我输入 $ 时,会出现内容辅助框,这很好,但是当我按 ( 我得到以下输出:

$$()

而不是它应该看起来的样子:

$()

有什么想法可以在不禁用 JavaScript 内容辅助的情况下解决这个问题吗?

Over the last few days this issue has been popping up and it's really beginning to annoy me as I spend more time correcting it than actually coding.

periodically when I am working with my JavaScript (jQuery) when I type $ for say:
$('#something').html when I type $ the content assist box comes up, which is fine but when I press ( I get the following output:

$()

instead of how it should look:

$()

Any idea's how to fix this without disabling content assist for JavaScript? Thanks.

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

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

发布评论

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

评论(2

是伱的 2024-12-08 17:51:00

正如评论中所述,我已在 3.0.4 及之前版本中修复了此问题。 Aptana Studio 具有用于自动插入建议代码的绑定。要修复它,请转到 Windows ->偏好->阿普塔纳工作室 ->编辑-> Javascript 并删除建议的默认插入: .( 这将解决您的问题。

正如 Ingo Muschenetz 所说,3.0.5 应该已经解决了这个问题,但我还没有实际尝试该版本以确保它做。

As stated in a comment I have fixed this issue in 3.0.4 and before. Aptana Studio has bindings for auto-inserting the proposed code. To fix it, go to Windows -> preferences -> Aptana Studio -> Editors -> Javascript and delete the insert proposed which is by default: .( and that will fix your issue.

As Ingo Muschenetz states, 3.0.5 is supposed to have fixed this issue, but I have yet to actually try out that version to ensure that it does.

双马尾 2024-12-08 17:51:00

这实际上是一个已知错误,并在 3.0.5 更新中修复:http://preview.appcelerator.com

This is actually a known bug and fixed in the update to 3.0.5: http://preview.appcelerator.com

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