Welcome to ESRI Blogs

Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

The ArcGIS JavaScript API provides classes to deliver rich mapping functionality to your applications. The Resource Center has a wealth of information about these classes, their properties and methods. When building your applications, you want this information easily accessible from within your IDE. If you've spent a lot of time creating web mapping applications with the ArcGIS JavaScript API, you've probably been missing this for a while now. Yesterday we uploaded to the Code Gallery a plug-in that provides code assistance for the ArcGIS JavaScript API in the Aptana Studio IDE. The plug-in provides the following context-sensitive information:

  • Auto-completion of source code
  • Summary of classes, constructors, properties, methods and globals
  • Parameter hints for constructors and methods

Example of assistance from plug-in 

 Example of assistance from plug-in

We believe the plug-in will greatly enhance your development experience with the ArcGIS JavaScript API. Moving forward, we intend to provide updates to this plug-in whenever a new version of the API is released. We are also working towards providing IntelliSense bits for Visual Studio. As always, we welcome your feedback.

Contributed by Praveen Ponnusamy of the ArcGIS JavaScript API development team

Published Tuesday, March 24, 2009 10:58 AM by sterlingdq

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Code Assist for the ArcGIS JavaScript API: Apatana Studio plug-in

Thank you so much for providing code assist. It makes life so much easier in what has become out JS IDE of first resort.
Tuesday, March 24, 2009 1:48 PM by dylan

# re: Code Assist for the ArcGIS JavaScript API: Apatana Studio plug-in

"you've probably been missing this for a while now" I sure have. I am so thankful that you guys made this happen. Plug-in for Visual Studio is also a great news. Keep up the good work guys!

Tuesday, March 24, 2009 6:41 PM by esri4281

# re: Code Assist for the ArcGIS JavaScript API: Apatana Studio plug-in

What about code assist for gmap and ve extensions?
Wednesday, March 25, 2009 3:10 AM by Alper Dincer

# re: Code Assist for the ArcGIS JavaScript API: Apatana Studio plug-in

Any chance of a NetBeans plug-in?
Wednesday, March 25, 2009 10:32 AM by Ron Bruder

# re: Code Assist for the ArcGIS JavaScript API: Apatana Studio plug-in

great job!
Thursday, March 26, 2009 7:36 PM by pillar

# Javascript API

I was using the following to create gp in html file.

dojo.require("esri.tasks.gp");

       dojo.require("dojo.io.script");

function init() {      

       // Create the geoprocessor

       gp = new esri.tasks.Geoprocessor

               ("http://scarcgisserver/ArcGIS/rest/services/dquery2/GPServer/datquery");

Everything works fine when the html file is opened on the server.

However, when the html file is accessed as a website (i.e. accessed from outside the server), the following error messages persist:

gp is not defined.

Uncaught exception: Could not load cross-domain resources: esri.nls.jsapi_en-gb

Probably, this has things to do with the reference to a server which is not accessible by end user.

Any suggestions.

Sincerely,

David

Friday, March 27, 2009 11:40 AM by sshi

# Help needed for use of geoprocessor in html

I was using the following to create gp in html file.

dojo.require("esri.tasks.gp");

       dojo.require("dojo.io.script");

function init() {      

       // Create the geoprocessor

       gp = new esri.tasks.Geoprocessor

               ("http://scarcgisserver/ArcGIS/rest/services/dquery2/GPServer/datquery");

Everything works fine when the html file is opened on the server.

However, when the html file is accessed as a website (i.e. accessed from outside the server), the following error messages persist:

gp is not defined.

Uncaught exception: Could not load cross-domain resources: esri.nls.jsapi_en-gb

Probably, this has things to do with the reference to a server which is not accessible by end user.

Any suggestions.

Friday, March 27, 2009 11:42 AM by sshi

# Help needed for use of geoprocessor in html

I was using the following to create gp in html file.

dojo.require("esri.tasks.gp");

       dojo.require("dojo.io.script");

function init() {      

       // Create the geoprocessor

       gp = new esri.tasks.Geoprocessor

               ("http://scarcgisserver/ArcGIS/rest/services/dquery2/GPServer/datquery");

Everything works fine when the html file is opened on the server.

However, when the html file is accessed as a website (i.e. accessed from outside the server), the following error messages persist:

gp is not defined.

Uncaught exception: Could not load cross-domain resources: esri.nls.jsapi_en-gb

Probably, this has things to do with the reference to a server which is not accessible by end user.

Any suggestions.

Friday, March 27, 2009 11:42 AM by sshi

# Help needed for use of geoprocessor in html

I was using the following to create gp in html file.

dojo.require("esri.tasks.gp");

       dojo.require("dojo.io.script");

function init() {      

       // Create the geoprocessor

       gp = new esri.tasks.Geoprocessor

               ("http://scarcgisserver/ArcGIS/rest/services/dquery2/GPServer/datquery");

Everything works fine when the html file is opened on the server.

However, when the html file is accessed as a website (i.e. accessed from outside the server), the following error messages persist:

gp is not defined.

Uncaught exception: Could not load cross-domain resources: esri.nls.jsapi_en-gb

Probably, this has things to do with the reference to a server which is not accessible by end user.

Any suggestions.

Friday, March 27, 2009 11:42 AM by sshi

# Help needed for use of geoprocessor in html

I was using the following to create gp in html file.

dojo.require("esri.tasks.gp");

       dojo.require("dojo.io.script");

function init() {      

       // Create the geoprocessor

       gp = new esri.tasks.Geoprocessor

               ("http://scarcgisserver/ArcGIS/rest/services/dquery2/GPServer/datquery");

Everything works fine when the html file is opened on the server.

However, when the html file is accessed as a website (i.e. accessed from outside the server), the following error messages persist:

gp is not defined.

Uncaught exception: Could not load cross-domain resources: esri.nls.jsapi_en-gb

Probably, this has things to do with the reference to a server which is not accessible by end user.

Any suggestions.

Friday, March 27, 2009 11:42 AM by sshi

# re: Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

@Alper Dincer: We don't have any plans for gmaps and ve extensions

@Ron Bruder: We don't have any plans for NetBeans plug-in either

@sshi: please post your question in the forum: http://forums.esri.com/forums.asp?c=158&s=2396#2396 It has better chance of being answered there.

Monday, March 30, 2009 6:32 PM by praveenp

# re: Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

I'm using Aptana Studio version 1.2.6 and just downloaded this plug-in. So far I have found no problems but I haven't tested writing anything outside of JavaScript API apps yet. In the readMe, it states: "his plugin requires Aptana Studio 1.2.4 (Standalone or Eclipse plugin). You can get it from .." I think it works with the newer release versions just as well.
Wednesday, April 15, 2009 11:59 AM by yunush

# re: Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

@yunush: We'll update the readme file.

Wednesday, April 15, 2009 12:28 PM by prav5100

# re: Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

You should do the same blog for GeoProcessing to let users know Aptana with the PyDev plugin can make gp scripting a lot easier too.
Thursday, April 23, 2009 6:49 AM by Brendan Carroll

# re: Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

Is there a plug-in for visual studio like the attached ? that would help so much and your help is much appreciated.
Wednesday, May 06, 2009 5:09 AM by Mohamed

Leave a Comment

(required) 
required 
(required)