When I’m using jQuery in no conflict mode I still like the convenience of the $ object so I tend to structure my jQuery like:
(function($) {
//Now I use $ instead of jQuery
$(document).ready(function(){
//some code in here etc
});
})(jQuery)
But this seems to break code assist, it works for the jQuery object but not the $ object.
Is there any way to configure an Aptana project to handle this?
This works – but is a bit ugly:
Create a second dummy project based on jQuery with the Aptana wizard, while the second project is open, the first will show CodeAssist.
Then add some ScriptDoc as follows to get around the noConflict issue
There must be something I don’t understand about ScriptDoc integration and Aptana – any other suggestions?