title: Code Assist Doesn't Work for Aptana Ver 3 Plug-in to Eclipse Ver 3
body: <p><strong>UPDATE ON 9/5/2011:  PROBLEM SOLVED -- See details at bottom</strong>
  <HR>
  I am having trouble with Code Assist in Aptana Ver 3.0.4. plugin to Eclipse 3.7.0.</p>
  
  <p>I have installed the NetSuite plug-in but I do NOT get any suggestions/proposals for code when I press CTRL+SPACE. There are many NetSuite functions that start with "nlapi" yet Code Assist doesn't offer any help.</p>
  
  <p>This is for use with the Javascript editor.</p>
  
  <p>This worked with Aptana Ver 2. How do I get it to work in Ver 3?</p>
  
  <p>UPDATE:  I have added the NetSuite SuiteScript_API.js file to my project, but I still do NOT get any code completion.  I believe the file conforms to the ScriptDoc spec, so it should work.</p>
  
  <p>Here's a sample from this file:</p>
  
  <pre><code>/**
   * Return a new record using values from an existing record.
   * @governance 10 units for transactions, 2 for custom records, 4 for all other records
   *
   * @param {string}  type The record type name.
   * @param {int}     id The internal ID for the record.
   * @param {Object}  initializeValues Contains an array of name/value pairs of defaults to be used during record initialization.
   * @return {nlobjRecord}  Returns an nlobjRecord object of a copied record.
   *
   * @since   2007.0
   */
  function nlapiCopyRecord(type, id, initializeValues) { ; }
  </code></pre>
  
  <p><HR>
  <strong>UPDATE:  PROBLEM SOLVED!</strong></p>
  
  <p>Thanks to a colleague of mine, I have figured out how to make Code Assist work/use the NetSuite  SuiteScirpt API file to provide code completion.</p>
  
  <blockquote>
    <p>Code Completion works differently in the new version. Right-click on your project and choose Properties, then go to Project Natures and make it a Web project. </p>
    
    <p>Then, absolutely all .js files in your project will be indexed for auto-completion, including the SuiteScript API file if it's in your project. </p>
    
    <p>We have a large number of .js files, so I'd rather be able to select which file to reference for auto-complete. Version 3 doesn't currently allow that, unlike Version 2</p>
  </blockquote>