Aptana Studio 3 - 内容辅助
在过去的几天里,这个问题不断出现,它真的开始让我烦恼,因为我花在纠正它上的时间比实际编码的时间还要多。
当我使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如评论中所述,我已在 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.
这实际上是一个已知错误,并在 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