I use Aptana Studio primarily for web development. It has great support for languages like PHP and JavaScript.
But the problem is that I mostly use jQuery rather than code in JavaScript and Aptana does not have good support / content assist from beginning.
So we need to install ruble for jQuery library.
Ruble is short for Ruby bundle and is a runtime environment that allows the extensibility of Aptana Studio's editors by using Ruby.
To install the jQuery bundle follow the following steps:
- Navigate to Commands | Bundle Developement | Install Bundle.
- Select jQuery and click OK.
- Aptana will clone jQuery ruble from github.
- Include appropriate jQuery sdocml in Project Build Path from Project Properties.
- Include a VSDoc file for jQuery in your project.
[caption id="attachment_47" align="aligncenter" width="1313"] Aptana fetching jquery ruble from GitHub[/caption]
You must include appropriate version VSDoc for correct Content Assist.
[caption id="attachment_49" align="aligncenter" width="881"] Include latest jquery ruble for each project build path[/caption]
Check if content Assist is working or not buy triggering Content Assist by using Ctrl + Space keys while placing cursor on some valid jQuery code.
[caption id="attachment_48" align="aligncenter" width="897"] Content Assist now Working[/caption]
Also your project must be one of the following types
- Web
- PHP
- Python
- Ruby
Comments
Post a Comment