Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top