Eclipse integration issues
Syntax highlighting does not work
symptom
Even after doing the Eclipse integration, syntax highlighting does not work.
resolution
- Check if all mentioned steps in the Eclipse Configuration FAQ were completed properly.
-
In
Content types
section, check that*.sah
association should be added forJavaScript Source File
and NOT forText
.
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
-
After typing the first few letters of a function, one needs to press
Ctrl + Space
to bring up template proposals. -
Even after pressing
Ctrl + Space
, if no proposals show up, check if the workspace folder has the apis.sah file.
If not, get it fromSahi/userdata/scripts/apis.sah
.