Reputation: 9295
I am using Aptana studio 3 for web programming. Also I use jQuery for the same purpose. The problem is with the autocomplete in Aptana. For instance I am getting this:
$('div').click(function() {
${0:
\}});
Instead of this:
$('div').click(function() {
});
Maybe there is some way to change it (the same happens with other jquery aoutocomplete options). Thanks!
Upvotes: 4
Views: 1694
Reputation: 1758
I don't know if this will work for you, but you can try it if you're only using JavaScript and jQuery. https://github.com/JockiHendry/aptanastudio-contentassist-patch
Upvotes: 0
Reputation: 7988
Try to use latest vsdoc file and use it for code completion. The latest one could be found here. Also please check following related question.
Upvotes: 0
Reputation: 10469
I had a similar thing happening when trying to type $.ajax...
Aptana would insert Array(...
I discovered I needed to install the jQuery bundle!
Open the commands menu > bundle development > install bundle
In the "select bundle to install" window, choose jQuery and hit OK. That's it! You may need to restart Aptana.
Hope this helps.
Upvotes: 5