Eclipse integration issues

Syntax highlighting does not work

symptom Even after doing the Eclipse integration, syntax highlighting does not work.
resolution
  1. Check if all mentioned steps in the Eclipse Configuration FAQ were completed properly.
  2. In Content types section, check that *.sah association should be added for JavaScript Source File and NOT for Text.

Syntax highlighting works but intellisense does not seem to work

symptom After the eclipse integration, syntax highlighting works but intellisense does not seem to work.
resolution
  1. After typing the first few letters of a function, one needs to press Ctrl + Space to bring up template proposals.
  2. Even after pressing Ctrl + Space, if no proposals show up, check if the workspace folder has the apis.sah file.
    If not, get it from Sahi/userdata/scripts/apis.sah.