Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

How to get a JavaScript environnement in eclipse for sahi scripts ?

I try to use JSDT in eclipse but as I use Sahi OS I can't operate .sah files as .js files (as I could seemingly in Sahi Pro).
As anyone experienced a such situation and can give me advice ?

I currently try write a script to rename *.sah in *.js (filenames and their occurences in scripts) during time of developpement (and reverse this after development)

Answers

  • sebmacesebmace Members
    Thanks for your answer.
    This is effectively to be done if you want by instance to highlight your JS keywords.
    But then you don't have all JSDT functionalities (JSDT = JavaScript plugin for eclipse) as code completion.
    And if you try to launch the test runner with .js files it doesn't work.
    I've written a Java program to translate my .sah files in .js files during devlopment.
    After dev. all is changed back to .sah It works fine.
  • sebmacesebmace Members
    Thanks for your answer.
    This is effectively to be done if you want by instance to highlight your JS keywords.
    But then you don't have all JSDT functionalities (JSDT = JavaScript plugin for eclipse) as code completion.
    And if you try to launch the test runner with .js files it doesn't work.
    I've written a Java program to translate my .sah files in .js files during devlopment.
    After dev. all is changed back to .sah It works fine.
Sign In or Register to comment.