Skip to main content

jQuery support in Aptana Studio 3

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:



  1. Navigate to Commands | Bundle Developement | Install Bundle.

  2. Select jQuery and click OK.

  3. Aptana will clone jQuery ruble from github.

  4. Include appropriate jQuery sdocml in Project Build Path from Project Properties.

  5. Include a VSDoc file for jQuery in your project.


[caption id="attachment_47" align="aligncenter" width="1313"]Aptana fetching jquery ruble from GitHub 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 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 Content Assist now Working[/caption]


Also your project must be one of the following types



  • Web

  • PHP

  • Python

  • Ruby

Comments

Popular posts from this blog

How to split large mp3 files using mp3splt

If you have a  lengthy  or large MP3 file and you want to  split  it into files of smaller size or duration, You can easily do this using mp3splt. Mp3splt   is an utility to split mp3 and ogg vorbis digital audio files without the need of decoding. It can be used to split a file into no of tracks of fixed duration and size or specified  split points. It supports variable bit rate mp3 files, silent detection, splitting with local .XMCD, .CDDB or .CUE file splitpoints or from external servers like   tracktype.org . It copies the original files first and then generates new, smaller files during the process of splitting without altering the original file. It does not do any encoding or decoding so the splitting is very fast and lossless. Steps to follow Navigate to directory where you have downloaded mp3splt { if using portable version } . Run and execute mp3slpt using the command   mp3splt  . Specify the options according to which you wanna split. The basic syntax is   mp3splt [file path]

Open .jps files on a non-3D screen

If you have a Nvidia graphics card in your PC, and if it supports Nvidia 3D Vision, you’ll have some .jps images in your Pictures folder. If you opened them on a non 3d screen you’ll encounter a error as shown below. .jps is extension for JPEG Stereoscopic images. It usually contains one image of double width, representing two images of identical size in cross-eyed side-by-side arrangement. To open .jps files you can simply change the extension to .jpg and open them in your regular Image Viewer like Windows Photo Viewer. You can also drag and drop them in other photo editing tools like IrfanView or XnView without changing the extension. The image you will see, will essentially be like below on a non-3D screen.